3.5.0
CHANGES:
Features/Changes
- Compiler: Improve testing of the compiler (Ty Overby)
- Compiler: Add several macros for making the runtime easier to maintain (#771) (Ty Overby)
- Compiler: Allow to emit one javascript per compilation unit (#783)
- Compiler: refactoring (#781, #782, #787, #795, #802)
- Compiler: more source map location for the javascript runtime (#795)
- Compiler: tune variable naming (#838)
- Compiler: Work around num lib incompatibility
- Compiler: escape '</' in strings (#899)
- Compiler: speedup toplevel creation
- Runtime: support sharing when marshaling (#814)
- Runtime: add caml_obj_with_tag
- Runtime: support marshaling custom block
- Runtime: complete rewrite of bigarray
- Runtime: complete num implementation
- Runtime: add caml_ba_hash
- Runtime: rewrite polymorphic compare
- Ppx: switch ppx rewriter to the OCaml 4.08 ast
- Misc: Improve CI speed
- Misc: remove ppx_deriving dependency
- Misc: remove cppo dependency
- Misc: remove ppx_tools_versioned dependency in ppx_deriving_json
- Misc: support for ocaml 4.09
- Misc: switch to ocamlformat.0.12
- Misc: many more tests
- Misc: new jsoo_fs tool to embed files in a jsoo pseudo fs.
- Lib: Use expect tests
- Lib: Add support for 'addEventListener' with options (#807)
- Lib: Change api of [Lwt_js_events.async] (#862)
- Lib: Change api of responseText in xmlhttprequest (#863)
- Lib: add resizeObserver bindings
- Lib: Added support for custom events (#877)
- Lib: Added support for focus events (#885)
- Lib: Added
passive
option support forLwt_js_events
module - Lib: Added bindings for pointer events (#894)
Bug fixes
- Compiler: don't generate source if no-source-map passed (#780)
- Compiler: Fix compilation of [Array.set] to return [unit]/0 (#792)
- Compiler: Fix assertion failure (#828)
- Compiler: Fix compilation of exception handlers (#830)
- Compiler: Fix static evaluation of caml_equal (#906)
- Misc: Fix install on windows (#794)
- Lib: Fix Dom_svg.createForeignObject (#756)
- Runtime: Fix caml_obj_tag, causing miscompilation with lazy value (#772)
- Runtime: Fix caml_ml_seek_out, caml_ml_pos_out (#779) (Shachar Itzhaky)
- Runtime: caml_parse_sign_and_base to support unsigned syntax (#792) (Shachar Itzhaky)
- Runtime: fix encoding when printing to stdout (#800)
- Runtime: Handle browserfs in fs_node detection logic (#831)
- Runtime: fix Obj.tag (#832)
- Runtime: fix marshalling of custom blocks (#861)
- Runtime: fix frexp
- Runtime: fix float printing with "%f" and large floats