Features
-
dune completion fishnow generates a Fish shell completion script with subcommand, flag, and value completion. Install viadune completion fish > ~/.config/fish/completions/dune.fish. (#15515, merged) -
dune promote <TAB>completes against staged.to-promoteentries in the build directory, honouring--rootand--build-dir. (#15338, merged) -
dune pkg enabledqueries a running Dune RPC server for the effective--pkg enabled/--pkg disabledstate, avoiding a build-lock acquisition. Falls back to the local workspace check when no server is running. (#15589, merged) -
dune shell TARGETopens an interactive session at a prepared rule action boundary, exposingrun,show_action, andshow_commandfor inspecting and replaying individual build steps. (#15597, open) -
dune describe workspacegains anoriginfield per module, distinguishing hand-written, rule-generated, ocamllex/ocamlyacc/menhir, and wrapper modules. Opt-in--with-origin-depsflag controls dependency expansion. (#15478, open)
Fixes
-
Artifact-substitution file I/O now runs on the scheduler worker pool, removing a serial bottleneck from builds with many generated files. (#15559, #15598, merged)
-
%{bin:...}PATH layouts on Windows now materialise native executables with the.exeextension, fixing a 3.24 regression that broke tool resolution. (#15518, merged)
Compatibility and Releases
-
Dune 3.24.1 released 2026-07-21. Fixes: jsoo
build_runtime_flagssilently dropped in separate compilation mode; Melange sandboxing reverted (build-time regression); OCaml 5.5+ compiler packages treated as relocatable; Windows.exelayout fix. (release) -
Ongoing discussion:
depswill no longer load package dependencies transitively in 3.25.0, breaking workflows that relied on transitive closure (e.g. Frama-C test rules). No opt-in flag proposed yet. (#15511, open)