Releases
- Dune 3.22.0~alpha0: adds
dune trace cat, default sandboxing of tests and Melange rules,dune runtest, and@doc-markdown. Build cache path moves to$DUNE_CACHE_ROOT/db(breaking). Release notes
Fixes
-
Dune cache (Windows): merged fix enables hard links on NTFS/ReFS and clears read-only attributes before rename during deduplication. Without this, the shared cache was non-functional on Windows. #13713, #13714
-
Dune memo library: post-release fix checks for self-dependency cycles before blocking on an ivar, resolving a deadlock causing infinite hangs. Bug dates to 2022. #13710
-
Dune pkg (OpenBSD): merged fix detects the
tarimplementation and passes explicit-z/-jflags when auto-detection is unavailable. Resolves package installation failures. #13688 -
js_of_ocaml: #2194 (merged) contains runtime bug fixes.
Compatibility
-
opam-file-format 2.2.0: README omits the
menhirbuild dependency from #60; builds fail with "Program menhir not found" untilmenhiris installed. #64 remains open. -
Merlin + OxCaml: with
merlin.5.2.1-502+oxand OCaml 5.2.0+ox, every few keystrokes in Emacs triggers the Lisp debugger via an unhandledInvalid_argumentfrom the Menhir parser. #2045 open.
Features
-
js_of_ocaml OCaml 5.5: #2195 (open) adds initial compiler and runtime support. The
ocaml55branch is available for testing;wasm_of_ocamlis not yet supported. -
ocaml-lsp rangeFormatting: merged 2026-03-06. Implements
textDocument/rangeFormattingby invokingocamlformaton the selected range while preserving surrounding indentation. Closes #1891. #1591 -
ocaml-lsp signatureHelp: merged 2026-03-05.
signatureHelpis now supported inocaml-lsp-server. #1592 -
Merlin refactoring-extract-region: merged 2026-03-05. Adds a
refactoring-extract-regioncommand to the Merlin protocol, extracting an expression into a freshletbinding. #1948 -
Dune ppx (proposal): open PR computes the transitive closure of ppx dependencies before collecting cookies, so cookies survive nested rewriter composition. Fixes a bug reported in 2020. #13737