Thicket thicket
ocaml
REPOS 9

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

W04.2026 · 19–25 JanTools

Releases

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

Fixes

Dune select closure: 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.

Dune pkg builds: missing O_CLOEXEC on redirect files caused "Too many open files" crashes during dune pkg builds. Fixed in #13385.

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

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

js_of_ocaml JS parser: merges a parser modernization that fixes parsing of arrow functions in for-loop initializers. #2143

Features

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

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

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

js_of_ocaml JS parser: merges support for import defer * as x from u in the JS parser. #2147

Compatibility

opam 0install solver: the builtin-0install solver now resolves both i686 and x86_64 mingw variants where previously only x86_64 was installed; setting OPAMEXTERNALSOLVER=builtin-mccs+glpk avoids the duplicate. Issue #6843 remains open.