diff --git a/CHANGELOG.md b/CHANGELOG.md index b1040eee88..ea58c78a6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,23 @@ 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.37.2`] - 2024-10-04 + +### Added + +- Added a new `extra-checks` crate feature to the `wasmi` crate. [#1217] + + - This improves unreachability checks in when `debug-assertions` or `extra-checks` are enabled. + - If `extra-checks` are disabled, some technically unnecessary runtime checks are no longer performed. + - Use `extra-checks` if your focus is on safety, disable if your focus is on performance. + +### Fixed + +- Fixed a bug in local preservation when translating Wasm `loop` control flow. [#1218] + +[#1217]: https://github.com/wasmi-labs/wasmi/pull/1217 +[#1218]: https://github.com/wasmi-labs/wasmi/pull/1218 + ## [`0.37.1`] - 2024-10-01 ### Fixed @@ -63,6 +80,14 @@ Dates in this file are formattes as `YYYY-MM-DD`. [`wasmi_ir` crate]: https://crates.io/crates/wasmi_ir +## [`0.36.4`] - 2024-10-03 + +### Fixed + +- Fixed a bug in local preservation when translating Wasm `loop` control flow. [#1218] + +[#1218]: https://github.com/wasmi-labs/wasmi/pull/1218 + ## [`0.36.3`] - 2024-10-01 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 70670c6368..33103b18f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1839,7 +1839,7 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.37.1" +version = "0.37.2" dependencies = [ "anyhow", "arrayvec", @@ -1849,7 +1849,7 @@ dependencies = [ "smallvec", "spin", "wasmi_collections", - "wasmi_core 0.37.1", + "wasmi_core 0.37.2", "wasmi_ir", "wasmparser-nostd", "wast 70.0.2", @@ -1864,22 +1864,22 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_c_api" -version = "0.37.1" +version = "0.37.2" dependencies = [ "wasmi_c_api_impl", ] [[package]] name = "wasmi_c_api_impl" -version = "0.37.1" +version = "0.37.2" dependencies = [ - "wasmi 0.37.1", + "wasmi 0.37.2", "wasmi_c_api_macros", ] [[package]] name = "wasmi_c_api_macros" -version = "0.37.1" +version = "0.37.2" dependencies = [ "proc-macro2", "quote", @@ -1887,19 +1887,19 @@ dependencies = [ [[package]] name = "wasmi_cli" -version = "0.37.1" +version = "0.37.2" dependencies = [ "anyhow", "assert_cmd", "clap", - "wasmi 0.37.1", + "wasmi 0.37.2", "wasmi_wasi", "wat", ] [[package]] name = "wasmi_collections" -version = "0.37.1" +version = "0.37.2" dependencies = [ "ahash", "hashbrown 0.14.5", @@ -1920,7 +1920,7 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.37.1" +version = "0.37.2" dependencies = [ "downcast-rs", "libm", @@ -1937,23 +1937,23 @@ dependencies = [ "libfuzzer-sys", "wasm-smith", "wasmi 0.31.2", - "wasmi 0.37.1", + "wasmi 0.37.2", "wasmtime", ] [[package]] name = "wasmi_ir" -version = "0.37.1" +version = "0.37.2" dependencies = [ - "wasmi_core 0.37.1", + "wasmi_core 0.37.2", ] [[package]] name = "wasmi_wasi" -version = "0.37.1" +version = "0.37.2" dependencies = [ "wasi-common", - "wasmi 0.37.1", + "wasmi 0.37.2", "wat", "wiggle", ] diff --git a/Cargo.toml b/Cargo.toml index 279a5da7a9..5e534f387a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ resolver = "2" [workspace.package] authors = ["Robin Freyler "] repository = "https://github.com/wasmi-labs/wasmi" -version = "0.37.1" +version = "0.37.2" rust-version = "1.79" edition = "2021" readme = "README.md" @@ -26,13 +26,13 @@ categories = ["wasm", "no-std", "virtualization"] exclude = ["tests"] [workspace.dependencies] -wasmi = { version = "0.37.1", path = "crates/wasmi", default-features = false } -wasmi_wasi = { version = "0.37.1", path = "crates/wasi", default-features = false } -wasmi_core = { version = "0.37.1", path = "crates/core", default-features = false } -wasmi_ir = { version = "0.37.1", path = "crates/ir", default-features = false } -wasmi_collections = { version = "0.37.1", path = "crates/collections", default-features = false } -wasmi_c_api_impl = { version = "0.37.1", path = "crates/c_api" } -wasmi_c_api_macros = { version = "0.37.1", path = "crates/c_api/macro" } +wasmi = { version = "0.37.2", path = "crates/wasmi", default-features = false } +wasmi_wasi = { version = "0.37.2", path = "crates/wasi", default-features = false } +wasmi_core = { version = "0.37.2", path = "crates/core", default-features = false } +wasmi_ir = { version = "0.37.2", path = "crates/ir", default-features = false } +wasmi_collections = { version = "0.37.2", path = "crates/collections", default-features = false } +wasmi_c_api_impl = { version = "0.37.2", path = "crates/c_api" } +wasmi_c_api_macros = { version = "0.37.2", path = "crates/c_api/macro" } num-traits = { version = "0.2.8", default-features = false } [profile.bench]