Sourced from wasmi's releases.
v0.21.0 - 2023-01-04
Added
- Add support for resumable function calls. (paritytech/wasmi#598)
- This feature allows to resume a function call upon encountering a host trap.
- Add support for concurrently running function executions using a single
wasmiengine.
- This feature also allows to call Wasm functions from host functions. (paritytech/wasmi#590)
- Add initial naive WASI support for
wasmiusing the newwasmi_wasicrate. (paritytech/wasmi#557)
- Special thanks to Onigbinde Oluwamuyiwa Elijah for carrying the WASI support efforts!
- Also thanks to Yuyi Wang for testing and improving initial WASI support. (paritytech/wasmi#592, paritytech/wasmi#571, paritytech/wasmi#568)
- Note: There is ongoing work to integrate WASI support in
wasmi_cliso that thewasmiCLI will then be able to execute arbitrarywasm-wasifiles out of the box in the future.- Add
Module::importsthat allows to query Wasm module imports. (paritytech/wasmi#573, paritytech/wasmi#583)Fixed
- Fix a bug that imported linear memories and tables were initialized twice upon instantiation. (paritytech/wasmi#593)
- The
wasmiCLI now properly hints for file path arguments. (paritytech/wasmi#596)Changed
- The
wasmi::Traptype is now more similar to Wasmtime'sTraptype. (paritytech/wasmi#559)- The
wasmi::Storetype is nowSendandSyncas intended. (paritytech/wasmi#566)- The
wasmiCLI now prints exported functions names if the function name CLI argument is missing. (paritytech/wasmi#579)- Improve feedback when running a Wasm module without exported function using
wasmiCLI. (paritytech/wasmi#584)
Sourced from wasmi's changelog.
[0.21.0] - 2023-01-04
Added
- Add support for resumable function calls. (paritytech/wasmi#598)
- This feature allows to resume a function call upon encountering a host trap.
- Add support for concurrently running function executions using a single
wasmiengine.
- This feature also allows to call Wasm functions from host functions. (paritytech/wasmi#590)
- Add initial naive WASI support for
wasmiusing the newwasmi_wasicrate. (paritytech/wasmi#557)
- Special thanks to Onigbinde Oluwamuyiwa Elijah for carrying the WASI support efforts!
- Also thanks to Yuyi Wang for testing and improving initial WASI support. (paritytech/wasmi#592, paritytech/wasmi#571, paritytech/wasmi#568)
- Note: There is ongoing work to integrate WASI support in
wasmi_cliso that thewasmiCLI will then be able to execute arbitrarywasm-wasifiles out of the box in the future.- Add
Module::importsthat allows to query Wasm module imports. (paritytech/wasmi#573, paritytech/wasmi#583)Fixed
- Fix a bug that imported linear memories and tables were initialized twice upon instantiation. (paritytech/wasmi#593)
- The
wasmiCLI now properly hints for file path arguments. (paritytech/wasmi#596)Changed
- The
wasmi::Traptype is now more similar to Wasmtime'sTraptype. (paritytech/wasmi#559)- The
wasmi::Storetype is nowSendandSyncas intended. (paritytech/wasmi#566)- The
wasmiCLI now prints exported functions names if the function name CLI argument is missing. (paritytech/wasmi#579)- Improve feedback when running a Wasm module without exported function using
wasmiCLI. (paritytech/wasmi#584)[0.20.0] - 2022-11-04
Added
- Contribution documentation about fuzz testing. (paritytech/wasmi#529)
Removed
- Removed some deprecated functions in the
wasmi_corecrate. (paritytech/wasmi#545)Fixed
- Fixed a critical performance regression introduced in Rust 1.65. (paritytech/wasmi#518)
- While the PR's main job was to clean up some code it was found out that it also fixes a critical performance regression introduced in Rust 1.65.
- You can read more about this performance regression in this thread.
Changed
- Fixed handling of edge cases with respect to Wasm linear memory. (paritytech/wasmi#449)
- This allows for
wasmito properly setup and use linear memory instances of up to 4GB.- Optimize and improve Wasm instantiation. (paritytech/wasmi#531)
- Optimize
global.getof immutable non-imported globals. (paritytech/wasmi#533)
... (truncated)
9e228e8
Bump wasmi version to 0.21.0 (#604)8fb3a58
Prepare for wasmi version 0.21.0 release (#603)829ae5b
Resumable Function Calls (#598)3c62031
Add res: EngineResources field to
EngineExecutor (#602)bbcfc21
Refactor Engine internals (#601)3186c02
Return () from CallResults for slices (#600)8965c9a
Refactor FuncType verification (#599)2b5a486
CLI: Improve CLI parsing (#596)da8e4a6
Allow host functions to call Wasm functions (#590)f82ed77
Fix duplicated imported linear memories and tables (#593)