Features
-
dune describe workspaceanddune describe external-lib-depsnow report public names for executables, matching library behaviour. A new--split-public-namesflag places private names inname(s)and public names in a separatepublic_name(s)field. Merged in #15582; fixes #15497. -
dune shell TARGETopens an interactive session at a prepared rule action boundary, exposingrun,show_action, andshow_commandfor debugging individual build steps. Preserves sandbox, environment, and locks. Open PR #15597; closes #3961. -
Allocation profiling gains the
DUNE_TRACE_ALLOCenvironment variable (rate,stack,topfields) and two new rankings per heap:by_site(youngest frame) andby_frame(all frames in stack). Frames fall back to the nearest symbolized caller. Merged in #15699, #15703, #15710.
Performance
- Merged null-build improvements: major-heap space overhead raised to 500 (~13%
@install, ~11%@check, #15730); batch builds skip Memo dependency storage (~10%@check/@install/@runtest, #15705); command-argument action builders flattened (~6% no-op@check, #15697); manual digest writes buffered in 4 KB (~2.3%, #15731).
Fixes
-
Menhir type inference (
ocamlc -i) fails withUnbound module "Stdlib"on macOS when a relocatable compiler is selected viadune pkg lock. The fix declares the compiler stdlib directory as a hidden sandbox dependency. Open PR #15679; fixes #15642. -
Null builds with
%{bin:...}or(package ...)dependencies no longer invalidate and rebuild the.binaries/.packagesinstall layouts, eliminating spurious workspace- and shared-cache misses. Merged in #15678. -
JSOO archive directories are now preserved for interface-only libraries, stopping repeated rebuilds. Merged in #15427.
Compatibility and Releases
-
Dune 3.24.2 released 2026-08-03. Backports: implicit
unixdependency for MDX ≥ 2.6 test executables (#15592); RPC registry rescan on directory mtime change (#15634). See release notes. -
The
(warnings (duplicate_deps ..))field requiresdune >= 3.18but was introduced in 3.22, producing overly permissive opam bounds. Open PR #15696 corrects the bound.