Sourced from wasmi's releases.
v0.22.0 - 2023-01-16
Added
- Add missing
TypedFunc::call_resumableAPI. (paritytech/wasmi#605)
- So far resumable calls were only available for the
Functype. However, there was no technical reason why it was not implemented forTypedFuncso this mirrored API now exists.- This also cleans up rough edges with the
Func::call_resumableAPI.Changed
- Clean up the
wasmi_corecrate API. (paritytech/wasmi#607, paritytech/wasmi#608, paritytech/wasmi#609)
- This removes plenty of traits from the public interface of the crate which greatly simplifies the API surface for users.
- The
UntypedValuetype gained some new methods to replace functionality that was provided in parts by the removed traits.- The
wasmicrate now follows the Wasmtime API a bit more closely. (paritytech/wasmi#613)Internal
- The
StoreandEnginetypes are better decoupled from their generic parts. (paritytech/wasmi#610, paritytech/wasmi#611)
- This might reduce binary bloat and may have positive effects on the performance. In fact we measured significant performance improvements on the Wasm target.
Sourced from wasmi's changelog.
[
0.22.0] - 2023-01-16Added
- Add missing
TypedFunc::call_resumableAPI. (paritytech/wasmi#605)
- So far resumable calls were only available for the
Functype. However, there was no technical reason why it was not implemented forTypedFuncso this mirrored API now exists.- This also cleans up rough edges with the
Func::call_resumableAPI.Changed
- Clean up the
wasmi_corecrate API. (paritytech/wasmi#607, paritytech/wasmi#608, paritytech/wasmi#609)
- This removes plenty of traits from the public interface of the crate which greatly simplifies the API surface for users.
- The
UntypedValuetype gained some new methods to replace functionality that was provided in parts by the removed traits.- The
wasmicrate now follows the Wasmtime API a bit more closely. (paritytech/wasmi#613)Internal
- The
StoreandEnginetypes are better decoupled from their generic parts. (paritytech/wasmi#610, paritytech/wasmi#611)
- This might reduce binary bloat and may have positive effects on the performance. In fact we measured significant performance improvements on the Wasm target.
[
0.21.0] - 2023-01-04Added
- 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)
... (truncated)
0bbb80c
Prepare for release of wasmi v0.22.0 (#614)7c16e77
Mirror Wasmtime APIs more closely (#613)1a5891a
Add tests for ComponentVec data structure (#612)2d139d7
Make Engine's executor use &mut StoreInner
(making it non-generic) (#611)702cc68
Create a non-generic StoreInner (#610)cc05d72
No longer re-export unused traits from wasmi_core (#609)f4aabf3
Add Wasm load and store API to UntypedValue (#608)d2069ce
Cleanup wasmi_core crate (#607)0d12bff
Refactor resumable function call tests (#606)7753fab
Implement resumable calls for TypedFunc (#605)