Thicket thicket
ocaml
REPOS 9

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

W36.2026 · 31 Aug – 6 Sepocaml/dune

Features

  • include_subdirs qualified + (per_module ...) (Dune language 3.25): Dotted module references (e.g. Foo.Bar) are now accepted in per_module fields. Previously the name was rejected as an invalid module name. Merged in #15633; closes #15578.

  • Action plugin dynamic-run over RPC: The temporary-file handshake is replaced by Dune RPC. The plugin process stays alive while Dune builds newly discovered dependencies, preserving process state. Exposed as Dune_rpc.V1.Action_plugin. Merged in #16256.

  • dune describe workspace Melange targets (open): PR #16300 adds melange.emit items and melange.library entries to the output. Addresses #16299.

Compatibility and Releases

  • Action plugin write_file removed (breaking): The write_file API and target-set validation are removed from dune-action-plugin. Dynamic actions may now appear in rules with directory targets. Merged in #16329; closes #16268. The dune-glob package is merged into dune-action-plugin as Dune_action_plugin.V1.Glob (#16328).

Fixes

  • dune build @opam after file deletion: A deleted generated OPAM file no longer prevents regeneration. The diff action now runs in a sandbox so the stale build-tree copy is excluded. Merged in #16234; fixes #16233 (regression in 3.24).

  • Context env-var precedence in dune exec: Variables from a (context ...) stanza now correctly override workspace-level env vars, matching documented behaviour. Merged in #16290.

  • opam_solver crash on non-boolean command filter: The solver no longer crashes when an opam file (e.g. ocamlsdl.0.9.1) uses a non-boolean value in the command filter field. Merged in #16313.

  • Melange virtual-library dependencies: Imported Melange vlib CMJs are now read via melobjinfo for precise implementation dependencies, with CMT and conservative fallbacks retained. Merged in #16272.

  • Merlin configuration lookup: Exact and copy-line matches across a configuration group are selected before falling back to filename-without-extension lookups. Merged in #16194.