Tools covers builds, package management, editors, documentation and JavaScript compilation.
W19.2026 · 4–10 May/ocsigen/js_of_ocaml
Features
js_of_ocaml Wasm runtime (PR #2232, open): dispatches wasmoocaml:loaded and wasmoocaml:errorCustomEvents on globalThis when asynchronous Wasm instantiation completes, letting external JavaScript wait for OCaml exports. Ported from ocaml-wasm/wasm_of_ocaml#143. Link
Compatibility and Releases
js_of_ocaml build system (PR #2231, open, blocked): switches to dune 3.23 and uses js_of_ocaml --build-config for configuration; blocked on ocaml/dune#14441 and ocaml/dune#14438. Link
js_of_ocaml CI (PR #2236, merged): adds a lower bound on the menhir dependency required by dune 3.23. Link
js_of_ocaml Node.js 26 (PR #2235, closed unmerged): a separate attempt to drop the same experimental flags; superseded by the merged PR #2234. Link
Fixes
js_of_ocaml code generation (PR #2233, merged): corrects variable coalescing to handle break instructions properly and provides a better fix for empty try bodies. Link
js_of_ocaml Wasm string conversion (PR #2230, merged): ensures wasm:js-string imports always resolve even when the engine lacks the JS String Builtins proposal. Link
js_of_ocaml Node wrapper (PR #2234, merged): removes outdated --experimental-wasm-imported-strings and --experimental-wasm-stack-switching flags that Node.js 26 rejects as "bad option". Link