Skip to content

Commit 7c1733a

Browse files
authored
Prepare release for Wasmi v0.45 (#1500)
* add changelog for v0.45.0 * bump Wasmi crate versions to v0.45.0 * update v0.45.0 changelog * move changelog item to #Added section * add new changelog item
1 parent be85337 commit 7c1733a

File tree

3 files changed

+89
-29
lines changed

3 files changed

+89
-29
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,66 @@ 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.45.0`] - 2025-05-06
12+
13+
### Added
14+
15+
- Added support for Wasm function call resumption after running out of fuel. [#1498]
16+
- This feature is very useful when using Wasmi inside a scheduler that works with
17+
Wasmi's fuel metering to provide amount of compute units to different Wasm execution
18+
threads for example.
19+
- Added missing `wasmi_core::simd` API functions for `relaxed-simd`. [#1447]
20+
- Added implementations for Rust's `Error` trait for all `wasmi` error types on `no_std`. [#1462]
21+
22+
### Changed
23+
24+
- Avoid performing duplicate type and validation checks in `Linker::instantiate`. [#1476]
25+
- Updated `wasm-tools` dependencies to v228. [#1463]
26+
- Removed most of `wasmi_core::TypedVal`'s API. [#1457]
27+
- The newer `wasmi_core::wasm` API is to be preferred and provides the same functionality.
28+
29+
### Fixed
30+
31+
- Fixed a bug that Wasmi did not make `wasmparser`'s parser aware of enabled Wasm features. [#1502]
32+
- Making `wasmparser` aware of the enabled Wasm features allows it to detect malformed Wasm
33+
binaries during parsing.
34+
35+
### Internal
36+
37+
- Make Wasmi's executor non-generic over the `Store`'s `T`. [#1449]
38+
- Changes to Wasmi's IR:
39+
- Removed all conditional return instructions. [#1486]
40+
- This allows Wasmi to apply its powerful cmp+branch fusion in more places.
41+
- Remove most of the `bulk-memory` (and `bulk-table`) instruction variants. [#1489]
42+
- Wasmi still has optimized variants for the most common cases.
43+
- Add new logical-comparator instructions. [#1494]
44+
- This further enhances Wasmi's powerful cmp+branch instruction fusion.
45+
- Add negated `f{32,64}.{lt,le}` instructions. [#1496]
46+
- This allows Wasmi to apply its cmp+nez fusion for `f{32,64}.{le,lt}` instructions as well.
47+
- Re-design Wasmi's `select` instructions. [#1497]
48+
- This allows to use Wasmi's powerful cmp op-code fusion for `select` instructions.
49+
- Moved many `wasmi` internals into `wasmi_core`:
50+
- Add `FuncType` [#1458]
51+
- Add `Fuel`, `Memory`, `Table`, `Global`, `ResourceLimiter` [#1464]
52+
- Replace uses in `wasmi` with `wasmi_core` definitions. [#1460]
53+
54+
[#1447]: https://github.com/wasmi-labs/wasmi/pull/1447
55+
[#1449]: https://github.com/wasmi-labs/wasmi/pull/1449
56+
[#1457]: https://github.com/wasmi-labs/wasmi/pull/1457
57+
[#1458]: https://github.com/wasmi-labs/wasmi/pull/1458
58+
[#1460]: https://github.com/wasmi-labs/wasmi/pull/1460
59+
[#1462]: https://github.com/wasmi-labs/wasmi/pull/1462
60+
[#1463]: https://github.com/wasmi-labs/wasmi/pull/1463
61+
[#1464]: https://github.com/wasmi-labs/wasmi/pull/1464
62+
[#1476]: https://github.com/wasmi-labs/wasmi/pull/1476
63+
[#1486]: https://github.com/wasmi-labs/wasmi/pull/1486
64+
[#1489]: https://github.com/wasmi-labs/wasmi/pull/1489
65+
[#1494]: https://github.com/wasmi-labs/wasmi/pull/1494
66+
[#1496]: https://github.com/wasmi-labs/wasmi/pull/1496
67+
[#1497]: https://github.com/wasmi-labs/wasmi/pull/1497
68+
[#1498]: https://github.com/wasmi-labs/wasmi/pull/1498
69+
[#1502]: https://github.com/wasmi-labs/wasmi/pull/1502
70+
1171
## [`0.44.1`] - 2025-05-04
1272

1373
### Fixed

Cargo.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ resolver = "2"
1818
[workspace.package]
1919
authors = ["Robin Freyler <[email protected]>"]
2020
repository = "https://github.com/wasmi-labs/wasmi"
21-
version = "0.44.0"
21+
version = "0.45.0"
2222
rust-version = "1.83"
2323
edition = "2021"
2424
readme = "README.md"
@@ -30,15 +30,15 @@ exclude = ["tests"]
3030
[workspace.dependencies]
3131

3232
# Wasmi crates
33-
wasmi = { version = "0.44.0", path = "crates/wasmi", default-features = false }
34-
wasmi_wasi = { version = "0.44.0", path = "crates/wasi", default-features = false }
35-
wasmi_core = { version = "0.44.0", path = "crates/core", default-features = false }
36-
wasmi_ir = { version = "0.44.0", path = "crates/ir", default-features = false }
37-
wasmi_collections = { version = "0.44.0", path = "crates/collections", default-features = false }
38-
wasmi_c_api_impl = { version = "0.44.0", path = "crates/c_api" }
39-
wasmi_c_api_macros = { version = "0.44.0", path = "crates/c_api/macro" }
40-
wasmi_fuzz = { version = "0.44.0", path = "crates/fuzz" }
41-
wasmi_wast = { version = "0.44.0", path = "crates/wast" }
33+
wasmi = { version = "0.45.0", path = "crates/wasmi", default-features = false }
34+
wasmi_wasi = { version = "0.45.0", path = "crates/wasi", default-features = false }
35+
wasmi_core = { version = "0.45.0", path = "crates/core", default-features = false }
36+
wasmi_ir = { version = "0.45.0", path = "crates/ir", default-features = false }
37+
wasmi_collections = { version = "0.45.0", path = "crates/collections", default-features = false }
38+
wasmi_c_api_impl = { version = "0.45.0", path = "crates/c_api" }
39+
wasmi_c_api_macros = { version = "0.45.0", path = "crates/c_api/macro" }
40+
wasmi_fuzz = { version = "0.45.0", path = "crates/fuzz" }
41+
wasmi_wast = { version = "0.45.0", path = "crates/wast" }
4242

4343
# wasm-tools dependencies
4444
wat = { version = "1.228.0", default-features = false }

0 commit comments

Comments
 (0)