Tools covers builds, package management, editors, documentation and JavaScript compilation.
W13.2026 · 23–29 Mar/ocaml/dune
Features
Dune 3.23: the diff action now accepts directory arguments, enabling comparison of entire directory trees. Requires (lang dune 3.23); gated by #13932.
Dune 3.23:dune promote foo now promotes all descendants of foo/, not just the single file. The previous single-file behaviour is available via --file. Merged in #13876.
Dune 3.23: sandboxed actions can now emit .corrected files, enabling promotions without declaring explicit targets. Merged in #13813.
Dune 3.23:dune build prints a hint when the target directory is excluded by a (dirs ...) stanza, showing the stanza location. Merged in #13919.
Fixes
Dune 3.22.1: restores bootstrap on Windows 7 by falling back to GetSystemTime when GetSystemTimePreciseAsFileTime is unavailable. Backported via #13905.
Dune 3.23: fixes a spurious dependency cycle when a library uses enabled_if with %{read:...} and a (package ...) directive is present. Merged in #13833.
Dune 3.22.1:dune runtest crashes with an internal error when no default context is configured. Fix in progress via #13930; regression from 3.22.0.
Compatibility and Releases
Dune main: CI now builds against OCaml 5.6 trunk, resolving a String.drop_prefix signature mismatch introduced by the stdlib. Merged in #13950.