Features
Dune compile_commands.json: Generates a JSON compilation database for C/C++ editor tooling when dune lang is 3.23. Promoted to the workspace root; verified with ccls. #14185
Dune per-module dependency filtering: Uses ocamldep output to restrict each module's inter-library deps to actually-imported libraries, reducing unnecessary recompilation. Open PR; currently introduces a 40–70% null-build regression under active review. #14116
Dune %{pkg:foo:lib} pforms: Makes package install-layout variables available outside lock files, supporting ocamlfind, dune package management, and workspace packages. Open PR. #14200
Dune Dyn.pp: Now prints Char as quoted literals, Int32/Int64/Nativeint with suffixes, and Float special values as valid OCaml syntax. #13394
Fixes
Dune watch-mode cancellation: Child processes now receive SIGTERM with a grace period before SIGKILL on both shutdown and watch-mode rebuilds. #14170, #14224
Dune inline tests (byte-only): dune runtest now executes inline tests for libraries with (modes byte); previously the runner linked natively and silently skipped all tests. #14174
Dune generated opam files: Auto-injects menhir {>= "20180523"} when the menhir extension is active, eliminating manual lower-bound fixes in opam-repository. #14168
Compatibility and Releases
Dune 3.22.2 / 3.23.0: 3.22.2 point release merged 2026-04-14. The 3.23.0 release tracker targets 2026-04-20; a sandboxed package-deps regression (#14213) is a known blocker. #14113, issue #14211