Features
-
js_of_ocaml — Wasm-JS boundary now uses externref; floats pass as f64, integers as i32. Method-call overhead drops from ~16 ns to ~5 ns on V8. (#2563, merged)
-
js_of_ocaml — Functions under a handler store the exception in
caml_exceptionand return null; the caller tests withbr_on_null. At--opt 2, run time drops 24%. (#2098, merged) -
dune — PPX rewriters receive a compilation-mode cookie identifying the OCaml or Melange target. Available under
(lang dune 3.26). (#16699, merged) -
dune — Assembly sources (
.s,.S,.asm) are recognised inforeign_stubsvia(language asm). The C compiler serves as assembler on most platforms; MSVC requires a separate binary. (#16849, open) -
ocaml-lsp — New
ocamllsp/completePrefixAtPoscustom LSP request lets an Emacs client complete a prefix at a position without spawning a separatemerlin complete-prefixprocess. (#2230, merged)
Fixes
-
dune — Watch-mode builds no longer hang when the file watcher loses a sync-file notification. Pending syncs retry with fresh marker IDs after a five-second timeout. (#16756, #16850, merged)
-
opam — Interrupting
opam repository addwith SIGINT no longer leaves the repository in the configuration. The initial fetch is wrapped so any exception triggers cleanup before re-raising. (#7227, open) -
js_of_ocaml —
wasm_of_ocamlno longer invokes wasm-opt at--opt 1; internal passes replace it. Compilation time drops ~60% for the test suite. (#2238, merged)
Compatibility and Releases
-
js_of_ocaml — Without wasm-opt,
wasm_of_ocamluses internal passes and warns at--opt 2/3. A plaindune buildnow compiles Wasm targets. (#2571, open) -
odoc — 3.2.2 released 2026-10-26: adds OCaml 5.6 support and removes reliance on
ocamllexraisingFailurefor unescaped braces. -
odoc — The formatter code path, disabled since 2020, is re-enabled. Safe with the minimum OCaml version at 4.08. (#1508, merged)
-
merlin — New
--standaloneflag forocaml-indexinlines component-index data into the output file, removing external pointer dependencies. (#2148, open)