Features
-
dune shell TARGET(open, #15597): Opens an interactive session at a rule action boundary, exposingrun,show_action, andshow_command. Preserves sandbox, environment, and locks. -
dune describe workspace/external-lib-deps(merged, #15582): Now report public names for executables. New--split-public-namesflag separatesname(s)frompublic_name(s). -
Allocation profiling (merged, #15699, #15703, #15710):
DUNE_TRACE_ALLOCenv var acceptsrate,stack,topfields. Two new per-heap rankings:by_siteandby_frame. -
textDocument/publishDiagnostics(merged, #2110): AttachesUnnecessaryandDeprecatedtags when the client advertisestagSupport. Editors can grey out unused values and strike through deprecated ones. -
odoc OCaml 5.6 support (open, #1472, by jonludlam).
Fixes
-
Null builds with
%{bin:...}or(package ...)dependencies (merged, #15678): No longer invalidate.binaries/.packagesinstall layouts. Eliminates spurious workspace- and shared-cache misses. -
textDocument/definition(merged, #2100): A keyword, builtin type, or name at its own declaration returns an empty result instead ofRequestFailed. Eliminates spurious error notifications in editors. -
Hover at constructor/exception declarations (merged, #2102): Hovering a variant constructor or exception at its declaration now returns the constructor type. Previously no response was produced.
-
odoc cross-referencer (merged, #1471, by Leonidas-from-XIV): Resolves functors reached via
module type ofredirection. Eliminates spurious "Failed to lookup type identifier" warnings. -
OpamCachedwithsafe_mode(open, #7067): No longer unconditionally removes an outdated cache file. Fixes a crash for tools linking opam libraries inside sandboxed builds.
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). Release notes. -
odoc stdlib path (open, #1474, by katrinafyi): Replaces hardcoded opam-prefix subpaths with Findlib directory inference. Fixes portability on systems where stdlib resides in
lib64.