Thicket thicket
ocaml
REPOS 9

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

W38.2025 · 15–21 Sepocaml/dune

Features

  • Dune OxCaml parameters: Adds a (parameters ...) field to the library stanza for parameterized libraries. Requires the OxCaml compiler flag -parameter Name_of_parameter per parameter. (#12336, open)

  • Dune runtest RPC: Makes the runtest RPC request public in otherlibs, enabling concurrent test execution alongside the watch server. Behaviour is identical with or without the RPC server. (#12473, open)

  • Dune TUI scrolling: Adds horizontal mouse scrolling to the TUI scrollbox widget. Makes viewing large build messages easier; tested with a trackpad. (#12386, open)

  • Dune pkg revision cache: Introduces LMDB-based caching for the revision store, cutting dune pkg solving time by roughly 50%. A lock that took ~800 ms now takes ~400 ms. (#12188, open)

Fixes

  • Dune exec -w: Fixes dune exec -w sending a kill signal to a non-existent process group during rebuilds. The scheduler now tracks whether a job is a process group leader. (#12360, open)

  • Dune Melange output: Stops emitting empty .js files for module aliases. (#12464, open)

Compatibility and Releases

  • Dune promoted files: Proposes marking files promoted via (mode (promote ...)) as read-only in the source tree. Aims to prevent accidental edits when LSP or Merlin jumps to generated files. (#12465, open)

  • Dune boot -map removal: Removes the -map flag from the bootstrap compiler invocation. Module names are now resolved via aliases, a prerequisite for (include_subdirs qualified) support. (#12452, merged)