Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release for Wasmi v0.33.0 #1086

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading