Dune 3.25 bumps the language version and adds ordered-set flags to ocamllex and ocamlyacc stanzas. opam init --reinit no longer exits with code 10 after upgrading from a 2.1 root, and jsont 0.3.0 narrows Jsont.{int,int64} to the 53-bit range, providing Jsont.legacy_* for migration.
Features
Runtime_events.User.writeno longer allocates in steady state; the per-domain write-buffer cache is a single atomic slot in DLS. Merged. #14984- Frame-pointer support added for the POWER (
ppc64le) backend; allocation pointer moves from r31 to r23. Merged. #14505 - New C API
caml_result_find_exceptionreturns a pointer to the exception payload in acaml_result, or NULL. Merged. #14814 - Dune 3.25:
%{melange.emit:...}artifact variable references the output directory of amelange.emitstanza. Merged. #15751 - Dune 3.25:
(flags ...)field inocamllexandocamlyaccstanzas accepts the ordered-set language; forwarded to the parser generator. Merged. #15907 - Odoc document links in the editor:
textDocument/documentLinkrenders{!t},{{:url} text}, and@seeas clickable links. Open. #2139
Fixes
opam init --reinitno longer exits with code 10 after upgrading from a 2.1 root. Merged 2026-08-12. #7058- Disabled
installstanza no longer adds files to the directory's@allalias, fixing multi-context builds. Merged. #15895 - Unused-code quick fixes in ocaml-lsp now classify diagnostics by warning number, making Remove-unused actions reachable in normal builds. Merged. #2117
Compatibility and Releases
- Dune language version bumped to 3.25. Merged. #15919
- Proposal: enable LFS (
_FILE_OFFSET_BITS=64) and 64-bittime_tby default on 32-bit targets; disable with--disable-largefile. Open. #14997 - jsont 0.3.0 (breaking):
Jsont.{int,int64}range narrowed to [−2⁵³+1, 2⁵³−1]; boundary values encode as strings, withJsont.legacy_{int,int64}for migration. Merged. #30485