You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,24 @@ Types of changes
14
14
-`Fixed` for any bug fixes.
15
15
-`Security` in case of vulnerabilities.
16
16
17
-
## unreleased
17
+
## [0.9.0 - unreleased]
18
18
19
-
put your changes here
19
+
Wasmtime rewrote their fuel-related API and simplified it. To remain consistent with Wasmtime, we follow this change in this release. A Wasmex `Store` now only implements `set_fuel/2` and `get_fuel/1`. All other methods are removed with this release.
20
+
21
+
The underlying implementation of the fuel system got rewritten as well. If you are using fuel in your app,
22
+
please check your fuel consumption values.
20
23
21
24
* Thanks to @RoyalIcing for helping us keeping our dependencies up to date for this release 💜
22
25
23
26
### Added
24
27
25
28
* official support for Elixir 1.15 and 1.16
29
+
* fuel-related API got rewritten, because the underlying Wasm library (wasmtime) changed their API and we want to be consistent. Added `Store.get_fuel/1` and `Store.set_fuel/2` which is a much simpler API than before.
26
30
27
31
### Removed
28
32
29
33
* removed support for Elixir 1.12
34
+
* with the fuel-related API changed, the existing methods on `Store` (`consume_fuel`, `fuel_remaining`, `add_fuel`) were removed. Please call `set_fuel/2` and `get_fuel/1` instead.
0 commit comments