Features
-
Action runners with bubblewrap sandboxing (
--action-runner,--sandbox-actions). Eligible actions run in a bwrap-wrapped worker that cannot write to the shared cache. Merged in #14240. A Landlock backend is proposed in #15231 (open). -
Per-module library dependency filtering reduces unnecessary recompilation: a consumer module's compile rule sees only artefacts of libraries it references. Open in #14492; fixes #4572.
-
Shell command completion for bash, zsh, and PowerShell via
dune completion <shell>. Provides subcommand, flag, and suggestion completion. Open in #14779. -
env_varsalias added as an underscore-spelled alternative to theenv-varsfield in(env ...)stanzas. Merged in #15187.
Fixes
-
Cram output sanitization now handles project paths containing spaces. Previously
BUILD_PATH_PREFIX_MAPrewriting failed because the path tokenizer split on spaces. Merged in #15017; fixes #14943. -
Fuzzy offset matching re-enabled for patches applied by
dune pkg, restoring compatibility with opam packages whose patches require fuzz. Merged in #15146.
Compatibility and Releases
-
Dune 3.24.0 released (2026-06-21). Directory targets promoted to GA; relocatable compiler enabled by default for package management;
%{pkg:<pkg>:<section>:<path>}pform added. See release notes. -
Breaking:
%{bin:NAME}resolution changed. Now resolves to the build-artifact path with a./prefix instead of the install-staging path. Rules with%{bin:...}deps get a per-rule.binariesdirectory onPATH. Requires dune 3.24. Merged in #15156, backported in #15229. -
Breaking:
(lang coq)removed. Projects using(using coq <version>)must migrate to(using rocq <version>). The Rocq(stdlib ...)field is replaced by(no_corelib)in Rocq language 0.14. Shipped in 3.24.0.