Features
-
Documentation examples are now type-checked in CI.
{@ocaml[ … ]}blocks in manual pages and.mlidoc-comments compile against the real library;{@ocaml skip[ … ]}and{@ocaml parse[ … ]}opt out. Merged in #2387. -
js_of_ocaml-toplevelgainsWrappedandAsyncAPIs.Wrapped.executereturns errors/warnings as values instead of printing to stderr.Asyncruns the toplevel in a Web Worker via Lwt message passing. Merged in #2377. -
New bindings: Service Worker, MessageChannel/MessagePort, and Cache API. Covers both the page-facing registration side and the worker-side global scope. Merged in #2381, closing #1464.
-
CSS Font Loading API binding (
FontFacemodule). ProvidesFontFace.create,document.fonts, andFontFaceSetwith typed descriptors. Merged in #2255.
Fixes
-
Tyxml: repeated attributes now keep the first occurrence, matching browser DOM semantics. Previously multiple
a_classsignals alternated or wiped the attribute. This is a behaviour change for code relying on last-wins. Merged in #2383. -
Runtime: restore
compare_extdispatch for immediate-vs-custom-block comparison. Fixes polymorphic comparison across zarith's immediate/custom boundary. Open in #2391.
Compatibility and Releases
-
Release 6.4.1 (2026-06-30). Point release fixing dune 3.24 path-form regressions in the Wasm runtime and test harness. See release notes.
-
Compiler now consumes hints produced by OCaml 5.5 (
ocaml/ocaml#13438). Merged in #1721; requires OCaml ≥ 5.5 for the hint path.