Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W04.2026 · 19–25 Jan

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune 3.21.0: released this week; the release tracker closed on 2026-01-21.

Dune pkg git pinning: dune pkg lock now records the resolved commit hash for git+ URLs in the lock file, making builds reproducible without re-fetching. Merged in #13297, closing #13110.

Dune pkg :with-test option: a new option skips building dependencies declared with :with-test, reducing build time for projects that do not need test-only packages. Merged in #13298.

OxCaml workspace and .cms support: two open PRs add (using oxcaml 0.1) to dune-workspace files (#13395) and compiler flags plus dependency tracking for OxCaml shape files (#13397).

Emacs dune-find-dominating: new command in dune.el jumps to the nearest enclosing dune file; supports xref-go-back. Merged in #12696.

Fixes

(select ..) closure evaluation: optional virtual-library implementations were incorrectly marked unavailable when a select branch referenced a missing library, breaking all MirageOS unikernels with lwt 6.0. Fixed in #13389 and #13406.

File-descriptor leak in package builds: missing O_CLOEXEC on redirect files caused "Too many open files" crashes during dune pkg builds. Fixed in #13385.

Windows PATH separator: the dune folder was appended with : instead of ; on Windows, breaking package builds that invoke tools from the dune directory. Fixed in #13405.

ocaml/merlin

Permalink

Features

  • Merlin locate-types protocol: Merged change adds an Other variant so editors can render type variables (e.g. 'a in 'a t -> 'a) that are not jump-to-definition targets. Editors must handle the new variant. #2025
  • Merlin enclosing command: Open RFC proposes a -stop flag to request the smallest enclosing expression around a selection rather than a single point. Intended to improve locate-types and annotate-type for multi-token expressions. #2029

Fixes

  • Merlin record-field completion: Merged fix includes for_completion in the reader-cache fingerprint, restoring field-name candidates after a dot that were previously suppressed by a stale cache hit. #2028
  • Merlin locate-types: Merged change strips the option wrapper from optional parameters, so ?foo:int reports as int rather than int option. #2027

Compatibility and Releases

  • Merlin OCaml 5.5 support: Tracking issue opened for OCaml 5.5 compatibility; several large PRs are expected to land before the first alpha. #2024

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1584, open): proposes a custom LSP request for merlin-locate-types, returning a field set as a compact representation of reachable types. Link

  • ocaml-lsp (PR #1583, open): proposes a custom LSP request for destructuring, replacing the code-action approach for triggering the command in ocaml-eglot. Link

ocaml/opam

Permalink

Compatibility and Releases

  • opam (0install solver): the builtin-0install solver resolves both i686 and x86_64 mingw variants (e.g. conf-mingw-w64-pcre2-i686 alongside conf-mingw-w64-pcre2-x86_64) where previously only x86_64 was installed. Setting OPAMEXTERNALSOLVER=builtin-mccs+glpk avoids the duplicate resolution. Issue #6843 remains open.

Features

  • opam documentation: PR #6846 (raphael-proust) proposes documenting raw-field syntax more prominently in the opam manual. The documentation change is approved; a separate test PR for opam list output format is requested before merge. Still open.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: merges support for import defer * as x from u in the JS parser. (#2147)
  • js_of_ocaml: merges handling of contextual keywords yield and await via virtual tokens, avoiding a 3× parser size increase. (#2148)
  • js_of_ocaml (WASM): proposes bigstring optimizations reducing WASM runtime from 20 s to 13 s (Chromium) and 67 s to 18 s (Firefox). (#2144)
  • js_of_ocaml: proposes Oxcaml backend support. (#2105)
  • js_of_ocaml (WASM): proposes a WASI runtime via wasm_of_ocaml --enable wasi, executable with Wizard or wasmtime. (#1831)

Fixes

  • js_of_ocaml: merges a JS parser modernization that fixes parsing of arrow functions in for-loop initializers. (#2143, #2139)
  • js_of_ocaml: opens a further JS parser improvement. (#2149)
  • js_of_ocaml: merges a fix for a typo in the LGPL exception text (Clause 3 → Clause 2). (#2145, #2137)
4 repositories · no changes