Skip to content

Releases: grain-lang/binaryen.ml

binaryen.ml v0.10.0

09 May 23:23
77cafe9
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Move expressions into namespaces
  • Move element segment into own module
  • Move Features into Module.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)

Features

  • 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 into Module.Feature (3de1b28)
  • Move element segment into own module (3de1b28)
  • Move expressions into namespaces (3de1b28)
  • Upgrade Binaryen to v101 (#99) (3de1b28)

Miscellaneous Chores

  • Remove SIMD methods that Binaryen replaced (3de1b28)

binaryen.ml v0.9.1

02 Apr 23:31
61cf08f
Compare
Choose a tag to compare

Bug Fixes

  • Correct JS conversion of i64 & float64_bits literals (#96) (00b7093)

binaryen.ml v0.9.0

17 Mar 04:45
c9a33da
Compare
Choose a tag to compare

Features

  • add Function_table.unlimited constant (#87) (0d2fcde)
  • write bindings for add_table (6dc0fa8)

Bug Fixes

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

Miscellaneous Chores

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

Documentation

  • cleanup Binaryen submodule & building language (closes #65) (3bdb23d)

binaryen.ml v0.8.1

09 Mar 03:45
0160a5a
Compare
Choose a tag to compare

Bug Fixes

Continuous Integration

  • write opam CHANGES from environment var (#78) (4f25e0e)

binaryen.ml v0.8.0

05 Mar 18:15
fb07aba
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Table name must now be provided to the Expression.call_indirect and Expression.return_call_indirect instructions.

Features

Continuous Integration

  • fix markdown escaping for opam release (#72) (a2e6052)

Miscellaneous Chores

binaryen.ml v0.7.0

24 Feb 22:13
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • memory_size and memory_grow are now toplevel functions in Expression.
  • removed Type.nullref, Type.exnref
  • removed Op.any_true_vec_i64x2 and Op.all_true_vec_i64x2
  • Bump to Binaryen 98

Features

Continuous Integration

  • add opam & npm releases to workflow (#69) (d339608)
  • run opam build on ubuntu 18 instead of 20 (#67) (7ee2009)

Miscellaneous Chores

  • memory_size and memory_grow are now toplevel functions in Expression. (9a52a07)
  • removed Op.any_true_vec_i64x2 and Op.all_true_vec_i64x2 (9a52a07)
  • removed Type.nullref, Type.exnref (9a52a07)

binaryen.ml v0.6.0

24 Jan 23:23
3935155
Compare
Choose a tag to compare

Features

binaryen.ml v0.5.0

12 Jan 20:39
2732de5
Compare
Choose a tag to compare

Features

  • Allow optional return_type parameter when creating blocks (ab737bd)

Bug Fixes

  • add arch & os restrictions for opam (#41) (421b45d)
  • provide type to select instruction (#46) (2096a3c)

Documentation

  • add section about static linking (#37) (f9afda1)

Miscellaneous Chores

  • Add --no-browser flag to opam-publish (#43) (f47f2bb)
  • Switch back to official setup-opam action (#44) (f4338bd)

Continuous Integration

v0.4.0

25 Nov 03:27
a320807
Compare
Choose a tag to compare

Changes in this Release

  • Upgrade Binaryen to v95
  • Add Windows support
  • Vendor prebuilt Binaryen for Windows, MacOS, and Linux

v0.3.0

09 Sep 21:50
Compare
Choose a tag to compare

Changes in this Release

  • Implemented Dune "Virtual Interfaces" to support native & JS bindings
  • Added JS bindings to binaryen.js
  • Added Memory.unlimited constant for unlimited memory
  • Automated opam publish workflow