0.24.0 (2023-10-30)
- Update to libbinaryen v114 (#198)
0.23.0 (2023-09-27)
- Remove
type_system
- Remove
string_new_replace
operation - Remove
string_new_replace_array
operation - Upgrade to libbinaryen v113 (#194)
- Add
string_encode_lossy_utf8_array
operation (7d222e0) - Add
string_encode_lossy_utf8
operation (7d222e0) - Add
string_new_lossy_utf8_array
operation (7d222e0) - Add
string_new_lossy_utf8
operation (7d222e0) - Upgrade to libbinaryen v113 (#194) (7d222e0)
- Remove
string_new_replace_array
operation (7d222e0) - Remove
string_new_replace
operation (7d222e0) - Remove
type_system
(7d222e0)
0.22.0 (2023-09-14)
- Rename
dataref
tostructref
- Rename
data
tostruct_
inHeap_type
- Remove
equirecursive
inType_system
- Properly resolve ops externals to their type
- Replace
Expression.Ref.is
withExpression.Ref.is_null
- Remove Ops that no longer exist in Binaryen
- Upgrade to libbinaryen v112 (#188)
- Add i31 expressions (46c97c2)
- Add new Binaryen ops (46c97c2)
- Add new optimization passes (46c97c2)
- Replace
Expression.Ref.is
withExpression.Ref.is_null
(46c97c2) - Upgrade to libbinaryen v112 (#188) (46c97c2)
- Properly resolve ops externals to their type (46c97c2)
- Remove
equirecursive
inType_system
(46c97c2) - Remove Ops that no longer exist in Binaryen (46c97c2)
- Rename
data
tostruct_
inHeap_type
(46c97c2) - Rename
dataref
tostructref
(46c97c2)
0.21.0 (2023-07-04)
- Remove typed_function_reference feature which was removed in Binaryen
- Add memory64 flag to
Memory.set_memory
- Upgrade to libbinaryen v111 (#184)
- Add array, none, noext, and nofunc heap types (f1c9fd7)
- Add arrayref, nullref, null_externref, and null_funcref types (f1c9fd7)
- Add is_64 check for memory (f1c9fd7)
- Add memory64 flag to
Memory.set_memory
(f1c9fd7) - Add multi_memories module feature (f1c9fd7)
- Add new BinaryenOps (f1c9fd7)
- Add new optimization passes (f1c9fd7)
- Add operations on array types (f1c9fd7)
- Add operations on heap types (f1c9fd7)
- Add operations on signature types (f1c9fd7)
- Add operations on struct types (f1c9fd7)
- Upgrade to libbinaryen v111 (#184) (f1c9fd7)
- Widen version range for js_of_ocaml (f1c9fd7)
- Remove typed_function_reference feature which was removed in Binaryen (f1c9fd7)
0.20.1 (2023-01-19)
0.20.0 (2023-01-13)
- Require dune 3.0 to better support js_of_ocaml
- Update memory operations to require memory name
- Remove RttCanon and RttSub expression kinds
- Add optimize argument to StackIR emitting functions
- Require js_of_ocaml 4.1 to ensure optimization fix
- Upgrade to libbinaryen v110 (#173)
- Properly accept the size argument to Memory_init.make (#171)
- Add functions for converting between Types and Heap Types (474e5cd)
- Add operations on Heap Types (474e5cd)
- Add operations on Packed Types (474e5cd)
- Add operations on the Type System (474e5cd)
- Add optimize argument to StackIR emitting functions (474e5cd)
- Add Stringref and Stringview Types (474e5cd)
- Add strings feature (474e5cd)
- Support querying data segments (#176) (5a6141c)
- Update memory operations to require memory name (474e5cd)
- Upgrade to libbinaryen v110 (#173) (474e5cd)
- Remove RttCanon and RttSub expression kinds (474e5cd)
- Require dune 3.0 to better support js_of_ocaml (474e5cd)
- Require js_of_ocaml 4.1 to ensure optimization fix (474e5cd)
0.19.0 (2022-11-19)
- Upgrade to libbinaryen v109 (#165)
- Add
Import.memory_import_get_module
andImport.memory_import_get_base
functions (b584500) - Add function to print StackIR (b584500)
- Add function to write StackIR (b584500)
- Add gsi & spill_pointers passes (b584500)
- Add operations on memory (b584500)
- Upgrade to libbinaryen v109 (#165) (b584500)
0.18.0 (2022-07-05)
- Remove externref type
- Update to libbinaryen v108 (#163)
- Support passive memory segments (#158) (21857f7)
- Add anyref type as replacement for externref type (f0c7d7e)
- Add eqref, i31ref, and dataref types (#162) (b6808ee)
- Remove externref type (f0c7d7e)
- Support passive memory segments (#158) (21857f7)
- Update to libbinaryen v108 (#163) (f0c7d7e)
0.17.1 (2022-06-11)
0.17.0 (2022-05-11)
- Update libbinaryen to 107 (#152)
- Add merge_similar_functions pass (#154) (54b03fd)
- Add signature_pruning pass (#155) (206b6cf)
- Add support for extended_const feature (260c2a1)
- Update libbinaryen to 107 (#152) (260c2a1)
0.16.0 (2022-05-11)
- Restrict OCaml < 4.14 temporarily
- Update libbinaryen to 106 (#151)
- Expression.Return.get_value can be null (#149)
- Restrict OCaml < 4.14 temporarily (453b9de)
0.15.0 (2022-03-16)
- Rename segment name to data (#146)
- Add Passes module & require
Passes.t
inModule.run_passes
(#145) - Remove virtual modules
- Remove the "jsoo hack" API
- Update libbinaryen to v105 (#142)
- Add Passes module & require
Passes.t
inModule.run_passes
(#145) (c3e751c) - Remove the "jsoo hack" API (3c81209)
- Remove unneeded js_of_ocaml & js_of_ocaml-ppx deps (3c81209)
- Remove virtual modules (3c81209)
- Rename segment name to data (#146) (d55e577)
- Rewrite JS bindings as js_of_ocaml externals (3c81209)
- Update libbinaryen to v105 (#142) (3c81209)
- Make memory segments work with js_of_ocaml (3c81209)
0.14.1 (2022-03-08)
0.14.0 (2022-03-04)
- Update libbinaryen to v104 (#138)
0.13.0 (2022-02-07)
- Add all
Module.Features
that were missing (09c5d30) - Add functions for ref & table expressions (09c5d30)
- Upgrade to libbinaryen v103 (#134) (09c5d30)
- Use a upload-release-action that works (97dbcdc)
0.12.1 (2022-02-03)
- Restrict js_of_ocaml to version 3 (fa39480)
- Fix release version (5d1bd42)
0.12.0 (2022-01-26)
- Add table type to add_table signature
- Rename Event to Tag to match Binaryen
- Add table type to add_table signature (5c50272)
- Add update_maps function that Binaryen added (5c50272)
- Rename Event to Tag to match Binaryen (5c50272)
- Upgrade to libbinaryen v102 (#120) (5c50272)
0.11.2 (2022-01-24)
0.11.1 (2022-01-16)
0.11.0 (2022-01-13)
- Mention implicit python dependency in the docs
- Switch to libbinaryen dependency (#113)
- Remove MacOS-specific library flags (#111)
- Require OCaml 4.12 (#108)
- Depend on libbinaryen (59874ce)
- Remove MacOS-specific library flags (#111) (5a67f9f)
- Require OCaml 4.12 (#108) (36eedea)
- Switch to libbinaryen dependency (#113) (59874ce)
- Mention implicit python dependency in the docs (59874ce)
0.10.0 (2021-05-09)
- Move expressions into namespaces
- Move element segment into own module
- Move
Features
intoModule.Feature
- Create Settings modules & move global functions
- Convert some Settings from ints to bools
- Remove SIMD methods that Binaryen replaced
- Upgrade Binaryen to v101 (#99)
- Add
Module.get_features
(3de1b28) - Add
Type.expandType
(3de1b28) - Add operations on element segments (3de1b28)
- Add operations on exports (3de1b28)
- Add operations on expressions (3de1b28)
- Add operations on functions (3de1b28)
- Add operations on globals (3de1b28)
- Add operations on imports (3de1b28)
- Add support for reference types (#101) (5058492)
- Build vendored Binaryen with GCC 7 instead of 9 (3de1b28)
- Convert some Settings from ints to bools (3de1b28)
- Create Settings modules & move global functions (3de1b28)
- Move
Features
intoModule.Feature
(3de1b28) - Move element segment into own module (3de1b28)
- Move expressions into namespaces (3de1b28)
- Upgrade Binaryen to v101 (#99) (3de1b28)
- Remove SIMD methods that Binaryen replaced (3de1b28)
0.9.1 (2021-04-02)
0.9.0 (2021-03-17)
- js: cast the call_indirect string arguments to JS strings (7b4136a)
- js: utilize JSOO externals to convert between uint8array & bytes (#85) (61d28c5)
- return JS null value from Expression.null (#83) (61861e2)
- fix formatter & format the code (#80) (b9c485a)
- set dune language to the version of dune we use (e9eb5c9)
- use test file directly in one rule so ocaml-lsp works (34b7a13)
0.8.1 (2021-03-09)
0.8.0 (2021-03-05)
- Table name must now be provided to the
Expression.call_indirect
andExpression.return_call_indirect
instructions.
0.7.0 (2021-02-24)
- memory_size and memory_grow are now toplevel functions in
Expression
. - removed
Type.nullref
,Type.exnref
- removed
Op.any_true_vec_i64x2
andOp.all_true_vec_i64x2
- Bump to Binaryen 98
- Bump to Binaryen 98 (9a52a07)
- add opam & npm releases to workflow (#69) (d339608)
- run opam build on ubuntu 18 instead of 20 (#67) (7ee2009)
- memory_size and memory_grow are now toplevel functions in
Expression
. (9a52a07) - removed
Op.any_true_vec_i64x2
andOp.all_true_vec_i64x2
(9a52a07) - removed
Type.nullref
,Type.exnref
(9a52a07)
0.6.0 (2021-01-24)
0.5.0 (2021-01-12)
- Allow optional return_type parameter when creating blocks (ab737bd)
- add arch & os restrictions for opam (#41) (421b45d)
- provide type to select instruction (#46) (2096a3c)