Skip to content

Releases: grain-lang/binaryen.ml

v0.24.0

31 Oct 23:37
acd331b
Compare
Choose a tag to compare

0.24.0 (2023-10-30)

⚠ BREAKING CHANGES

  • Update to libbinaryen v114 (#198)

Features

v0.23.0

27 Sep 20:12
74c8ce4
Compare
Choose a tag to compare

0.23.0 (2023-09-27)

⚠ BREAKING CHANGES

  • Remove type_system
  • Remove string_new_replace operation
  • Remove string_new_replace_array operation
  • Upgrade to libbinaryen v113 (#194)

Features

  • 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)

Miscellaneous Chores

  • Remove string_new_replace_array operation (7d222e0)
  • Remove string_new_replace operation (7d222e0)
  • Remove type_system (7d222e0)

v0.22.0

14 Sep 22:28
b35266c
Compare
Choose a tag to compare

0.22.0 (2023-09-14)

⚠ BREAKING CHANGES

  • Rename dataref to structref
  • Rename data to struct_ in Heap_type
  • Remove equirecursive in Type_system
  • Properly resolve ops externals to their type
  • Replace Expression.Ref.is with Expression.Ref.is_null
  • Remove Ops that no longer exist in Binaryen
  • Upgrade to libbinaryen v112 (#188)

Features

  • Add i31 expressions (46c97c2)
  • Add new Binaryen ops (46c97c2)
  • Add new optimization passes (46c97c2)
  • Replace Expression.Ref.is with Expression.Ref.is_null (46c97c2)
  • Upgrade to libbinaryen v112 (#188) (46c97c2)

Bug Fixes

  • Properly resolve ops externals to their type (46c97c2)

Miscellaneous Chores

  • Remove equirecursive in Type_system (46c97c2)
  • Remove Ops that no longer exist in Binaryen (46c97c2)
  • Rename data to struct_ in Heap_type (46c97c2)
  • Rename dataref to structref (46c97c2)

v0.21.0

05 Jul 01:16
a39f908
Compare
Choose a tag to compare

0.21.0 (2023-07-04)

⚠ BREAKING CHANGES

  • Remove typed_function_reference feature which was removed in Binaryen
  • Add memory64 flag to Memory.set_memory
  • Upgrade to libbinaryen v111 (#184)

Features

  • 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)

Miscellaneous Chores

  • Remove typed_function_reference feature which was removed in Binaryen (f1c9fd7)

v0.20.1

19 Jan 01:54
3fcbb1b
Compare
Choose a tag to compare

0.20.1 (2023-01-19)

Features

Bug Fixes

  • Properly handle load & store instructions in JS (#178) (becd3b8)

v0.20.0

14 Jan 18:31
65e0015
Compare
Choose a tag to compare

0.20.0 (2023-01-13)

⚠ BREAKING CHANGES

  • 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)

Features

  • 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)

Bug Fixes

  • Properly accept the size argument to Memory_init.make (#171) (9ea20fe)

Miscellaneous Chores

  • 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)

v0.19.0

19 Nov 20:50
8950965
Compare
Choose a tag to compare

0.19.0 (2022-11-19)

⚠ BREAKING CHANGES

  • Upgrade to libbinaryen v109 (#165)

Features

  • Add Import.memory_import_get_module and Import.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)

v0.18.0

06 Jul 17:52
6d0e564
Compare
Choose a tag to compare

0.18.0 (2022-07-05)

⚠ BREAKING CHANGES

  • Remove externref type
  • Update to libbinaryen v108 (#163)
  • Support passive memory segments (#158)

Features

  • 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)

Bug Fixes

  • Convert JSOO lists to JS arrays before working with them (#161) (e4931f0)

v0.17.1

12 Jun 01:14
ea6e1b0
Compare
Choose a tag to compare

0.17.1 (2022-06-11)

Bug Fixes

v0.17.0

12 May 00:34
50556b2
Compare
Choose a tag to compare

0.17.0 (2022-05-11)

⚠ BREAKING CHANGES

  • Update libbinaryen to 107 (#152)

Features