Breaking changes:
- Modulize the API Headers.
- Moved the API header into the
wasmedgefolder. Developers should include thewasmedge/wasmedge.hfor using the WasmEdge shared library after installation. - Moved the enumeration definitions into
enum_errcode.h,enum_types.h, andenum_configure.hin thewasmedgefolder.
- Moved the API header into the
- Apply old WebAssembly proposals options (All turned on by default).
- Developers can use the
disable-import-export-mut-globalsto disable the Import/Export mutable globals proposal inwasmedgeandwasmedgec. - Developers can use the
disable-non-trap-float-to-intto disable the Non-trapping float-to-int conversions proposal inwasmedgeandwasmedgec. - Developers can use the
disable-sign-extension-operatorsto disable the Sign-extension operators proposal inwasmedgeandwasmedgec. - Developers can use the
disable-multi-valueto disable the Multi-value proposal inwasmedgeandwasmedgec.
- Developers can use the
- Adjusted the error code names.
- Please refer to the ErrCode enum definition.
- WasmEdge C API changes.
- Deleted the data object column in the creation function of
ImportObjectcontext. - Added the data object column in the creation function of
HostFunctioncontext. - Instead of the unified data object of the host functions in the same import object before, the data objects are independent in every host functions now.
- Deleted the data object column in the creation function of
Refactor:
- Refactor the common headers.
- Merged the building environment related definitions into
common. - Separate all enumeration definitions.
- Merged the building environment related definitions into
- Updated the include path for rust binding due to the API headers refactoring.
Documentations:
- Updated the examples in the C API documentation.
Tests:
- Added
ErrInfounit tests. - Added instruction tests for turning on/off the old proposals.