Skip to content

Commit

Permalink
Prepare wasmi release of version 0.29.0 (#708)
Browse files Browse the repository at this point in the history
* add changelog for version 0.29.0

* bump versions to 0.29.0

* update README for `extended-const` support
  • Loading branch information
Robbepop authored Mar 20, 2023
1 parent eb8d73f commit 23d8d8c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@ Additionally we have an `Internal` section for changes that are of interest to d

Dates in this file are formattes as `YYYY-MM-DD`.

## [`0.29.0`] - 2023-03-20

### Added

- Added support for `extended-const` Wasm proposal. (https://github.com/paritytech/wasmi/pull/707)
- Added fuel consumption modes. (https://github.com/paritytech/wasmi/pull/706)
- This allows eager and lazy fuel consumption modes to be used which
mainly affects bulk operations such as `table.copy` and `memory.grow`.
Eager fuel consumption always consumes fuel before a bulk operation for the
total amount independent of success or failure of the operation whereras
lazy fuel consumption only consumes fuel for successful executions.

### Changed

- Normalize fuel costs of all instructions. (https://github.com/paritytech/wasmi/pull/705)
- With this change most instructions cost roughly 1 fuel upon execution.
This is more similar to how Wasmtime deals with fuel metered instruction costs.
Before this change `wasmi` tried to have fuel costs that more closely mirror
the computation intensity of the respective instruction according to benchmarks.

## [`0.28.0`] - 2023-03-01

### Added
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The new `wasmi` engine supports a variety of WebAssembly proposals and will supp
| [`reference-types`] || Since version `0.24.0`. [(#635)] |
| [`simd`] || Unlikely to be supported. |
| [`tail-calls`] || Since version `0.28.0`. [(#683)] |
| [`extended-const`] | | Support is planned. [(#638)] |
| [`extended-const`] | | Since version `0.29.0`. [(#707)] |
| | |
| [WASI] | 🟡 | Experimental support via the [`wasmi_wasi` crate] or the `wasmi` CLI application. |

Expand All @@ -82,6 +82,7 @@ The new `wasmi` engine supports a variety of WebAssembly proposals and will supp
[(#635)]: https://github.com/paritytech/wasmi/pull/635
[(#638)]: https://github.com/paritytech/wasmi/pull/638
[(#683)]: https://github.com/paritytech/wasmi/pull/683
[(#707)]: https://github.com/paritytech/wasmi/pull/707

## Usage

Expand Down
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi_cli"
version = "0.28.0"
version = "0.29.0"
documentation = "https://docs.rs/wasmi/"
description = "WebAssembly interpreter"
authors.workspace = true
Expand All @@ -14,8 +14,8 @@ categories.workspace = true
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
wasmi = { version = "0.28.0", path = "../wasmi" }
wasmi_wasi = { version = "0.3.0", path = "../wasi" }
wasmi = { version = "0.29.0", path = "../wasmi" }
wasmi_wasi = { version = "0.29.0", path = "../wasi" }
wat = "1"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/wasi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi_wasi"
version = "0.3.0"
version = "0.29.0"
documentation = "https://docs.rs/wasmi_wasi"
description = "WASI library support for the wasmi interpreter"
authors.workspace = true
Expand All @@ -15,7 +15,7 @@ categories.workspace = true
wasi-common = "2.0"
wasi-cap-std-sync = "2.0"
wiggle = { version = "2.0", default-features = false, features = ["wiggle_metadata"] }
wasmi = { version = "0.28.0", path = "../wasmi" }
wasmi = { version = "0.29.0", path = "../wasmi" }

[dev-dependencies]
wat = "1.0.50"
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi"
version = "0.28.0"
version = "0.29.0"
documentation = "https://docs.rs/wasmi/"
description = "WebAssembly interpreter"
exclude = ["tests/*", "benches/*"]
Expand Down

0 comments on commit 23d8d8c

Please sign in to comment.