Features
-
include_subdirs qualified+(per_module ...)(Dune language 3.25): Dotted module references (e.g.Foo.Bar) are now accepted inper_modulefields. Previously the name was rejected as an invalid module name. Merged in #15633; closes #15578. -
Action plugin
dynamic-runover 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 asDune_rpc.V1.Action_plugin. Merged in #16256. -
dune describe workspaceMelange targets (open): PR #16300 addsmelange.emititems andmelange.libraryentries to the output. Addresses #16299.
Compatibility and Releases
- Action plugin
write_fileremoved (breaking): Thewrite_fileAPI and target-set validation are removed fromdune-action-plugin. Dynamic actions may now appear in rules with directory targets. Merged in #16329; closes #16268. Thedune-globpackage is merged intodune-action-pluginasDune_action_plugin.V1.Glob(#16328).
Fixes
-
dune build @opamafter 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-levelenvvars, matching documented behaviour. Merged in #16290. -
opam_solver crash on non-boolean
commandfilter: The solver no longer crashes when an opam file (e.g.ocamlsdl.0.9.1) uses a non-boolean value in thecommandfilter field. Merged in #16313. -
Melange virtual-library dependencies: Imported Melange vlib CMJs are now read via
melobjinfofor 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.