Thicket thicket
ocaml
REPOS 9

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

W35.2025 · 25–31 Augocaml/dune

Features

  • Dune format-dune-file: now uses the lang dune version declared in the enclosing project when formatting, rather than always applying the latest syntax. Merged in #11865.

  • Dune @ocaml-index alias: now resolves Melange stanzas and their compiler paths, so dune build @ocaml-index covers 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

  • Dune 3.20.1 was released on 2025-08-25. The 3.20.2 release tracker is open with backports collected; the dune exec --watch fix for long-running processes (#12360) is deferred to 3.20.3. See #12328.

Fixes

  • Dune 3.20.1: fixes runtest-js incorrectly depending on byte, corrects path interpretation in dune runtest from 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>.t file is no longer visible in the test directory during execution, fixing spurious ls -a failures. Merged in #12329.

  • Dune dune pkg rebuilds: hash and digest computation for package rules no longer calls Poly.hash on Set/Map values or marshals maps, eliminating spurious rebuilds caused by non-structural equality. Merged in #12310 and #12319.