github ocsigen/js_of_ocaml 6.3.0

6 hours ago

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.onload for 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_escape monotonicity
  • Compiler: fix static eval of caml_nativeint_to_int
  • Compiler: remove invalid conditional simplification
  • Lib: fix characterData.substringData method name typo in Dom module
  • Lib: fix various Dom_html bindings (submitEvent, mediaQueryListEvent, pointerEvent, element, inputElement, tableElement types and deprecations)
  • Lib: fix numberList type in Dom_svg to use number_t
  • Lib: fix eventSource.url type to use js_string t
  • Lib: fix file.lastModifiedDate type to use Js.date t, add lastModified
  • Lib: fix Form.get_form_elements infinite loop bug
  • Lib: fix position.timestamp type in Geolocation module
  • Lib: remove non-existent setDay and setUTCDay methods from Js.date
  • Lib: fix _ACTIVE_TEXTURE_ type in WebGL to use textureUnit
  • 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)

Don't miss a new js_of_ocaml release

NewReleases is sending notifications on new releases.