CHANGES:
Features/Changes
- Misc: install shell completion script generated by cmdliner (#2140)
- Compiler/wasm: omit code pointer from closures when not used (#2059, #2093)
- Compiler/wasm: number unboxing (#2069, #2101)
- Compiler/wasm: specialization of number comparisons and bigarray operations (#1954)
- Compiler/wasm: make the type of some Wasm primitives more precise (#2100)
- Compiler: reference unboxing (#1958)
- Compiler: js-parser: support import/export with attributes
- Compiler: js-parser: support 'using X = E' for resource management (#2143)
- Compiler: js-parser: support decorators
- Compiler: js-parser: support html-comments
- Compiler: avoid unnecessary boolean-to-integer conversions (#2168)
- Runtime: improved handling of NaNs (#2110)
- Lib: allow to reference values from the runtime (#2086)
- Lib: add
Dom_html.onloadfor WASM-safe load handling (#1948) - Runtime: make eval functions more robust (#2108)
- Compiler: added a constant sinking pass (#2167)
Bug fixes
- Compiler: fix
Global_flow.do_escapemonotonicity - Compiler: fix static eval of
caml_nativeint_to_int - Compiler: remove invalid conditional simplification
- Lib: fix
characterData.substringDatamethod name typo in Dom module - Lib: fix various Dom_html bindings (submitEvent, mediaQueryListEvent, pointerEvent, element, inputElement, tableElement types and deprecations)
- Lib: fix
numberListtype in Dom_svg to usenumber_t - Lib: fix
eventSource.urltype to usejs_string t - Lib: fix
file.lastModifiedDatetype to useJs.date t, addlastModified - Lib: fix
Form.get_form_elementsinfinite loop bug - Lib: fix
position.timestamptype in Geolocation module - Lib: remove non-existent
setDayandsetUTCDaymethods fromJs.date - Lib: fix
_ACTIVE_TEXTURE_type in WebGL to usetextureUnit - Compiler: fix purity of comparison functions (again) (#2092)
- Compiler: fix inlining (#2107)
- Compiler: allow arrow functions in for loops
- Ppx: disable spurious warning for unused "self" in object literal (#2128)
- Ppx: fix labelled arguments for methods (#2126)
- Runtime/wasm: fix Unix.times (#2096)
- Runtime: runtime with target-env=browser should not rely on "require(..)" (#2129)
- Runtime: fix fake filesystem with path containing special regexp chars. (#2132)
- Runtime/wasm: fix unmarshalling of compressed data (#2141)
- Runtime: fix compilation of loops at start of exception handlers (#2151)
- Compiler: fix parallel renaming (#2156)