Upgrade to WasmEdge-Go v0.13.0
Due to the WasmEdge-Go API breaking changes, this document shows the guideline of programming with WasmEdge-Go API to upgrade from the v0.12.1
to the v0.13.0
version.
Concepts
Removed the
TensorFlow
,TensorFlow-Lite
, andImage
extension APIs.After
v0.13.0
, the WasmEdge extensions are replaced by the corresponding plug-ins. Please refer to our newest example.Asynchronously invoking WASM function by executor.
Developers can use the
(wasmedge.Executor).AsyncInvoke()
API to execute a WASM function asynchronously.Fixed the
(wasmedge.Executor).Invoke()
API to remove the firstwasmedge.Store
parameter.It's easy to update. Just drop the first parameter.
Unified WasmEdge CLI.
Developers can use the
wasmedge.RunWasmEdgeUnifiedCLI()
API to trigger the unified WasmEdge CLI.