Skip to content

Commit

Permalink
Prepare release for Wasmi v0.33.0 (#1086)
Browse files Browse the repository at this point in the history
* bump Wasmi crate versions to v0.33.0

* write changelog for v0.33.0
  • Loading branch information
Robbepop authored Jun 24, 2024
1 parent 37ae60d commit c37f314
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resolver = "2"
[workspace.package]
authors = ["Robin Freyler <[email protected]>"]
repository = "https://github.com/wasmi-labs/wasmi"
version = "0.32.3"
version = "0.33.0"
rust-version = "1.77"
edition = "2021"
readme = "README.md"
Expand All @@ -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]
Expand Down

0 comments on commit c37f314

Please sign in to comment.