Features
-
Dune 3.25 – New
%{melange.emit:...}artifact variable references the output directory of amelange.emitstanza and its dependencies. Merged in #15751. -
Dune 3.25 –
ocamllexandocamlyaccstanzas accept a(flags ...)field using the ordered-set language; forwarded to the parser generator. Enables(flags -ml)for code-based automata. Merged in #15907. -
ocaml-lsp (open) –
textDocument/documentLinkanddocumentLink/resolverender odoc references ({!t},{{:url} text},@see) as clickable links in the editor. Cross-module and stdlib references resolve after a project build. #2139
Compatibility
Fixes
-
Dune – An
installstanza gated byenabled_ifno longer adds its files to the directory's@allalias in disabled contexts. Fixes multi-context builds failing with "No rule found." Merged in #15895. -
Dune – Melange JS emission now stages installed
.cmj/.cmidependencies underlib/<pkg>/melange/, preventingmelcsandbox failures. Merged in #15949. -
Dune –
dune pkguses SHA-256 for source archives lacking a checksum, replacing MD5. Merged in #15824. -
ocaml-lsp – Unused-code quick fixes classify diagnostics by warning number (e.g.
Warning 33) instead of bare substrings, making "Remove unused open/type/module" actions reachable in normal builds. Merged in #2117. -
ocaml-lsp – The unused-code matcher rejects arbitrary diagnostic text (e.g. a deprecation warning containing "unused open"), preventing accidental module removal. Merged in #2141.
-
opam –
opam init --reinitno longer exits with code 10 and prompts a retry after upgrading from a 2.1 root. Merged 2026-08-12 in #7058.