Skip to content

Commit 983ef37

Browse files
authored
Prepare wasmi release for version 0.31.0 (#748)
* 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
1 parent af8c588 commit 983ef37

File tree

5 files changed

+36
-10
lines changed

5 files changed

+36
-10
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,32 @@ Additionally we have an `Internal` section for changes that are of interest to d
88

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

11+
## [`0.31.0`] - 2023-07-31
12+
13+
### Added
14+
15+
- Added `ResourceLimiter` API known from Wasmtime. (https://github.com/paritytech/wasmi/pull/737)
16+
- This API allows to limit growable Wasm resources such as Wasm tables and linear memories.
17+
- Special thanks to [Graydon Hoare](https://github.com/graydon) for contributing this feature!
18+
19+
### Fixes
20+
21+
- Fixed a bug were `Module::len_globals` internal API returned length of linear memories instead. (https://github.com/paritytech/wasmi/pull/741)
22+
23+
### Changed
24+
25+
- Removed `intx` crate dependency. (https://github.com/paritytech/wasmi/pull/727)
26+
- The dependence on the `intx` crate was accidental and not really required at any time.
27+
- 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)
28+
29+
### Dev. Note
30+
31+
- We now publish and record graphs of benchmarks over time. (https://github.com/paritytech/wasmi/pull/740)
32+
- This allows `wasmi` developers to better inspect performance changes over longer periods of time.
33+
- Updated dev. dependencies:
34+
- `criterion 0.4.0` -> `0.5.0`
35+
- `wast 0.52.0` -> `0.62.0`
36+
1137
## [`0.30.0`] - 2023-05-28
1238

1339
### Changed

crates/cli/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmi_cli"
3-
version = "0.30.0"
3+
version = "0.31.0"
44
documentation = "https://docs.rs/wasmi/"
55
description = "WebAssembly interpreter"
66
authors.workspace = true
@@ -14,8 +14,8 @@ categories.workspace = true
1414
[dependencies]
1515
anyhow = "1"
1616
clap = { version = "4", features = ["derive"] }
17-
wasmi = { version = "0.30.0", path = "../wasmi" }
18-
wasmi_wasi = { version = "0.30.0", path = "../wasi" }
17+
wasmi = { version = "0.31.0", path = "../wasmi" }
18+
wasmi_wasi = { version = "0.31.0", path = "../wasi" }
1919
wat = "1"
2020

2121
[dev-dependencies]

crates/core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmi_core"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
documentation = "https://docs.rs/wasmi_core"
55
description = "Core primitives for the wasmi WebAssembly interpreter"
66
authors.workspace = true

crates/wasi/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmi_wasi"
3-
version = "0.30.0"
3+
version = "0.31.0"
44
documentation = "https://docs.rs/wasmi_wasi"
55
description = "WASI library support for the wasmi interpreter"
66
authors.workspace = true
@@ -15,7 +15,7 @@ categories.workspace = true
1515
wasi-common = "2.0"
1616
wasi-cap-std-sync = "2.0"
1717
wiggle = { version = "2.0", default-features = false, features = ["wiggle_metadata"] }
18-
wasmi = { version = "0.30.0", path = "../wasmi" }
18+
wasmi = { version = "0.31.0", path = "../wasmi" }
1919

2020
[dev-dependencies]
2121
wat = "1.0.50"

crates/wasmi/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmi"
3-
version = "0.30.0"
3+
version = "0.31.0"
44
documentation = "https://docs.rs/wasmi/"
55
description = "WebAssembly interpreter"
66
exclude = ["tests/*", "benches/*"]
@@ -14,7 +14,7 @@ categories.workspace = true
1414

1515
[dependencies]
1616
wasmparser = { version = "0.100.1", package = "wasmparser-nostd", default-features = false }
17-
wasmi_core = { version = "0.12", path = "../core", default-features = false }
17+
wasmi_core = { version = "0.13", path = "../core", default-features = false }
1818
wasmi_arena = { version = "0.4", path = "../arena", default-features = false }
1919
spin = { version = "0.9", default-features = false, features = [
2020
"mutex",
@@ -26,9 +26,9 @@ smallvec = { version = "1.10.0", features = ["union"] }
2626
[dev-dependencies]
2727
wat = "1"
2828
assert_matches = "1.5"
29-
wast = "52.0"
29+
wast = "62.0"
3030
anyhow = "1.0"
31-
criterion = { version = "0.4", default-features = false }
31+
criterion = { version = "0.5", default-features = false }
3232

3333
[features]
3434
default = ["std"]

0 commit comments

Comments
 (0)