Skip to content

Commit

Permalink
Prepare wasmi release for version 0.31.0 (#748)
Browse files Browse the repository at this point in the history
* bump crate versions

* update wast dependency v0.52.0 -> v0.62.0

* update criterion from v0.4.0 -> v0.5.0

* add changelog for v0.31.0 release

* update changelog

* update changelog for updated dev. dependencies

* changed ordering of changelog sections
  • Loading branch information
Robbepop authored Jul 31, 2023
1 parent af8c588 commit 983ef37
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 10 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,32 @@ 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.31.0`] - 2023-07-31

### Added

- Added `ResourceLimiter` API known from Wasmtime. (https://github.com/paritytech/wasmi/pull/737)
- This API allows to limit growable Wasm resources such as Wasm tables and linear memories.
- Special thanks to [Graydon Hoare](https://github.com/graydon) for contributing this feature!

### Fixes

- Fixed a bug were `Module::len_globals` internal API returned length of linear memories instead. (https://github.com/paritytech/wasmi/pull/741)

### Changed

- Removed `intx` crate dependency. (https://github.com/paritytech/wasmi/pull/727)
- The dependence on the `intx` crate was accidental and not really required at any time.
- Optimized `f64.const` instructions for `f64` constant values that can losslessly be encoded as 32-bit `f32` value. (https://github.com/paritytech/wasmi/pull/746)

### Dev. Note

- We now publish and record graphs of benchmarks over time. (https://github.com/paritytech/wasmi/pull/740)
- This allows `wasmi` developers to better inspect performance changes over longer periods of time.
- Updated dev. dependencies:
- `criterion 0.4.0` -> `0.5.0`
- `wast 0.52.0` -> `0.62.0`

## [`0.30.0`] - 2023-05-28

### Changed
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.30.0"
version = "0.31.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.30.0", path = "../wasmi" }
wasmi_wasi = { version = "0.30.0", path = "../wasi" }
wasmi = { version = "0.31.0", path = "../wasmi" }
wasmi_wasi = { version = "0.31.0", path = "../wasi" }
wat = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi_core"
version = "0.12.0"
version = "0.13.0"
documentation = "https://docs.rs/wasmi_core"
description = "Core primitives for the wasmi WebAssembly interpreter"
authors.workspace = true
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.30.0"
version = "0.31.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.30.0", path = "../wasmi" }
wasmi = { version = "0.31.0", path = "../wasmi" }

[dev-dependencies]
wat = "1.0.50"
Expand Down
8 changes: 4 additions & 4 deletions crates/wasmi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi"
version = "0.30.0"
version = "0.31.0"
documentation = "https://docs.rs/wasmi/"
description = "WebAssembly interpreter"
exclude = ["tests/*", "benches/*"]
Expand All @@ -14,7 +14,7 @@ categories.workspace = true

[dependencies]
wasmparser = { version = "0.100.1", package = "wasmparser-nostd", default-features = false }
wasmi_core = { version = "0.12", path = "../core", default-features = false }
wasmi_core = { version = "0.13", path = "../core", default-features = false }
wasmi_arena = { version = "0.4", path = "../arena", default-features = false }
spin = { version = "0.9", default-features = false, features = [
"mutex",
Expand All @@ -26,9 +26,9 @@ smallvec = { version = "1.10.0", features = ["union"] }
[dev-dependencies]
wat = "1"
assert_matches = "1.5"
wast = "52.0"
wast = "62.0"
anyhow = "1.0"
criterion = { version = "0.4", default-features = false }
criterion = { version = "0.5", default-features = false }

[features]
default = ["std"]
Expand Down

0 comments on commit 983ef37

Please sign in to comment.