From c49c794dfcd3f04937edbe2a440065a41db91e46 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 18:17:22 +0000 Subject: [PATCH] chore(master): Release 0.13.0 --- CHANGELOG.md | 217 ++++++++++++++++++++++++++++++++++++++++++++++++++ binaryen.opam | 2 +- package.json | 2 +- 3 files changed, 219 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ab78a0..f85f818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,222 @@ # Changelog +## [0.13.0](https://github.com/spotandjake/binaryen.ml/compare/v0.27.0...v0.13.0) (2025-10-29) + + +### ⚠ BREAKING CHANGES + +* Upgrade to Binaryen v117 ([#225](https://github.com/spotandjake/binaryen.ml/issues/225)) +* Require jsoo >= 6.0 ([#211](https://github.com/spotandjake/binaryen.ml/issues/211)) +* Require node `22` or above ([#219](https://github.com/spotandjake/binaryen.ml/issues/219)) +* Upgrade to Binaryen v116 ([#202](https://github.com/spotandjake/binaryen.ml/issues/202)) +* Upgrade to Binaryen v115 ([#200](https://github.com/spotandjake/binaryen.ml/issues/200)) +* Drop support for OCaml 4.12 +* Pin CI dependencies and require Node 22 ([#214](https://github.com/spotandjake/binaryen.ml/issues/214)) +* Update to libbinaryen v114 ([#198](https://github.com/spotandjake/binaryen.ml/issues/198)) +* Remove `type_system` +* Remove `string_new_replace` operation +* Remove `string_new_replace_array` operation +* Upgrade to libbinaryen v113 ([#194](https://github.com/spotandjake/binaryen.ml/issues/194)) +* 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](https://github.com/spotandjake/binaryen.ml/issues/188)) +* Remove typed_function_reference feature which was removed in Binaryen +* Add memory64 flag to `Memory.set_memory` +* Upgrade to libbinaryen v111 ([#184](https://github.com/spotandjake/binaryen.ml/issues/184)) +* 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](https://github.com/spotandjake/binaryen.ml/issues/173)) +* Properly accept the size argument to Memory_init.make ([#171](https://github.com/spotandjake/binaryen.ml/issues/171)) +* Upgrade to libbinaryen v109 ([#165](https://github.com/spotandjake/binaryen.ml/issues/165)) +* Remove externref type +* Update to libbinaryen v108 ([#163](https://github.com/spotandjake/binaryen.ml/issues/163)) +* Support passive memory segments ([#158](https://github.com/spotandjake/binaryen.ml/issues/158)) +* Update libbinaryen to 107 ([#152](https://github.com/spotandjake/binaryen.ml/issues/152)) +* Restrict OCaml < 4.14 temporarily +* Update libbinaryen to 106 ([#151](https://github.com/spotandjake/binaryen.ml/issues/151)) +* Expression.Return.get_value can be null ([#149](https://github.com/spotandjake/binaryen.ml/issues/149)) +* Rename segment name to data ([#146](https://github.com/spotandjake/binaryen.ml/issues/146)) +* Add Passes module & require `Passes.t` in `Module.run_passes` ([#145](https://github.com/spotandjake/binaryen.ml/issues/145)) +* Remove virtual modules +* Remove the "jsoo hack" API +* Update libbinaryen to v105 ([#142](https://github.com/spotandjake/binaryen.ml/issues/142)) +* Update libbinaryen to v104 ([#138](https://github.com/spotandjake/binaryen.ml/issues/138)) +* Add table type to add_table signature +* Rename Event to Tag to match Binaryen +* Mention implicit python dependency in the docs +* Switch to libbinaryen dependency ([#113](https://github.com/spotandjake/binaryen.ml/issues/113)) +* Remove MacOS-specific library flags ([#111](https://github.com/spotandjake/binaryen.ml/issues/111)) +* Require OCaml 4.12 ([#108](https://github.com/spotandjake/binaryen.ml/issues/108)) +* 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](https://github.com/spotandjake/binaryen.ml/issues/99)) +* Table name must now be provided to the `Expression.call_indirect` and `Expression.return_call_indirect` instructions. +* 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 +* upgrade to binaryen v95 & vendor prebuilt artifacts ([#34](https://github.com/spotandjake/binaryen.ml/issues/34)) + +### Features + +* Add `Import.memory_import_get_module` and `Import.memory_import_get_base` functions ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* Add `Module.get_features` ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add `string_encode_lossy_utf8_array` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Add `string_encode_lossy_utf8` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Add `string_new_lossy_utf8_array` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Add `string_new_lossy_utf8` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Add `Type.expandType` ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add all `Module.Features` that were missing ([09c5d30](https://github.com/spotandjake/binaryen.ml/commit/09c5d3064e9fd80ea6adac8b2f40cf2b708ebb8c)) +* Add anyref type as replacement for externref type ([f0c7d7e](https://github.com/spotandjake/binaryen.ml/commit/f0c7d7e5aaad93eb75ad850387730a245db3a545)) +* Add array, none, noext, and nofunc heap types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add arrayref, nullref, null_externref, and null_funcref types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add eqref, i31ref, and dataref types ([#162](https://github.com/spotandjake/binaryen.ml/issues/162)) ([b6808ee](https://github.com/spotandjake/binaryen.ml/commit/b6808ee4422a68aa27114573e642b2467df9cc3c)) +* Add function to print StackIR ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* Add function to write StackIR ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* add Function_table.unlimited constant ([#87](https://github.com/spotandjake/binaryen.ml/issues/87)) ([0d2fcde](https://github.com/spotandjake/binaryen.ml/commit/0d2fcde007b77e6edd5c66975fd7a611ae9a8ef8)) +* Add functions for converting between Types and Heap Types ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add functions for ref & table expressions ([09c5d30](https://github.com/spotandjake/binaryen.ml/commit/09c5d3064e9fd80ea6adac8b2f40cf2b708ebb8c)) +* Add gsi & spill_pointers passes ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* Add gufa & gufa_optimizing passes ([#180](https://github.com/spotandjake/binaryen.ml/issues/180)) ([7395a1f](https://github.com/spotandjake/binaryen.ml/commit/7395a1fe0591a835eeeeb6e6e58c28c32b69342d)) +* Add i31 expressions ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Add is_64 check for memory ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add memory64 flag to `Memory.set_memory` ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add merge_similar_functions pass ([#154](https://github.com/spotandjake/binaryen.ml/issues/154)) ([54b03fd](https://github.com/spotandjake/binaryen.ml/commit/54b03fd854311f49aa1821868a8265116be922c2)) +* Add multi_memories module feature ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add new Binaryen ops ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Add new BinaryenOps ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add new optimization passes ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Add new optimization passes ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add operations on array types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add operations on element segments ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on exports ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on expressions ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on functions ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on globals ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on heap types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add operations on Heap Types ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add operations on imports ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Add operations on memory ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* Add operations on Packed Types ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add operations on signature types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add operations on struct types ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Add operations on the Type System ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add optimize argument to StackIR emitting functions ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add Passes module & require `Passes.t` in `Module.run_passes` ([#145](https://github.com/spotandjake/binaryen.ml/issues/145)) ([c3e751c](https://github.com/spotandjake/binaryen.ml/commit/c3e751c4f869b9481e18c85a525100fbdcfa9072)) +* Add signature_pruning pass ([#155](https://github.com/spotandjake/binaryen.ml/issues/155)) ([206b6cf](https://github.com/spotandjake/binaryen.ml/commit/206b6cf0ade48a778f4e991cf5d2ab0daf559bf8)) +* Add Stringref and Stringview Types ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add strings feature ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Add support for extended_const feature ([260c2a1](https://github.com/spotandjake/binaryen.ml/commit/260c2a131a08720eac0f21abf68689fd201eb753)) +* Add support for reference types ([#101](https://github.com/spotandjake/binaryen.ml/issues/101)) ([5058492](https://github.com/spotandjake/binaryen.ml/commit/50584929466b7aae5f7c9b48b8b9bab5676ed53e)) +* Add table type to add_table signature ([5c50272](https://github.com/spotandjake/binaryen.ml/commit/5c502720943a8bf6e649891051db00336eec9451)) +* Add update_maps function that Binaryen added ([5c50272](https://github.com/spotandjake/binaryen.ml/commit/5c502720943a8bf6e649891051db00336eec9451)) +* Allow optional return_type parameter when creating blocks ([ab737bd](https://github.com/spotandjake/binaryen.ml/commit/ab737bd4940a4534a84d1dcff2d0a42cd49cdd38)) +* Allow signed narrow-width loads ([#62](https://github.com/spotandjake/binaryen.ml/issues/62)) ([6448aeb](https://github.com/spotandjake/binaryen.ml/commit/6448aeb4ae00a07c98b0386fc1a82f6b653ac2c0)) +* Build vendored Binaryen with GCC 7 instead of 9 ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Bump to Binaryen 98 ([9a52a07](https://github.com/spotandjake/binaryen.ml/commit/9a52a077051441f8b0999bad1d77a8d3a6357460)) +* **ci:** Upgrade release-please ([#131](https://github.com/spotandjake/binaryen.ml/issues/131)) ([ca3bdb7](https://github.com/spotandjake/binaryen.ml/commit/ca3bdb7aa324a013205a80759bcc733fea64ae4a)) +* Convert some Settings from ints to bools ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Create Settings modules & move global functions ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Depend on libbinaryen ([59874ce](https://github.com/spotandjake/binaryen.ml/commit/59874ce785288d4a33ed5408ac4a0a33e16ff4c1)) +* Move `Features` into `Module.Feature` ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Move element segment into own module ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Move expressions into namespaces ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Remove externref type ([f0c7d7e](https://github.com/spotandjake/binaryen.ml/commit/f0c7d7e5aaad93eb75ad850387730a245db3a545)) +* Remove MacOS-specific library flags ([#111](https://github.com/spotandjake/binaryen.ml/issues/111)) ([5a67f9f](https://github.com/spotandjake/binaryen.ml/commit/5a67f9f330332f8957976841819707d09124dc94)) +* Remove the "jsoo hack" API ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Remove unneeded js_of_ocaml & js_of_ocaml-ppx deps ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Remove virtual modules ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Rename Event to Tag to match Binaryen ([5c50272](https://github.com/spotandjake/binaryen.ml/commit/5c502720943a8bf6e649891051db00336eec9451)) +* Rename segment name to data ([#146](https://github.com/spotandjake/binaryen.ml/issues/146)) ([d55e577](https://github.com/spotandjake/binaryen.ml/commit/d55e5773d39fd5f21f556e0f5493d6c60bbc2198)) +* Replace `Expression.Ref.is` with `Expression.Ref.is_null` ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Require OCaml 4.12 ([#108](https://github.com/spotandjake/binaryen.ml/issues/108)) ([36eedea](https://github.com/spotandjake/binaryen.ml/commit/36eedea279fb19ee6131b72b21c24ba0a9d7f993)) +* Rewrite JS bindings as js_of_ocaml externals ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Support passive memory segments ([#158](https://github.com/spotandjake/binaryen.ml/issues/158)) ([21857f7](https://github.com/spotandjake/binaryen.ml/commit/21857f7cf653a52e558fb7ffaa5a1e6042e895a0)) +* Support querying data segments ([#176](https://github.com/spotandjake/binaryen.ml/issues/176)) ([5a6141c](https://github.com/spotandjake/binaryen.ml/commit/5a6141cd585e5030f74ebdaaee1e664b4339c17e)) +* Switch to libbinaryen dependency ([#113](https://github.com/spotandjake/binaryen.ml/issues/113)) ([59874ce](https://github.com/spotandjake/binaryen.ml/commit/59874ce785288d4a33ed5408ac4a0a33e16ff4c1)) +* Update libbinaryen to 106 ([#151](https://github.com/spotandjake/binaryen.ml/issues/151)) ([453b9de](https://github.com/spotandjake/binaryen.ml/commit/453b9dea8f0bda026b70f67d7c99311f9f6601e3)) +* Update libbinaryen to 107 ([#152](https://github.com/spotandjake/binaryen.ml/issues/152)) ([260c2a1](https://github.com/spotandjake/binaryen.ml/commit/260c2a131a08720eac0f21abf68689fd201eb753)) +* Update libbinaryen to v104 ([#138](https://github.com/spotandjake/binaryen.ml/issues/138)) ([81addf7](https://github.com/spotandjake/binaryen.ml/commit/81addf76dcc21dc1681b5a29b80ba31522911047)) +* Update libbinaryen to v105 ([#142](https://github.com/spotandjake/binaryen.ml/issues/142)) ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Update memory operations to require memory name ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Update to libbinaryen v108 ([#163](https://github.com/spotandjake/binaryen.ml/issues/163)) ([f0c7d7e](https://github.com/spotandjake/binaryen.ml/commit/f0c7d7e5aaad93eb75ad850387730a245db3a545)) +* Update to libbinaryen v114 ([#198](https://github.com/spotandjake/binaryen.ml/issues/198)) ([d11b8e1](https://github.com/spotandjake/binaryen.ml/commit/d11b8e1fae530fe36439805576f8103aafc34583)) +* Upgrade Binaryen to v101 ([#99](https://github.com/spotandjake/binaryen.ml/issues/99)) ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Upgrade to Binaryen 100 ([#75](https://github.com/spotandjake/binaryen.ml/issues/75)) ([d59f5f9](https://github.com/spotandjake/binaryen.ml/commit/d59f5f9fb5356f4ccd7f4a7fefe15d5d4b721412)) +* Upgrade to Binaryen v115 ([#200](https://github.com/spotandjake/binaryen.ml/issues/200)) ([e35c596](https://github.com/spotandjake/binaryen.ml/commit/e35c596aae01935b88aa3bbda5078517b1fae36a)) +* Upgrade to Binaryen v116 ([#202](https://github.com/spotandjake/binaryen.ml/issues/202)) ([44bdd2a](https://github.com/spotandjake/binaryen.ml/commit/44bdd2a276b1478e0d5eb74cbd5135fdf504abcc)) +* Upgrade to Binaryen v117 ([#225](https://github.com/spotandjake/binaryen.ml/issues/225)) ([246d9fc](https://github.com/spotandjake/binaryen.ml/commit/246d9fc365bdfd40d8631e3a3b6ddd92efbb8fad)) +* upgrade to binaryen v95 & vendor prebuilt artifacts ([#34](https://github.com/spotandjake/binaryen.ml/issues/34)) ([a10a41d](https://github.com/spotandjake/binaryen.ml/commit/a10a41d6bed2bbe8dbf0e9a973f1d9a8f844a44e)) +* Upgrade to libbinaryen v102 ([#120](https://github.com/spotandjake/binaryen.ml/issues/120)) ([5c50272](https://github.com/spotandjake/binaryen.ml/commit/5c502720943a8bf6e649891051db00336eec9451)) +* Upgrade to libbinaryen v103 ([#134](https://github.com/spotandjake/binaryen.ml/issues/134)) ([09c5d30](https://github.com/spotandjake/binaryen.ml/commit/09c5d3064e9fd80ea6adac8b2f40cf2b708ebb8c)) +* Upgrade to libbinaryen v109 ([#165](https://github.com/spotandjake/binaryen.ml/issues/165)) ([b584500](https://github.com/spotandjake/binaryen.ml/commit/b5845005bd20c3813db11bebb9b47ad616c01c5d)) +* Upgrade to libbinaryen v110 ([#173](https://github.com/spotandjake/binaryen.ml/issues/173)) ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Upgrade to libbinaryen v111 ([#184](https://github.com/spotandjake/binaryen.ml/issues/184)) ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* Upgrade to libbinaryen v112 ([#188](https://github.com/spotandjake/binaryen.ml/issues/188)) ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Upgrade to libbinaryen v113 ([#194](https://github.com/spotandjake/binaryen.ml/issues/194)) ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Widen version range for js_of_ocaml ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* write bindings for add_table ([6dc0fa8](https://github.com/spotandjake/binaryen.ml/commit/6dc0fa83d5873630cf7a0a6f2895600c68ad4f30)) + + +### Bug Fixes + +* add arch & os restrictions for opam ([#41](https://github.com/spotandjake/binaryen.ml/issues/41)) ([421b45d](https://github.com/spotandjake/binaryen.ml/commit/421b45d152bf8c5e15ba55e60357ab6c2d7a25f4)) +* Convert JSOO lists to JS arrays before working with them ([#161](https://github.com/spotandjake/binaryen.ml/issues/161)) ([e4931f0](https://github.com/spotandjake/binaryen.ml/commit/e4931f00cffccefd5918b94b17b18883e120e444)) +* Correct JS conversion of i64 & float64_bits literals ([#96](https://github.com/spotandjake/binaryen.ml/issues/96)) ([00b7093](https://github.com/spotandjake/binaryen.ml/commit/00b7093ad57c7698ff7f6e69f59fd426ee341fbf)) +* Expression.Return.get_value can be null ([#149](https://github.com/spotandjake/binaryen.ml/issues/149)) ([559341d](https://github.com/spotandjake/binaryen.ml/commit/559341d13a7ba5abb8521f6d0d982d4f25b86ce0)) +* Handle JS global in non-node environments ([#125](https://github.com/spotandjake/binaryen.ml/issues/125)) ([74e94fe](https://github.com/spotandjake/binaryen.ml/commit/74e94fe8ac7b2c2a66b8118b5eaa3a81e5f9296a)) +* **js:** cast the call_indirect string arguments to JS strings ([7b4136a](https://github.com/spotandjake/binaryen.ml/commit/7b4136a2e2fdae3efd85351dc40aad2ad4c3ed3e)) +* **js:** utilize JSOO externals to convert between uint8array & bytes ([#85](https://github.com/spotandjake/binaryen.ml/issues/85)) ([61d28c5](https://github.com/spotandjake/binaryen.ml/commit/61d28c5e7e6ca6217759a75e2c96e7cb5c1b3d45)) +* Make features work in 32-bit mode ([#123](https://github.com/spotandjake/binaryen.ml/issues/123)) ([e435c8b](https://github.com/spotandjake/binaryen.ml/commit/e435c8bd9f6619c42b82e53e5d1caa929b5d4ebf)) +* Make memory segments work with js_of_ocaml ([3c81209](https://github.com/spotandjake/binaryen.ml/commit/3c81209763e3d09d51a5ab68ebd705582fe02c54)) +* Module.optimize on macOS ([#77](https://github.com/spotandjake/binaryen.ml/issues/77)) ([0b92043](https://github.com/spotandjake/binaryen.ml/commit/0b920431372119d92b0077f51b91ca745fbfde87)) +* Properly accept the size argument to Memory_init.make ([#171](https://github.com/spotandjake/binaryen.ml/issues/171)) ([9ea20fe](https://github.com/spotandjake/binaryen.ml/commit/9ea20fe141f4f39697382c786c8d7f13290ff26d)) +* Properly handle load & store instructions in JS ([#178](https://github.com/spotandjake/binaryen.ml/issues/178)) ([becd3b8](https://github.com/spotandjake/binaryen.ml/commit/becd3b82ac31c7f2ba1055b320c7ff537b58d971)) +* Properly resolve ops externals to their type ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* provide type to select instruction ([#46](https://github.com/spotandjake/binaryen.ml/issues/46)) ([2096a3c](https://github.com/spotandjake/binaryen.ml/commit/2096a3c2a219212519be3498c831d2e9d234a0ee)) +* Remove upper bounds on dependencies ([#156](https://github.com/spotandjake/binaryen.ml/issues/156)) ([9ae4015](https://github.com/spotandjake/binaryen.ml/commit/9ae4015a4af6233e38d96a6f2ebabe55313fb8ea)) +* Restrict js_of_ocaml to version 3 ([fa39480](https://github.com/spotandjake/binaryen.ml/commit/fa39480fc74b19cf7052ec5c0764ee58b5783549)) +* return JS null value from Expression.null ([#83](https://github.com/spotandjake/binaryen.ml/issues/83)) ([61861e2](https://github.com/spotandjake/binaryen.ml/commit/61861e2590816bccc5c6c17a2a5b77f3a3db3779)) +* Update binaryen JS to v104 ([#140](https://github.com/spotandjake/binaryen.ml/issues/140)) ([eb9049e](https://github.com/spotandjake/binaryen.ml/commit/eb9049e4ec0ec2406e72c5bb9190b993a187f2d0)) + + +### Miscellaneous Chores + +* Drop support for OCaml 4.12 ([971b06e](https://github.com/spotandjake/binaryen.ml/commit/971b06ee542b37b56a6041bbbd16017fa6510d45)) +* Fix release version ([5d1bd42](https://github.com/spotandjake/binaryen.ml/commit/5d1bd42a7132298a902060c46dae72507e702eb0)) +* memory_size and memory_grow are now toplevel functions in `Expression`. ([9a52a07](https://github.com/spotandjake/binaryen.ml/commit/9a52a077051441f8b0999bad1d77a8d3a6357460)) +* Mention implicit python dependency in the docs ([59874ce](https://github.com/spotandjake/binaryen.ml/commit/59874ce785288d4a33ed5408ac4a0a33e16ff4c1)) +* Pin CI dependencies and require Node 22 ([#214](https://github.com/spotandjake/binaryen.ml/issues/214)) ([971b06e](https://github.com/spotandjake/binaryen.ml/commit/971b06ee542b37b56a6041bbbd16017fa6510d45)) +* Remove `equirecursive` in `Type_system` ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Remove `string_new_replace_array` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Remove `string_new_replace` operation ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Remove `type_system` ([7d222e0](https://github.com/spotandjake/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc)) +* Remove Ops that no longer exist in Binaryen ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Remove RttCanon and RttSub expression kinds ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Remove SIMD methods that Binaryen replaced ([3de1b28](https://github.com/spotandjake/binaryen.ml/commit/3de1b289ed4673f701801f3087e48ac9746d89d1)) +* Remove typed_function_reference feature which was removed in Binaryen ([f1c9fd7](https://github.com/spotandjake/binaryen.ml/commit/f1c9fd7a9aab97bd5f4e72d9c2b41bff88969128)) +* removed `Op.any_true_vec_i64x2` and `Op.all_true_vec_i64x2` ([9a52a07](https://github.com/spotandjake/binaryen.ml/commit/9a52a077051441f8b0999bad1d77a8d3a6357460)) +* removed `Type.nullref`, `Type.exnref` ([9a52a07](https://github.com/spotandjake/binaryen.ml/commit/9a52a077051441f8b0999bad1d77a8d3a6357460)) +* Rename `data` to `struct_` in `Heap_type` ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Rename `dataref` to `structref` ([46c97c2](https://github.com/spotandjake/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58)) +* Require dune 3.0 to better support js_of_ocaml ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Require js_of_ocaml 4.1 to ensure optimization fix ([474e5cd](https://github.com/spotandjake/binaryen.ml/commit/474e5cd49b276b5becc54e6f1bf4d9c044ef5b76)) +* Require jsoo >= 6.0 ([#211](https://github.com/spotandjake/binaryen.ml/issues/211)) ([cf53ffc](https://github.com/spotandjake/binaryen.ml/commit/cf53ffc132caed040ee9e7eca179cfd697bb5868)) +* Require node `22` or above ([#219](https://github.com/spotandjake/binaryen.ml/issues/219)) ([3e1261e](https://github.com/spotandjake/binaryen.ml/commit/3e1261eabd76d8e5d546e104219c05201440053a)) +* Restrict OCaml < 4.14 temporarily ([453b9de](https://github.com/spotandjake/binaryen.ml/commit/453b9dea8f0bda026b70f67d7c99311f9f6601e3)) +* Use a upload-release-action that works ([97dbcdc](https://github.com/spotandjake/binaryen.ml/commit/97dbcdc53e69ccdb6e88ef03ce0766443a024cf1)) + ## [0.27.0](https://github.com/grain-lang/binaryen.ml/compare/v0.26.0...v0.27.0) (2025-10-29) diff --git a/binaryen.opam b/binaryen.opam index 907da51..f7c75ca 100644 --- a/binaryen.opam +++ b/binaryen.opam @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "0.27.0" +version: "0.13.0" synopsis: "OCaml bindings for Binaryen" maintainer: "oscar@grain-lang.org" author: "Oscar Spencer" diff --git a/package.json b/package.json index e5675e0..6a94c0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@grain/binaryen.ml", - "version": "0.27.0", + "version": "0.13.0", "description": "OCaml bindings for Binaryen.", "author": "Oscar Spencer ", "license": "Apache-2.0",