Thicket thicket
ocaml
REPOS 1

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

W30.2026 · 20–26 Julocaml/dune

Features

  • dune completion fish now generates a Fish shell completion script with subcommand, flag, and value completion. Install via dune completion fish > ~/.config/fish/completions/dune.fish. (#15515, merged)

  • dune promote <TAB> completes against staged .to-promote entries in the build directory, honouring --root and --build-dir. (#15338, merged)

  • dune pkg enabled queries a running Dune RPC server for the effective --pkg enabled/--pkg disabled state, avoiding a build-lock acquisition. Falls back to the local workspace check when no server is running. (#15589, merged)

  • dune shell TARGET opens an interactive session at a prepared rule action boundary, exposing run, show_action, and show_command for inspecting and replaying individual build steps. (#15597, open)

  • dune describe workspace gains an origin field per module, distinguishing hand-written, rule-generated, ocamllex/ocamlyacc/menhir, and wrapper modules. Opt-in --with-origin-deps flag 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 .exe extension, 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_flags silently dropped in separate compilation mode; Melange sandboxing reverted (build-time regression); OCaml 5.5+ compiler packages treated as relocatable; Windows .exe layout fix. (release)

  • Ongoing discussion: deps will 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)