Skip to content

Commit

Permalink
Prepare for wasmi release version 0.27.0 (#680)
Browse files Browse the repository at this point in the history
* write changelog for version 0.27.0

* bump crate versions
  • Loading branch information
Robbepop committed Feb 14, 2023
1 parent 075c410 commit 29e6b37
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,29 @@ 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.27.0`] - 2023-02-14

### Added

- Added support for fuel metering in the `wasmi` CLI. (https://github.com/paritytech/wasmi/pull/679)
- Users can now specify an amount of fuel via `--fuel N` to commit for the execution.
Upon success the `wasmi` CLI will display the total amount of consumed and remaining fuel.

### Fixed

- Fixed a bug that `wasmi` CLI did not preserve the WASI exit status. (https://github.com/paritytech/wasmi/pull/677)
- Thanks to [YAMAMOTO Takashi @yamt](https://github.com/yamt) for reporting the issue.
- The `wasmi` CLI now properly displays exported functions if `--invoke x` was provided and `x` was not found. (https://github.com/paritytech/wasmi/pull/678)
- Applied minor fixes to `Config` docs. (https://github.com/paritytech/wasmi/pull/673)

### Changed

- Defer charging fuel for costly bulk `memory` and bulk `table` operations. (https://github.com/paritytech/wasmi/pull/676)
- Note that the check to assert that enough fuel is provided for these costly
operation is still happening before the actual computation and only the charging
is deferred to after a successful run. The reason behind this is that all the affected
operations fail fast and therefore should not cost lots of fuel in case of failure.

## [`0.26.1`] - 2023-02-13

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wasmi_cli"
version = "0.26.0"
version = "0.27.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.26.1", path = "../wasmi" }
wasmi_wasi = { version = "0.1.0", path = "../wasi" }
wasmi = { version = "0.27.0", path = "../wasmi" }
wasmi_wasi = { version = "0.2.0", path = "../wasi" }
wat = "1"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/wasi/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wasmi_wasi"
version = "0.1.0"
version = "0.2.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.26.1", path = "../wasmi" }
wasmi = { version = "0.27.0", path = "../wasmi" }

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

0 comments on commit 29e6b37

Please sign in to comment.