Features
-
Dune OxCaml parameterized libraries: Merged detection of the
parameterised_modulescompiler config flag and exposure of theoxconfig parameter. The feature requires OxCaml; standard OCaml is unaffected. (#12393, #12236) -
Dune RPC formatting: Merged support for formatting dune files via RPC while the watch server is running. Enables editor integrations to format without stopping the build. (#12064)
-
Dune TUI: Open PR adds horizontal mouse scrolling to the scrollbox widget, making large messages easier to view. Tested with a trackpad. (#12386)
Fixes
-
Dune pkg compiler cache: Since 3.20.0,
dune buildrebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: avoiddune clean; userm -rf _build/defaultinstead. (#12390) -
Dune pkg lock:
dune pkg lockcan select packages requiring a newer dune language version than the running dune, causing build failures. Reported withdune-configurator.3.20.1under dune 3.19.1. (#12381)
Compatibility and Releases
-
Dune 3.20.2: Released with fixes for jsoo separate compilation with
modules_without_implementation,runtest-jsdependency resolution, empty.cram.test.tdirectory cleanup, and Cygwin bootstrap. (release) -
Dune pkg lock directories: Open WIP PR copies lock directories into the build folder before package rules. Prerequisite for moving lock dirs to
_buildby default, reducing worktree pollution. (#12394) -
Dune documentation: Merged an "edit on GitHub" button on all documentation pages, linking to the main branch. Lowers the barrier for community doc contributions. (#12398)