Skip to content

Commit

Permalink
Prepare wasmi release of version 0.19.0 (#528)
Browse files Browse the repository at this point in the history
* bump wasmi version 0.18.1 -> 0.19.0

* write wasmi 0.19.0 changelog
  • Loading branch information
Robbepop authored Oct 20, 2022
1 parent 4ab955a commit f3f42b1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Additionally we have an `Internal` section for changes that are of interest to developers.

## [0.19.0] - 2022-10-20

### Fixed

- Fixed a potential undefined behavior as reported by the `miri` tool
with respect to its experimental stacked borrows. (https://github.com/paritytech/wasmi/pull/524)

### Changed

- Optimized Wasm to `wasmi` translation phase by removing unnecessary Wasm
validation type checks. (https://github.com/paritytech/wasmi/pull/527)
- Speedups were in the range of 15%.
- `Linker::instantiate` now takes `&self` instead of `&mut self`. (https://github.com/paritytech/wasmi/pull/512)
- This allows users to easily predefine a linker and reused its definitions
as shared resource.
- Fixed a bug were `Caller::new` was public. (https://github.com/paritytech/wasmi/pull/514)
- It is now a private method as it was meant to be.
- Optimized `TypedFunc::call` at slight cost of `Func::call`. (https://github.com/paritytech/wasmi/pull/522)
- For many parameters and return values the measured improvements are in the range of 25%.
Note that this is only significant for a large amount of host to Wasm calls of small functions.

### Internal

- Added new benchmarks and cleaned up benchmarking code in general.
- https://github.com/paritytech/wasmi/pull/525
https://github.com/paritytech/wasmi/pull/526
https://github.com/paritytech/wasmi/pull/521
- Add `miri` testing to `wasmi` CI (https://github.com/paritytech/wasmi/pull/523)

## [0.18.1] - 2022-10-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmi"
version = "0.18.1"
version = "0.19.0"
documentation = "https://docs.rs/wasmi/"
description = "WebAssembly interpreter"
exclude = ["tests/*", "benches/*"]
Expand Down

0 comments on commit f3f42b1

Please sign in to comment.