Tools covers builds, package management, editors, documentation and JavaScript compilation.
W40.2026 · 28 Sep – 4 Oct/ocaml/dune
Features
PR #15622 (open): (instrumentation (backend X) (libraries ...)) links the listed libraries only when the backend is active. Requires dune lang 3.26.
PR #16475 (open): (job_slots ...) rule exposes a computed parallelism count via an environment variable for polyglot builds driven by Dune.
PR #13758 (open): dune format-dune-file preserves multi-line block-string syntax (\|, \>) for lang 3.25+ instead of lowering to quoted strings.
Compatibility and Releases
3.25.0~alpha0 published (2026-10-02). Breaking: generated files are read-only even before lang 2.4; : is rejected in context names; (warnings (duplicate_deps ..)) now requires lang 3.22.
PR #16523 (merged): RPC and supported Dune language version bumped to 3.26.
Fixes
PR #16515 (merged): dune build now shows curl's own error text (e.g. "could not resolve host") instead of "invalid error code 6" on offline fetch failures.
PR #16519 (merged): Empty patches are treated as no-ops, matching Opam behaviour.
PR #16529 (merged): Installed packages discovered through a local package's library closure are accepted on language versions before 2.9, fixing a regression from #16362.
PR #16536 (merged): Merlin reader selection disambiguates preprocessed filenames without extensions, fixing lookup for .ml/.mli pairs.