Releases: wasmi-labs/wasmi
Releases · wasmi-labs/wasmi
v2.0.0-beta.1 - 2026/02/19
Changed
- Wasmi's internal
Handletrait no longer has aFromsuper-trait. #1804- This fixes an issue from users with conflicting
Fromimpls for Wasmi handles
such asFunc,Global, etc..
- This fixes an issue from users with conflicting
v2.0.0-beta.0 - 2026/02/18
Added
- Implemented some improvements for
wasmi::Table.- Added
RefandRefTypeand makewasmi::Tableoperate onRefinstead ofVal. #1747- This has be beneficial side-effect that
wasmi::Tableis now unaffected by
thesimdcrate feature and no longer suffers from increased memory consumption. - Furthermore, this improves Wasmi's Wasmtime API mirror as Wasmtime also uses
RefandRefType.
- This has be beneficial side-effect that
- Shrink
wasmi::Tableelements from 64-bit to 32-bit. #1776- This effectively halfs the memory consumption of
wasmi::Tableinstances.
- This effectively halfs the memory consumption of
- Added
- Designed and integrated an entirely new internal IR for Wasmi. #1655
- This affects both execution and translation performance.
- New crate features have been added:
portable-dispatch:
Enable to compile Wasmi on any platform supported by Rust
However, this may significantly reduce execution performance.indirect-dispatch:
Enable to use less encoding space for Wasmi's internal IR.
However, this may significantly reduce execution performance.
- Wasmi's executor now uses fixed 64-bits cells. #1755
- This technically is an internal change but it yields observable improvements for users.
- Enabling the
simdcrate feature no longer affects memory consumption or
execution performance of non-simdWasm code.
- Implement a variety of improvements for the Wasmi CLI application.
- Added a bunch of new crate features to the
wasmi_clicrate:- PRs: #1784 #1787 #1788
wasi: Enable WASI support. (default: ✅)wast: Enable Wast support andwastcommand. (default: ✅)run: Enable theruncommand (default: ✅)portable-dispatch: Enablewasmi'sportable-dispatchcrate feature. (default: ❌)indirect-dispatch: Enablewasmi'sindirect-dispatchcrate feature. (default: ❌)
- Similar to Wasmtime's CLI, Wasmi now also features sub-commands: #1799
run: Executes a WebAssembly module.wast: Executes a WebAssembly script.
- The Wasmi CLI's command has been renamed from
wasmi_clito justwasmi. #1798
- Added a bunch of new crate features to the
- Add
wasmi_wasi::add_to_externalsAPI. #1785- This is more efficient than the existing
add_to_linkerAPI and should
be used instead if possible. - The Wasmi CLI application now makes use of this API in order to prepare
its WASI environment.
- This is more efficient than the existing
Changed
- Wasmi now uses Rust edition 2024 in the entire workspace. #1759
- This does not affect users since Wasmi's MSRV did not change.
Internal
- Use OIDC in Wasmi
coverageCI job. #1745 - Wasmi differential fuzzing oracles are not optionally included. #1758
- This allows to exclude fuzzing oracles to speed-up fuzzing and compile times.
- Add a new GitHub Actions CI job to check via
cargo-deny. #1761 - Refactored
wasmi_collectionsarena data structures. #1771 - Removed ancient Wasmi v0.31 as oracle for differential fuzzing. #1777
- Renamed internal
Untyped{Val,Ref}types toRaw{Val,Ref}. #1781 - Refactor and unify Wasmi's internal handle types. #1772
v1.0.9 - 2026/02/09
v1.0.8 - 2026/01/29
Fixed
- Fixed another bug with incorrect translation of
wide-arithmeticops followed bylocal.set. #1762
v1.0.7 - 2026/01/09
Fixed
- Fixed a bug that
local.setfusion with somewide-arithmeticops was working incorrectly. #1756- Thanks to louismerlin for the detailed bug report.
v1.0.6 - 2025/12/25
v1.0.5 - 2025/12/19
Fixed
- Fix a bug in the execution of
i{32,64}.rem_s(MAX, -1). rev-1c3682f- The Wasm spec demanded to return
0while Wasmi trapped withinteger-overflow. - Thanks to davnavr for the detailed bug report.
- The Wasm spec demanded to return
v1.0.4 - 2025/12/10
Fixed
- Fix
Config::set_max_stack_heightcheck. #1727- Thanks to @gramseyer for the fix!
v1.0.3 - 2025/12/06
Fixed
- Fixed a bug that
Config::set_max_cached_stacksset the recursion limit instead.- Thanks to Robert MacWha for reporting the issue.
v1.0.2 - 2025/12/06
Fixed
- Fixed a memory leak in
ByteBufferintroduced in the last patch.- Thanks to Robert MacWha for reporting the issue.