Features
-
js_of_ocaml Dom_html: adds
window.matchMediaandMediaQueryListbindings, 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
ocamlc5.3 (#2040, merged 2025-06-12). -
js_of_ocaml wasm: avoids
ref.i31/i31.get_spatterns that Binaryen and V8 do not optimise well (#2032, merged 2025-06-11).