Thicket thicket
ocaml
REPOS 1

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

W18.2026 · 27 Apr – 3 Mayocaml/dune

Features

Dune 3.24 install layouts: For (lang dune >= 3.24), (deps (package ...)) restricts PATH/OCAMLPATH to declared dependencies only. Previously all workspace packages were visible to every action. (#14373, open)

Dune pkg relocatable compiler: PR makes the relocatable OCaml compiler the default for dune pkg, enabling full cache restoration of the compiler across builds. Fixes occasional cache misses. (#14357, open)

Per-module -I filtering: Narrows -I/-H flags per module to match the dependency filter, reducing cache-key bloat. Adding an unreferenced library to (libraries ...) no longer invalidates unrelated modules. (#14186, open)

Rocq (stdlib ...) rename: Proposes renaming the misleading (stdlib yes/no) field to (corelib ...) or (no_corelib). The current name conflates Rocq's Corelib prefix with the Stdlib library. (#14358, open)

Fixes

dune fmt / dune promotion apply: Rejects --disable-promotion with a clear error, since these commands exist specifically to perform promotion. Also fires when DUNE_DISABLE_PROMOTION is set. (#14379, open)

Promote dir-to-file: Merged fix for "Is a directory" errors when a promoted target changes from directory to file between builds. Cleans the staging path before rename. (#14371)

Compatibility and Releases

Dune 3.23.0~alpha2: Released 2026-04-30. User rules are sandboxed by default; .opam files require explicit dune promote. Minimum OCaml to build Dune bumped from 4.08 to 4.14. (release)

Cross-compilation .install paths: Dune 3.22.2 generates .install files with ../ paths that opam 2.5.1 rejects. Affects opam-cross-windows and similar cross-compilation setups. (#14393, open)