Features
-
Dune format-dune-file: now uses the
lang duneversion declared in the enclosing project rather than always applying the latest syntax. Merged in #11865. -
Dune @ocaml-index alias: now resolves Melange stanzas and their compiler paths, so
dune build @ocaml-indexcovers Melange targets. Merged in #12246. -
opam format upgrade: extends the on-the-fly state format upgrade to repository and switch config files; a write-lock now triggers a global upgrade rather than blocking. Merged 2025-08-27 (#6417).
-
Merlin DocumentSymbol: the
DocumentSymbolquery is now available from Merlin directly rather than only in ocaml-lsp-server. Closed as fixed on trunk (#1902).
Compatibility and Releases
-
opam macOS 15: CI now installs GNU rsync because macOS 15 ships openrsync, which is incompatible with opam's current rsync usage. A tracking issue to remove the rsync dependency is open (#6651).
-
odoc opam 2.5 support: merged support for opam 2.5; uses
String.starts_with(OCaml ≥ 4.13), backward compatible with the existing 5.1 minimum. Merged in #1383. -
js_of_ocaml Wasm strings (open PR): optionally represents OCaml strings as JavaScript strings in the Wasm runtime, skipping ASCII conversions. Rebased 2025-08-27 (#1772).
-
opam pkg:opamfile variable (open PR): corrects the
pkg:opamfilevariable to match its documented specification, fixing cases where the path pointed to a non-existent file in tar-based repositories. Fixes #5346 (#6659).
Fixes
-
Dune 3.20.1: fixes
runtest-jsdepending onbyte, correctsdune runtestpath interpretation from a subdirectory, and reverts the 3.20.0 s-expression formatting change. Released 2025-08-25. -
Dune 3.20.2 (backport): building an executable with
(modules_without_implementation …)and(modes js)no longer fails with "No rule found". Merged in #12320; release pending. -
Dune dune pkg: hash and digest computation for package rules no longer calls
Poly.hashonSet/Mapvalues, eliminating spurious rebuilds. Merged in #12310 and #12319. -
js_of_ocaml effects backends: reverts an incorrect
caml_comparepurity annotation that broke function-value comparison under--effects=cpsand--effects=double-translation. Merged 2025-08-28 (#2089).