diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ad80665b8..fcd74e3347 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,42 @@ 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.33.0`] - 2024-06-24 + +### Added + +- Added support for Wasm custom sections processing. (https://github.com/wasmi-labs/wasmi/pull/1085) + - It is now possible to query name and data of Wasm custom sections of a `Module`. + - Use the new `Config::ignore_custom_sections` flag to disable this functionality. +- Added `Config::ignore_custom_sections` flag to disable processing custom sections if this is unwanted. (https://github.com/wasmi-labs/wasmi/pull/1085) +- Add `Memory::{data_ptr, data_size, size}` methods. (https://github.com/wasmi-labs/wasmi/pull/1082) +- Added a Wasmi usage guide documentation. (https://github.com/wasmi-labs/wasmi/pull/1072) + - Link: https://github.com/wasmi-labs/wasmi/blob/master/docs/usage.md + +### Changed + +- Optimized the Wasmi executor in various ways. + - In summary the Wasmi executor now more optimally cached the currently used + Wasm instance and optimizes access to instance related data. + In particular access to the default linear memory bytes as well as the global + variable at index 0 (often used as shadow stack pointer) are more efficient. + - The following PRs are part of this effort: + - https://github.com/wasmi-labs/wasmi/pull/1059 + - https://github.com/wasmi-labs/wasmi/pull/1062 + - https://github.com/wasmi-labs/wasmi/pull/1068 + - https://github.com/wasmi-labs/wasmi/pull/1069 + - https://github.com/wasmi-labs/wasmi/pull/1065 + - https://github.com/wasmi-labs/wasmi/pull/1075 + - https://github.com/wasmi-labs/wasmi/pull/1076 +- Changed `Memory::grow` signature to mirror Wasmtime's `Memory::grow` method. (https://github.com/wasmi-labs/wasmi/pull/1082) + +### Removed + +- Removed `Memory::current_pages` method. (https://github.com/wasmi-labs/wasmi/pull/1082) + - Users should use the new `Memory::size` method instead. + +### + ## [`0.32.3`] - 2024-06-06 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 25730a2f78..105a3bf2e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ resolver = "2" [workspace.package] authors = ["Robin Freyler "] repository = "https://github.com/wasmi-labs/wasmi" -version = "0.32.3" +version = "0.33.0" rust-version = "1.77" edition = "2021" readme = "README.md" @@ -23,10 +23,10 @@ categories = ["wasm", "no-std", "virtualization"] exclude = ["tests"] [workspace.dependencies] -wasmi = { version = "0.32.3", path = "crates/wasmi", default-features = false } -wasmi_wasi = { version = "0.32.3", path = "crates/wasi", default-features = false } -wasmi_core = { version = "0.32.3", path = "crates/core", default-features = false } -wasmi_collections = { version = "0.32.3", path = "crates/collections", default-features = false } +wasmi = { version = "0.33.0", path = "crates/wasmi", default-features = false } +wasmi_wasi = { version = "0.33.0", path = "crates/wasi", default-features = false } +wasmi_core = { version = "0.33.0", path = "crates/core", default-features = false } +wasmi_collections = { version = "0.33.0", path = "crates/collections", default-features = false } num-traits = { version = "0.2.8", default-features = false } [profile.bench]