Features
-
js_of_ocaml (open, by hhugo): Replaces the Menhir-based JS parser with a hand-written recursive-descent parser over the same Flow lexer. Parsing concatenated runtime files drops from 0.313 s to 0.258 s; the compiler library no longer links
menhirLib. #2467 -
opam (open): Detects an interactive shell via
$-instead of[ -t 0 ], soenv_hook.shandcomplete.share sourced under VSCode remote-SSH where stdin is not a tty. Fixes #6606. #7179
Compatibility and Releases
-
dune 3.25.0~alpha0 (2026-10-02): Generated files are read-only even before lang 2.4;
:is rejected in context names;(warnings (duplicate_deps ..))now requires lang 3.22. RPC and supported Dune language version bumped to 3.26. -
js_of_ocaml (merged, by vouillon): Compiler updated for the OCaml 5.6 toolchain. #2469
Fixes
-
js_of_ocaml (merged, by vouillon): Reference-unboxing codegen used extra
Structure.build_graphedges for the dominator tree, so a loop-allocated reference read after the loop produced an unbound variable. The pass now uses the actual CFG dominator tree. #2489 -
js_of_ocaml (merged, by vouillon): Wasm
landwas typed as 31-bit-normalized whenever one operand was normalized, even if negative (e.g.-1), leaving high bits set. Normalization now requires a non-negative constant or both operands normalized. #2490 -
js_of_ocaml (merged, by vouillon): JS syntax-error columns are now 1-based; lines split at
\r\n,\n,\r, U+2028, U+2029. Fixes a crash on OCaml 4.13 whereIn_channel.input_lineis absent. #2471 -
opam (merged):
opam install <pkg> --deps-onlynow installs the target package's own depexts, restoring 2.5.2 behaviour. Backported to the 2.6 branch. #7158 #7174 -
dune (merged):
dune buildnow shows curl's own error text (e.g. "could not resolve host") instead of "invalid error code 6" on offline fetch failures. #16515 -
dune (merged): Empty patches are treated as no-ops, matching Opam behaviour. #16519
-
dune (merged): Installed packages discovered through a local package's library closure are accepted on language versions before 2.9, fixing a regression from #16362. #16529
-
odoc (merged):
odoc compilepreviously resolved modules without hash checks, causing silent incremental-build link failures. Fixed in #1402. #1396 -
merlin (merged, by @voodoos):
merlin single outlineno longer emits compiler-generated ghost bindings as children. Editors receiving outline data will not see invalidline 0, col -1selections. #2135