Releases: WasmEdge/wasmedge-rust-sdk
Releases · WasmEdge/wasmedge-rust-sdk
WasmEdge Rust SDK 0.13.2
WasmEdge Rust SDK 0.13.1
[0.13.1] - 2023-11-14
- Update the
wat
dep. This update is to fix #88.
WasmEdge Rust SDK 0.13.0
[0.13.0] - 2023-11-07
⛰️ Features
-
New API
PluginManager::nn_preload
. This API is used to initialize thewasi_nn
plug-in with given preloads (#74) -
Implement
FromStr
trait forNNPreload
struct (#81)
🚜 Refactor
-
[BREAKING] Update the argument types (#82):
VmBuilder::with_plugin
VmBuilder::with_plugin_wasi_nn
VmBuilder::with_plugin_wasi_crypto
VmBuilder::with_plugin_wasmedge_process
-
[BREAKING] Update the argument types (#76):
Executor::run_func_with_timeout
andExecutor::run_func_async_with_timeout
Vm::run_func_with_timeout
andVm::run_func_async_with_timeout
Func::run_with_timeout
andFunc::run_async_with_timeout
🐛 Bug Fixes
- Introduce new C-API
WasmEdge_FunctionInstanceGetData
to fix the memory leak issue caused by host data (#84)
Ci
- Support
macos-13
and removemacos-11
from theci-build
andstandalone
workflows (#84)
WasmEdge Rust SDK 0.12.2
WasmEdge Rust SDK 0.12.1
WasmEdge Rust SDK 0.12.0
[0.12.0] - 2023-09-10
⛰️ Features
- New
timeout
APIs (#61)- Add
Vm::run_func_with_timeout
andVm::run_func_async_with_timeout
. These APIs are used to run a host function with a timeout - Add
Executor::run_func_with_timeout
andExecutor::run_func_async_with_timeout
. These APIs are used to run a host function with a timeout - Add
Func::run_with_timeout
andFunc::run_async_with_timeout
. These APIs are used to run a host function with a timeout
- Add
- New API
Store::register_plugin_module
. This API is used to register a `PluginInstance`` into a store instance (#53) - New type alias
PluginInstance
(#53)
🚜 Refactor
- [BREAKING] Merge
async
mod intowasi
mod (#55) - [BREAKING] Update the return type of
PluginManager::find
fromOption<Plugin>
toWasmEdgeResult<Plugin>
(#53) - [BREAKING] Update the return type of
Plugin::mod_instance
fromOption<Instance>
toWasmEdgeResult<PluginInstance>
(#53)
📚 Documentation
- Update WasmEdge RustSDK API Document (#55)
Contributors
WasmEdge Rust SDK 0.11.2
[0.11.2] - 2023-08-07
⛰️ Features
- New API
WasiContext::generate
. This API provides more flexible argument types than the existingWasiContext::new
(#49)
🚜 Refactor
- Improve
host_function
andasync_host_function
proc-macros (#49) - Improve build script (#48)
- Options to specify the type of linking required for the different dependencies using environment variables.
- Adds an option to use an external
rust-bindgen
using environment variables. - Adds support for
musl libc
📚 Documentation
Ci
- Disable the publish of the async API document (#50)
Contributors
Thank you @jprendes for the improvements in the build script.
WasmEdge Rust SDK 0.11.0
[0.11.0] - 2023-07-31
⛰️ Features
- Add
Func::wrap_async_func_with_type
(#43) - Add
WasiInstance::exit_code
inasync
mod (#43) - Add
WasiInstance::name
inwasi
mod (#42) - Add
WasiContext
(#39) - Add
VmBuilder::with_wasi_context
(#39)
🚜 Refactor
- [BREAKING] Update
Func::new
- [BREAKING] Update
Func::wrap_func
- [BREAKING] Update async
WasiInstance
- [BREAKING] Update
WasiInstance
- Remove the implementation of
AsInstance
trait forWasiInstance
defined inwasi
mod (#42)
- Remove the implementation of
- [BREAKING] Move
AsyncState
intoasync
mod (#39) - [BREAKING] Remove
HostFn<T>
andAsyncHostFn<T>
(#39) - [BREAKING] Update
ImportObjectBuilder
- [BREAKING] Update
ImportObject
- [BREAKING] Update
PluginModuleBuilder
- [BREAKING] Update
PluginModule
(#42) - [BREAKING] Add generic type to
Store::register_import_module
(#41) - [BREAKING] Update
async_host_function
proc-macro (#43) - Update
Vm
- Update
VmBuilder::build
(#39) - Improve the
standalone
deployment mode (#40)
📚 Documentation
Ci
- Add steps for publishing async API document in
release-wasmedge-sdk
workflow (#44)
Contributors
This release contains contributions from @jprendes, which significantly improve the build script.