Thicket thicket
ocaml
REPOS 9

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

W49.2025 · 1–7 DecTools

Features

Dune 3.21: allows dune variables such as %{workspace_root} in (promote (into ...)) paths, previously rejected. (#12832)

Dune: dune init proj now adds (libraries <project>) to the generated test stanza so tests compile against the library by default. (#12791)

js_of_ocaml runtime: merged PR adds direct access to values exported in the runtime. (#2086)

opam: open PR would set XDG_DATA_DIRS and FPATH in opam env so shell completion scripts from installed packages are discovered. (#6812)

Dune (proposal): a new (files) stanza would let users exclude build artifacts from source-tree scanning. (#12879)

Releases

Dune 3.21.0~alpha0: alpha release tagged 2025-12-05. (release)

Fixes

opam: merged fix skips installing a local AppArmor profile when BINDIR=/usr/bin, avoiding conflicts with the distribution's built-in profile. (#6823)

Dune pkg: memoizing per-context values cuts dune build time from ~5.4 s to ~1.1 s on a representative project. (#12848)

Dune: non-ASCII characters in (lang dune ...) or (using ...) version strings now produce a precise single-caret error. (#12844, #12869)

Merlin: merged fix corrects Mocaml.with_printer not updating replacement_printer_doc, fixing mixed OCaml/Reason type rendering in ocaml-lsp hover. (#2010)

Compatibility

js_of_ocaml: the new number type (from #1650) breaks compilation of existing code; no migration switch exists yet. (#2136)

Dune pkg (proposal): unifies all caches under DUNE_CACHE_ROOT, changing default locations for git-repo, toolchain, and rev-store caches. Breaking for existing setups. (#12858)