Releases: ocsigen/js_of_ocaml
Releases · ocsigen/js_of_ocaml
3.10.0
CHANGES:
Features/Changes
- Compiler: add support for OCaml 4.13
- Compiler: new tool to check for missing primitives
- Compiler: drop support for OCaml 4.03 and bellow
- Lib: add offsetX and offsetY to Dom_html.mouseEvent
- Lib: add innerText property for Dom_html
- Runtime: add dummy implementation for many dummy primitives
- Runtime: add runtime for new float operation in 4.13 #1113 (by pmwhite)
Misc
- manual/rev_bindings.wiki: fix compilation error
3.9.1
3.9.0
CHANGES:
Features/Changes
- Lib: add clipboardEvent to Dom_html and update appropriate function signatures
- Lib: add submitEvent to Dom_html and update appropriate function signatures
- Compiler: complete support for OCaml 4.12
- Lib: expose API to attached and retrieve js errors to/from ocaml exceptions
- Lib: intersection observer API fixes
Bug fixes
- Compiler: fix a segmentation fault when
flat-float-array
mode is disabled.
3.8.0
3.7.1
CHANGES:
Features/Changes
Bug fixes
3.7.0
CHANGES:
Features/Changes
- Runtime: allow one to override xmlHttpRequest.create (#1002)
- Runtime: Change the semantic of MlBytes.toString, introduce MlBytes.toUtf16
- Compiler: initial support for OCaml 4.11
- Compiler: initial support for OCaml 4.12
- Compiler: improve the javascript parser by relying on menhir
incremental api. - Compiler: Eliminate allocation of dummy function #1013
Bug fixes
- Compiler: fix code generation for recursive function under for-loops (#1009)
- Compiler: the jsoo compiler compiled to javascript was not behaving correctly
when parsing constant in the from the bytecode - Compiler: make sure inline doesn't loop indefinitly (#1043)
- Compiler: fix bug generating invalid javascript for if-then construct (#1046)
- Compiler: do not use polymorphic comparison when joining float values (#1048)
- Lib: Rename msg to message in Worker (#1037)
- Lib: fix graphics_js when build with separate compilation (#1029)
3.6.0
Features/Changes
- Compiler: change compilation scheme for branches (#948)
- Compiler: Introduce sub-command: link, build-runtime, build-fs (#987)
- Compiler: embed javascript runtime in the compiler (#978)
- Compiler: refactor javascript lexer/parser, add tests (#986)
- Runtime: clean runtime for string vs bytes
- Runtime: remove many old polyfill
- Runtime: add unix_isatty
- Runtime: optimize caml_call_gen (#996)
- Runtime: change representation of int64 (#905)
- Runtime: improve node.js backend for Sys.command (#979)
- Runtime: add javascript runtime for Str (#998)
- Lib: add closest method to element (#930)
- Lib: add several methods and functions to Typed_array (#970)
- Ppx: ppx_js behave better with merlin (#933)
- Misc: Cleanup Meta files (e.g.
js_of_ocaml.tyxml
is no longer valid library name) - Misc: switch to ocamlformat.0.14
Bug fixes
- Compiler: fix vardecl optim (#946)
- Compiler: restore optimization when generating if statements
- Compiler: fix javascript parser in the presence of line directives (#980)
- Runtime: Catch nodejs errors and re-raise them as Sys_error
- Runtime: fix caml_parse_sign_and_base and unsigned syntax
- Runtime: fix caml_js_wrap_meth_callback_strict (#996)
- Runtime: fix over-application of javascript callback (#996)
- Runtime: fix partial-application of javascript callback (#996)
- Runtime: fic caml_js_wrap_meth_callback_unsafe (#996)
- Lib: Fix the type of blur and focus event to be focusEvent (#929)
3.5.2
3.5.1
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