Thicket thicket
ocaml
REPOS 1

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

W27.2025 · 30 Jun – 6 Julocsigen/js_of_ocaml

Compatibility and Releases

  • js_of_ocaml 6.1.0: Released 2025-07-04. Drops OCaml 4.12, adds initial OCaml 5.4 support, rewrites the inlining pass, and adds the --empty-sourcemap flag. Release notes
  • js_of_ocaml 6.1.0: Runtime uses TextEncoder/TextDecoder for UTF-8/UTF-16 conversion and DataView for float-bit representation. Wasm output is written directly as binary modules. Release notes

Fixes

  • js_of_ocaml code generation: Merged PR removes quadratic behaviour in the expression queue, cutting codegen time by up to 60% on large inputs such as fiat-crypto. #2066
  • js_of_ocaml reserved keywords: Merged PR updates the keyword list to current ECMAScript, removing entries reserved only through ES3 and a duplicate this entry. #2071
  • js_of_ocaml effects: Open bug report notes that raising an effect inside Sys_js.set_channel_filler triggers Stdlib.Effect.Unhandled at toplevel rather than being caught. #2068

Features

  • js_of_ocaml Intl.RelativeTimeFormat: Open PR adds the Intl.RelativeTimeFormat API to the JSOO standard library, per the ECMAScript 402 specification. #2070
  • js_of_ocaml Wasm number unboxing: Open PR skips boxing numbers within a function when the boxed value is never used, improving microbenchmark performance. #2069