Features
-
Dune 3.22.0: Released 2026-03-19. Sandboxes
testandtestsstanzas by default; addsDUNE_JOBS,@doc-markdown, anddune trace cat. Release -
Dune @revdep alias: Merged 2026-03-18. Builds all reverse dependencies of libraries in a directory via
@revdep,@revdep-check, and@revdep-runtest. #13800 -
Dune Odoc v3 rules: Open PR rewriting
@docand@doc-newinto unified@docand@doc-fullaliases with hierarchical MLD trees and ocaml.org links. #12995 -
Dune promote directories: Open PR extending
dune promote footo promote all descendants offoo/; old single-file behaviour available via--file. #13876 -
Dune bounded dynamic_include: Open proposal to restrict a
dynamic_includestanza to specific stanza kinds, target globs, or packages, avoiding unnecessary rule generation. #13843 -
Dune Js_of_ocaml runtimes: Merged 2026-03-17. Shares standalone JS runtimes across executables in a workspace, reducing redundant compilation. #13621
Fixes
- Dune pkg lock lock_dir: Open bug:
dune pkg lockwith no argument ignores thelock_dirpath fromdune-workspace, always writing todune.lock. #13841
Compatibility and Releases
- Dune 3.22.0 on Windows 7: Open regression: bootstrap fails because
GetSystemTimePreciseAsFileTimeis unavailable before Windows 8. A fallback patch is under discussion. #13871