@grain/binaryen.ml 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. binaryen-archive/CHANGELOG.md +59 -0
  2. binaryen-archive/binaryen.opam +2 -2
  3. binaryen-archive/esy.lock/index.json +261 -258
  4. binaryen-archive/esy.lock/opam/{base.v0.16.1 → base.v0.16.3}/opam +3 -3
  5. binaryen-archive/esy.lock/opam/{chrome-trace.3.9.0 → chrome-trace.3.10.0}/opam +5 -4
  6. binaryen-archive/esy.lock/opam/{dune-build-info.3.9.0 → dune-build-info.3.10.0}/opam +5 -4
  7. binaryen-archive/esy.lock/opam/{dune-configurator.3.9.0 → dune-configurator.3.10.0}/opam +5 -4
  8. binaryen-archive/esy.lock/opam/{dune-rpc.3.9.0 → dune-rpc.3.10.0}/opam +5 -4
  9. binaryen-archive/esy.lock/opam/{dune.3.9.0 → dune.3.10.0}/opam +5 -4
  10. binaryen-archive/esy.lock/opam/{dyn.3.9.0 → dyn.3.10.0}/opam +5 -4
  11. binaryen-archive/esy.lock/opam/{js_of_ocaml-compiler.5.3.0 → js_of_ocaml-compiler.5.4.0}/opam +5 -5
  12. binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.25.1 → ocamlformat-rpc-lib.0.26.1}/opam +16 -6
  13. binaryen-archive/esy.lock/opam/{ordering.3.9.0 → ordering.3.10.0}/opam +5 -4
  14. binaryen-archive/esy.lock/opam/{pp.1.1.2 → pp.1.2.0}/opam +7 -6
  15. binaryen-archive/esy.lock/opam/{re.1.10.4 → re.1.11.0}/opam +5 -5
  16. binaryen-archive/esy.lock/opam/{stdune.3.9.0 → stdune.3.10.0}/opam +5 -4
  17. binaryen-archive/esy.lock/opam/{uucp.15.0.0 → uucp.15.1.0}/opam +10 -14
  18. binaryen-archive/esy.lock/opam/{uuseg.15.0.0 → uuseg.15.1.0}/opam +9 -11
  19. binaryen-archive/esy.lock/opam/{xdg.3.9.0 → xdg.3.10.0}/opam +5 -4
  20. binaryen-archive/package.json +2 -2
  21. binaryen-archive/src/dune +1 -3
  22. binaryen-archive/src/expression.c +42 -24
  23. binaryen-archive/src/expression.js +35 -16
  24. binaryen-archive/src/expression.ml +39 -11
  25. binaryen-archive/src/expression.mli +10 -2
  26. binaryen-archive/src/heap_type.c +2 -2
  27. binaryen-archive/src/heap_type.js +3 -3
  28. binaryen-archive/src/heap_type.ml +1 -1
  29. binaryen-archive/src/heap_type.mli +1 -1
  30. binaryen-archive/src/op.c +116 -95
  31. binaryen-archive/src/op.js +102 -84
  32. binaryen-archive/src/op.ml +152 -35
  33. binaryen-archive/src/op.mli +48 -45
  34. binaryen-archive/src/passes.ml +17 -1
  35. binaryen-archive/src/passes.mli +15 -0
  36. binaryen-archive/src/type.c +2 -2
  37. binaryen-archive/src/type.js +3 -3
  38. binaryen-archive/src/type.ml +2 -2
  39. binaryen-archive/src/type.mli +1 -1
  40. binaryen-archive/test/test.expected +26 -26
  41. binaryen-archive/src/type_system.c +0 -40
  42. binaryen-archive/src/type_system.js +0 -29
  43. binaryen-archive/src/type_system.ml +0 -7
  44. binaryen-archive/src/type_system.mli +0 -7
@@ -1,5 +1,64 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.23.0](https://github.com/grain-lang/binaryen.ml/compare/v0.22.0...v0.23.0) (2023-09-27)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * Remove `type_system`
9
+ * Remove `string_new_replace` operation
10
+ * Remove `string_new_replace_array` operation
11
+ * Upgrade to libbinaryen v113 ([#194](https://github.com/grain-lang/binaryen.ml/issues/194))
12
+
13
+ ### Features
14
+
15
+ * Add `string_encode_lossy_utf8_array` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
16
+ * Add `string_encode_lossy_utf8` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
17
+ * Add `string_new_lossy_utf8_array` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
18
+ * Add `string_new_lossy_utf8` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
19
+ * Upgrade to libbinaryen v113 ([#194](https://github.com/grain-lang/binaryen.ml/issues/194)) ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
20
+
21
+
22
+ ### Miscellaneous Chores
23
+
24
+ * Remove `string_new_replace_array` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
25
+ * Remove `string_new_replace` operation ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
26
+ * Remove `type_system` ([7d222e0](https://github.com/grain-lang/binaryen.ml/commit/7d222e0f8ebc0cfb45e7c07304a59e9559accedc))
27
+
28
+ ## [0.22.0](https://github.com/grain-lang/binaryen.ml/compare/v0.21.0...v0.22.0) (2023-09-14)
29
+
30
+
31
+ ### ⚠ BREAKING CHANGES
32
+
33
+ * Rename `dataref` to `structref`
34
+ * Rename `data` to `struct_` in `Heap_type`
35
+ * Remove `equirecursive` in `Type_system`
36
+ * Properly resolve ops externals to their type
37
+ * Replace `Expression.Ref.is` with `Expression.Ref.is_null`
38
+ * Remove Ops that no longer exist in Binaryen
39
+ * Upgrade to libbinaryen v112 ([#188](https://github.com/grain-lang/binaryen.ml/issues/188))
40
+
41
+ ### Features
42
+
43
+ * Add i31 expressions ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
44
+ * Add new Binaryen ops ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
45
+ * Add new optimization passes ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
46
+ * Replace `Expression.Ref.is` with `Expression.Ref.is_null` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
47
+ * Upgrade to libbinaryen v112 ([#188](https://github.com/grain-lang/binaryen.ml/issues/188)) ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * Properly resolve ops externals to their type ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
53
+
54
+
55
+ ### Miscellaneous Chores
56
+
57
+ * Remove `equirecursive` in `Type_system` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
58
+ * Remove Ops that no longer exist in Binaryen ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
59
+ * Rename `data` to `struct_` in `Heap_type` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
60
+ * Rename `dataref` to `structref` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
61
+
3
62
  ## [0.21.0](https://github.com/grain-lang/binaryen.ml/compare/v0.20.1...v0.21.0) (2023-07-04)
4
63
 
5
64
 
@@ -1,5 +1,5 @@
1
1
  opam-version: "2.0"
2
- version: "0.21.0"
2
+ version: "0.23.0"
3
3
  synopsis: "OCaml bindings for Binaryen"
4
4
  maintainer: "oscar@grain-lang.org"
5
5
  author: "Oscar Spencer"
@@ -16,5 +16,5 @@ depends: [
16
16
  "dune" {>= "3.0.0"}
17
17
  "dune-configurator" {>= "3.0.0"}
18
18
  "js_of_ocaml-compiler" {>= "4.1.0" < "6.0.0"}
19
- "libbinaryen" {>= "111.0.0" < "112.0.0"}
19
+ "libbinaryen" {>= "113.0.0" < "114.0.0"}
20
20
  ]