Tools covers builds, package management, editors, documentation and JavaScript compilation.
W52.2025 · 22–28 Dec/ocaml/dune
Features
Dune runtest:dune runtest now accepts (tests) and (inline_tests) sources, not just cram test files. Fixes #870. (#13064)
Cram shell field: The (cram) stanza gains a shell field to select bash instead of the default sh. (#13083)
Dune trace: New dune trace subcommand reads the trace file; structured log events are folded into the trace and produced by default, replacing _build/log. (#13055, #13015)
Cram command timing: Open PR adds per-command trace events for bash-executed cram tests to identify slow steps. (#13092)
Fixes
Dune install --prefix: Relative paths that escape the workspace (e.g. --prefix ../bar) are now resolved correctly instead of being rejected. Fixes #12241. (#12993)
Dev tool compiler pins: Compiler pins from dune-workspace now propagate to the dev-tool solver, so dune tools install respects pinned compiler branches. Fixes #12868. (#13033)
Compatibility and Releases
Dune 3.22: The lang dune version on main is bumped to 3.22. New features above require this version. (#13082)
macOS copyfile: Portable copyfile is restored for older macOS (≤ 10.6.8) where the native API is unavailable. Fixes #12576. (#13069)