Features
-
Dune
DUNE_ROOT: New environment variable sets the project root, equivalent to--root. Takes precedence over directory traversal;--rootstill overrides it. Merged in #12438. -
Dune RPC formatting:
dune fmtanddune rpc fmtcan now run while adune build -wwatch server is active, enabling editor-driven formatting without stopping the build. Merged in #12064, closing #11958. -
Dune OxCaml parameterized libraries: The
implementsfield now accepts a parameter, allowing a library to implement a parameterized library. Requires the OxCaml compiler; the(parameters ...)library stanza is still in progress in #12336. Merged in #12392. -
Dune Melange
melange.runtime_deps: Public libraries can now declare directory targets inmelange.runtime_deps, supporting bundled asset directories. Merged in #12297. -
Dune Docker images: A GitHub Action publishes a minimal Dune Docker image to the GitHub container registry on each release, providing a base for
dune pkgdeployments without opam. Merged in #12252.
Fixes
-
Dune
(pkg disabled): The option now actually disables package management features rather than only changingdune pkg enabledoutput. Previously undocumented and non-functional; now documented. Merged in #12444. -
Dune RPC exit code:
dune buildnow returns a non-zero exit code when the RPC connection is terminated unexpectedly, instead of returning 0. Merged in #12446, fixing #12445.
Compatibility and Releases
-
Dune 3.20.2: Release tracker closed 2025-09-11 with changelog merged in #12441. Backports include fixes from #12325 and #12324.
-
Dune package management on Windows: Multiple issues opened this week document failures: shell scripts cannot execute as binaries (#12432),
menhir.exeis not found in the build tree (#12433),ocamlfind.installomits.exeextensions (#12430), and compiler source fetching fails on directory targets (#12429). Tracked under #11161.