github ocsigen/js_of_ocaml 4.0.0

latest releases: 5.8.2-floats, 5.8.2, 5.8.1...
2 years ago

CHANGES:

Features/Changes

  • Compiler: add --target-env flag, for JS runtime specific compilation targets (#1160).
  • Compiler: static evaluation of backend_type (#1166)
  • Compiler: speedup emitting js files (#1174)
  • Compiler: simplify (a | 0) >>> 0 into (a >>> 0) (#1177)
  • Compiler: improve static evaluation of cond (#1178)
  • Compiler: be more consistent dealing with js vs ocaml strings (#984)
  • Compiler: Compiler: add BigInt to provided symbols (fix #1168) (#1191)
  • Compiler: use globalThis, drop joo_global_object #1193
  • Compiler: new -Werror flag to turn wanrings into errors (#1222)
  • Compiler: make the inlining less agressive, reduce size, improve pref (#1220)
  • Compiler: rename internal library js_of_ocaml-compiler.runtime to js_of_ocaml-compiler.runtime-files
  • Lib: new runtime library to improve compatibility with Brr and gen_js_api
  • Lib: add messageEvent to Dom_html (#1164)
  • Lib: add PerformanceObserver API (#1164)
  • Lib: add CSSStyleDeclaration.{setProperty, getPropertyValue, getPropertyPriority, removeProperty} (#1170)
  • Lib: make window.{inner,outer}{Width,Height} non-optional
  • Lib: introduce Js_of_ocaml.Js_error module, deprecate Js_of_ocaml.Js.Error exception.
  • Lib: add deprecation warning for deprecated code
  • PPX: json can now be derived for mutable records (#1184)
  • Runtime: use crypto.getRandomValues when available (#1209)
  • Misc: move js_of_ocaml-ocamlbuild out to its own repo
  • Misc: add support for OCaml 4.14 (#1173)

Bug fixes

  • Compiler: fix sourcemap warning for empty cma (#1169)
  • Compiler: Strengthen bound checks. (#1172)
  • Compiler: fix --wrap-with-fun under node (#653, #1171)
  • Compiler: fix parsing of annotaions in js stubs (#1212, fix #1213)
  • Ppx: allow apostrophe in lident (fix #1183) (#1192)
  • Runtime: fix float parsing in hexadecimal form
  • Runtime: fix implementation of caml_js_instanceof
  • Graphics: fix mouse_{x,y} (#1206)

Don't miss a new js_of_ocaml release

NewReleases is sending notifications on new releases.