Thicket thicket
ocaml
REPOS 9

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

W24.2025 · 9–15 Junocsigen/js_of_ocaml

Features

  • js_of_ocaml Dom_html: adds window.matchMedia and MediaQueryList bindings, closing a long-standing request (#2017, merged 2025-06-12).

  • js_of_ocaml runtime: merges text encode/decode support into the JS runtime (#1645, merged 2025-06-12).

  • js_of_ocaml wasm: optimises calls to statically known functions by invoking the target directly instead of loading the code pointer from the closure (#2044, merged 2025-06-16).

  • js_of_ocaml wasm: refines local and environment types from initialisation expressions, reducing unnecessary casts from 37 949 to 35 553 on ocamlc.byte (#2041, merged 2025-06-13).

  • js_of_ocaml wasm: uses type analysis to replace JavaScript strict equality with physical equality when neither operand is a JS value, cutting uses from 658 to 190 on ocamlc 5.3 (#2040, merged 2025-06-12).

  • js_of_ocaml wasm: avoids ref.i31/i31.get_s patterns that Binaryen and V8 do not optimise well (#2032, merged 2025-06-11).

Fixes

  • js_of_ocaml wasm: corrects method-lookup in the Wasm runtime (#2038, merged 2025-06-12).

Compatibility

  • js_of_ocaml ppx: test suite now runs against ppxlib.0.36, resolving the tracking issue for that upgrade (#2043, merged 2025-06-13; #2042).