Thicket thicket
ocaml
REPOS 1

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

W36.2025 · 1–7 Sepocaml/dune

Features

  • Dune OxCaml parameterized libraries: Merged detection of the parameterised_modules compiler config flag and exposure of the ox config 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 build rebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: avoid dune clean; use rm -rf _build/default instead. (#12390)

  • Dune pkg lock: dune pkg lock can select packages requiring a newer dune language version than the running dune, causing build failures. Reported with dune-configurator.3.20.1 under dune 3.19.1. (#12381)

Compatibility and Releases

  • Dune 3.20.2: Released with fixes for jsoo separate compilation with modules_without_implementation, runtest-js dependency resolution, empty .cram.test.t directory 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 _build by 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)