github ocsigen/js_of_ocaml 4.1.0

latest releases: 5.8.2-floats, 5.8.2, 5.8.1...
22 months ago

CHANGES:

Features/Changes

  • Compiler: initial support for OCaml 5 (#1265,#1303)
  • Compiler: bump magic number to match the 5.0.0~alpha0 release (#1288)
  • Compiler: complain when runtime and compiler built-in primitives disagree (#1312)
  • Compiler: more efficient implementation of Js_traverse.freevar
  • Compiler: more efficient implementation of Js_traverse.rename_variable
  • Compiler: --linkall now export all compilation units in addition to primitives (#1324)
  • Compiler: improve --dynlink, one no longer need to pass --toplevel to use Dynlink (#1324)
  • Compiler: toplevel runtime files "+toplevel.js" and "+dynlink.js" are added automatically (#1324)
  • Misc: switch to cmdliner.1.1.0
  • Misc: remove old binaries jsoo_link, jsoo_fs
  • Misc: remove uchar dep
  • Misc: use 4.14 in the CI
  • Misc: switch to dune 3
  • Lib: add missing options for Intl.DateTimeFormat
  • Lib: add missing options for Intl.NumberFormat
  • Lib: wheel event binding
  • Lib: add normalize in js_string (ES6)
  • Lib: more complete transition event bindings
  • Lib: remove support for old browser-specific transition events
  • Runtime: Implement weak semantic for weak and ephemeron
  • Runtime: Implement Gc.finalise_last
  • Runtime: Implement buffer for in_channels
  • Runtime: add support for unix_opendir, unix_readdir, unix_closedir, win_findfirst, win_findnext, win_findclose
  • Runtime: Dont use require when target-env is browser
  • Runtime: Implements Parsing.set_trace (#1308)
  • Test: track external used in the stdlib and unix

Bug fixes

  • Compiler: fix quadratic behavior of dominance frontier (fix #1300)
  • Compiler: fix rewriter bug in share_constant (fix #1247)
  • Compiler: fix miscompilation of mutually recursive functions in loop (#1321)
  • Compiler: fix bug while minifying/renaming try-catch blocks
  • Compiler: no dead code elimination for caml_js_get
  • Runtime: fix ocamlyacc parse engine (#1307)
  • Runtime: fix Out_channel.is_buffered, set_buffered
  • Runtime: fix format wrt alternative
  • Runtime: fix Digest.channel
  • Runtime: sync channel seek / pos with the native runtime
  • Misc: fix installation with dune 3 without opam
  • Node: Only write small chunks to stdout/stderr so they flush
  • Deriving: fix for nested polymorphic variants

Don't miss a new js_of_ocaml release

NewReleases is sending notifications on new releases.