Features
-
foreign_stubsandforeign_libraryaccept(language asm), recognising.s/.S/.asmsources and passing them to the platform assembler. Closes #3342. (#16849, merged) -
dune clean PATHnow accepts source directories and the project root, removing the corresponding_build/<context>/<path>artifacts. Previously only build-directory paths were valid. Closes #2288. (#15305, merged) -
New
DUNE_CONFIG__ACTIONS_NICEsetting (0–19, defaultnone) controls niceness of spawned Unix build actions. A follow-up PR sets the default to +5, favouring Dune's coordinator over child processes for CPU. (#16957, #16963, merged)
Compatibility and Releases
- 3.25.0~alpha1 released 2026-11-03. Notable breaking changes: actions no longer see
_build/install/<context>/{bin,lib,lib/stublibs}onPATH/OCAMLPATHunless they declare(deps (package …)); generated files are read-only regardless of language version;:is rejected in context names. (release)
Fixes
-
Merlin configurations now include the hidden CMI directory (
BH) for libraries withprivate_modules, restoring typing, completion, and navigation for public aliases of private modules. Closes #16531. (#16629, merged) -
dune cache clearanddune cache trimnow recognise and remove pre-3.22 legacy cache files under$DUNE_CACHE_ROOT. Closes #15060. (#16899, merged) -
RPC build clients now receive the actual memo error message and stack trace instead of crashing with a generic exception. (#16878, #16879, merged)
-
Dune's own GC now sets
small_heap_limitto 16 777 216 work units on OCaml 5.5+, delaying major marking. Measured ~9% reduction in no-op build wall time on AArch64. (#16913, merged)