Tools covers builds, package management, editors, documentation and JavaScript compilation.
W13.2026 · 23–29 Mar/Tools
Features
Dune 3.23: the diff action now accepts directory arguments for comparing entire directory trees. Requires (lang dune 3.23). Merged in #13932.
Dune 3.23:dune promote foo now promotes all descendants of foo/; the previous single-file behaviour is available via --file. Merged in #13876.
Dune 3.23: sandboxed actions can emit .corrected files, enabling promotions without 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.
opam (Nushell): open PR adds opam env JSON output and shell-config hooks for Nushell. Addresses quoting, config paths, and parse-time source evaluation. #6873
js_of_ocaml (Wasm dynlink): open PR adds dynlink and toplevel support for the Wasm backend. #2187
Compatibility
Dune main: CI now builds against OCaml 5.6 trunk, resolving a String.drop_prefix signature mismatch. Merged in #13950.
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:...} alongside a (package ...) directive. Merged in #13833.
Dune 3.22.1:dune runtest crashes with an internal error when no default context is configured; regression from 3.22.0. Fix in progress via #13930.
ocaml-lsp: reverts the signature_help line-break formatting from #1580; editors render the LSP label field as a single line. Open PR #1598.
opam (file:// symlinks): open PR replaces lstat with stat in the repository diff path so opam update no longer rejects file:// repos containing symlinks. Fixes #6410. #6874