Features
-
OCaml LSP 1.26.0: adds
ocamllsp/refactorExtract,destruct,locate_typesrequests andtextDocument/rangeFormattingsupport. Configures merlin via$OCAMLLSP_PROJECT_BUILD_SYSTEMand$OCAMLLSP_PROJECT_ROOTfor non-dune builds. Release -
Merlin v5.7.0-504: adds
refactor-extract-regioncommand (experimental) and-end-positionparameter toenclosing.locate-typesreturns an "Other" variant and omitsoptionwrapping for optional parameters. Release notes -
Dune
(dirs)stanzas: multiple(dirs ..)stanzas in onedunefile are supported under(lang dune 3.23), taking the union of directories. Fixes #6249. (#13734) -
Dune
dune rules --deps: new--depsflag prints only the dependencies of a given rule for incremental-build debugging. Merged 2026-04-07. (#14071) -
Dune Rocq
extracted_files: new field in therocq.extractionstanza declares non-OCaml extraction outputs (e.g..hsfiles), preventing them from being wiped on rebuild. Merged 2026-04-10. (#13997) -
js_of_ocaml (Wasm): merges Dynlink and toplevel support for the Wasm target. Merged 2026-04-08. (#2187)
-
opam Nushell support: open PR adds
opam envoutput for Nushell via JSON and shell config. Minimum Nushell version under discussion (0.102+). #6873
Fixes
-
Dune 3.22.2: reverts the
--diff-commandbehaviour change from 3.22.0; non-existent files are again passed to the command rather than/dev/null. Released 2026-04-10. (#14098) -
Dune
root_module: entry modules are deduplicated before writingroot.ml-gen, fixing "Multiple definition of the module name" errors with shared findlib sub-package directories. Merged 2026-04-11. (#14135) -
opam PGP key: the release signing key expired on 2025-12-16; the updated key at
opam.ocaml.org/opam-dev-pubkey.pgpis now live. #6877
Compatibility
- opam build requirements: open PR removes build support for OCaml 4.08, 4.09, and 4.10. Newer opam clients still run on older compilers even if removed from the repository. #6879