Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W27.2026 · 29 Jun – 5 Julocsigen/js_of_ocaml

Features

  • Documentation examples are now type-checked in CI. {@ocaml[ … ]} blocks in manual pages and .mli doc-comments compile against the real library; {@ocaml skip[ … ]} and {@ocaml parse[ … ]} opt out. Merged in #2387.

  • js_of_ocaml-toplevel gains Wrapped and Async APIs. Wrapped.execute returns errors/warnings as values instead of printing to stderr. Async runs 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 (FontFace module). Provides FontFace.create, document.fonts, and FontFaceSet with typed descriptors. Merged in #2255.

Fixes

  • Tyxml: repeated attributes now keep the first occurrence, matching browser DOM semantics. Previously multiple a_class signals alternated or wiped the attribute. This is a behaviour change for code relying on last-wins. Merged in #2383.

  • Runtime: restore compare_ext dispatch 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.