Features
-
Dune
format-dune-file: now uses thelang duneversion declared in the enclosing project when formatting, rather than always applying the latest syntax. Merged in #11865. -
Dune
@ocaml-indexalias: now resolves Melange stanzas and their compiler paths, sodune build @ocaml-indexcovers Melange targets. Merged in #12246. -
Cram timeout messages: the timed-out shell command is now included in the error output, making it easier to identify which step hung. Merged in #12307.
Compatibility and Releases
Fixes
-
Dune 3.20.1: fixes
runtest-jsincorrectly depending onbyte, corrects path interpretation indune runtestfrom a subdirectory, and reverts the 3.20.0 s-expression formatting change that filled long lists horizontally. Released 2025-08-25. -
Dune 3.20.0 jsoo regression: building an executable with
(modules_without_implementation …)and(modes js)no longer fails with "No rule found". Fixed in #12320, backported to 3.20.2. -
Dune Cygwin bootstrap: the bootstrap now uses the portable Blake3 implementation on Cygwin, resolving unresolved-symbol link errors. A CI job for Cygwin was added. Merged in #12325.
-
Dune cram tests: the temporary
.cram.<name>.tfile is no longer visible in the test directory during execution, fixing spuriousls -afailures. Merged in #12329. -
Dune
dune pkgrebuilds: hash and digest computation for package rules no longer callsPoly.hashonSet/Mapvalues or marshals maps, eliminating spurious rebuilds caused by non-structural equality. Merged in #12310 and #12319.