Features
-
Dune 3.21.0~alpha4: Adds
(lang rocq),library_parameter,dune promotion show,DUNE_ROOT,unused-libsalias, and(files)stanza. Breaking: 3.21 no longer overrides default compiler warnings. Release -
Dune Odoc v3 rules: Proposes unified
@docand@doc-fullaliases, hierarchical docs via adocumentationstanza, ocaml.org cross-links, and a sherlodoc index. Errors are scoped to the current project. #12995 -
Dune structured logging: Folds
_build/loginto the trace file, produced by default. Log messages carry structured payloads for scripting. #13015
Fixes
-
Dune nested dune calls: Merged fix resolves
dunein package build rules to the running binary and prepends its directory toPATH. Prevents accidental capture of a different dune executable. #12935 -
Dune
dune tools: Merged merlin support indune tools install. An open PR adds a clear error with an install hint whendune tools exectargets an uninstalled tool. #12972, #12978
Compatibility and Releases
-
Dune cache locations: Merged change moves toolchains, git-repo, and rev-store caches under
DUNE_CACHE_ROOT(defaulting to$XDG_CACHE_HOME/dune/). Existing cache paths shift; setDUNE_CACHE_ROOTto preserve the old layout. #12858 -
Dune pkg no-op builds: Open bug reports a ~13 s no-op
dune buildwith package management versus ~0.85 s with opam. Target is within 500 ms of the opam baseline. #12693 -
Dune
dune clean: Open issue reports thatdune cleandeletes package management data from_build, removing installed packages and dev tools. A PR to preserve this data was closed without merge. #12976