Thicket thicket
ocaml
REPOS 1

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

W08.2026 · 16–22 Febocaml/dune

Features

Dune OxCaml: merged support for js_of_ocaml with parameterised libraries, enabling separate compilation for OxCaml projects. Closes #12564 via #13414.

Dune pkg: open proposal to detect relocatable OCaml compilers (5.5 or the relocatable-compiler meta-package) and build them as regular packages, eliminating toolchain rebuilds. See #13321 and tracking issue #13229.

Dune pkg: three open issues split from #11868 to unify portable lock directory solving into a single SAT pass, default the platform set to the current OS, and enforce cross-platform version consistency (#13645, #13646, #13647).

Compatibility and Releases

Dune 3.21.1: release branch merged to main on 2026-02-19 via #13627. A NetBSD build fix was found to be missing from the vendored LMDB; the changelog is being amended (#13076).

Fixes

Dune C stubs: build rules now declare dependencies on *.h files in the OCaml runtime directory, so switching compilers under the same prefix triggers C stub recompilation. Merged in #13652, fixing #13651.

Dune Rocq: multiple rocq.extraction stanzas in one directory no longer produce a "multiple rules" error. Merged in #13531, fixing #8042.

Dune pkg: the := and =: operators in withenv now add trailing/leading separators when the variable is unset, matching opam's documented semantics. Merged in #13634, fixing #10440.

Dune jsoo: library archive rules are generated on demand per requested configuration instead of upfront for all variants, reducing rule volume and enabling more incremental builds. Merged in #13611.