suborbital / reactr

Function scheduler for Go & WebAssembly
Apache License 2.0
289 stars 28 forks source link

chore(deps): update module github.com/second-state/wasmedge-go to v0.11.0 #278

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/second-state/WasmEdge-go require minor v0.9.2 -> v0.11.0

Release Notes

second-state/WasmEdge-go ### [`v0.11.0`](https://togithub.com/second-state/WasmEdge-go/blob/HEAD/Changelog.md#v0110-2022-08-31) [Compare Source](https://togithub.com/second-state/WasmEdge-go/compare/v0.10.1...v0.11.0) Breaking Changes: - `WasmEdge` updated. Please install the `WasmEdge 0.11.0` or newer version. - `CallingFrame` in host functions. - The second parameter of host functions are replaced by `CallingFrame`. - Developers can use the `(*wasmedge.CallingFrame).GetExecutor()` to get the currently used executor. - Developers can use the `(*wasmedge.CallingFrame).GetModule()` to get the module instance on the top frame of the stack. - Developers can use the `(*wasmedge.CallingFrame).GetMemoryByIndex()` to get the memory instance by index. - For simply getting the memory index as previous, developers can use the `GetMemoryByIndex(0)`. Features: - Updated to the [WasmEdge 0.11.0](https://togithub.com/WasmEdge/WasmEdge/releases/tag/0.11.0). - Supported user-defined error codes. - Developers can use the `wasmedge.NewResult()` API to create and return the result with user-defined error code. ### [`v0.10.1`](https://togithub.com/second-state/WasmEdge-go/blob/HEAD/Changelog.md#v0101-2022-08-02) [Compare Source](https://togithub.com/second-state/WasmEdge-go/compare/v0.10.0...v0.10.1) Fixed issues: - Supported the platforms with only `tensorflow-lite`. Please build with the `tensorflowlite` tags: `go build --tags tensorflowlite`. Features: - Updated to the [WasmEdge 0.10.1](https://togithub.com/WasmEdge/WasmEdge/releases/tag/0.10.1). - Supported the `threads` proposal and its data structures. ### [`v0.10.0`](https://togithub.com/second-state/WasmEdge-go/blob/HEAD/Changelog.md#v0100-2022-05-26) [Compare Source](https://togithub.com/second-state/WasmEdge-go/compare/v0.9.2...v0.10.0) Breaking Changes: - `WasmEdge` updated. Please install the `WasmEdge 0.10.0` or newer version. - The `Module`-based resource management. - The `Executor` will output a `Module` instance after instantiation now. Developers have the responsibility to destroy them by `(*wasmedge.Module).Release()` API. - Merged the `ImportObject` into the `Module`. - Removed the `ImportObject` structure. - `FuncRef` mechanism changes. - For the better performance and security, the `FuncRef` related APIs used the `*wasmedge.Function` for the parameters and returns. - API changes. - `wasmedge.NewFuncRef()` is changed to use the `*Function` as it's argument. - Added `(wasmedge.FuncRef).GetRef()` to retrieve the `*Function`. - Renamed `wasmedge.NewImportObject()` to `wasmedge.NewModule()`. - Renamed `(*wasmedge.ImportObject).Release()` to `(*wasmedge.Module).Release()`. - Renamed `(*wasmedge.ImportObject).AddFunction()` to `(*wasmedge.Module).AddFunction()`. - Renamed `(*wasmedge.ImportObject).AddTable()` to `(*wasmedge.Module).AddTable()`. - Renamed `(*wasmedge.ImportObject).AddMemory()` to `(*wasmedge.Module).AddMemory()`. - Renamed `(*wasmedge.ImportObject).AddGlobal()` to `(*wasmedge.Module).AddGlobal()`. - Renamed `(*wasmedge.ImportObject).NewWasiImportObject()` to `(*wasmedge.Module).NewWasiModule()`. - Renamed `(*wasmedge.ImportObject).NewWasmEdgeProcessImportObject()` to `(*wasmedge.Module).NewWasmEdgeProcessModule()`. - Renamed `(*wasmedge.ImportObject).InitWASI()` to `(*wasmedge.Module).InitWASI()`. - Renamed `(*wasmedge.ImportObject).InitWasmEdgeProcess()` to `(*wasmedge.Module).InitWasmEdgeProcess()`. - Renamed `(*wasmedge.ImportObject).WasiGetExitCode()` to `(*wasmedge.Module).WasiGetExitCode`. - Renamed `(*wasmedge.VM).RegisterImport()` to `(*wasmedge.VM).RegisterModule()`. - Renamed `(*wasmedge.VM).GetImportObject()` to `(*wasmedge.VM).GetImportModule()`. - `(*wasmedge.Store).ListFunction()` and `(*wasmedge.Store).ListFunctionRegistered()` is replaced by `(*wasmedge.Module).ListFunction()`. - `(*wasmedge.Store).ListTable()` and `(*wasmedge.Store).ListTableRegistered()` is replaced by `(*wasmedge.Module).ListTable()`. - `(*wasmedge.Store).ListMemory()` and `(*wasmedge.Store).ListMemoryRegistered()` is replaced by `(*wasmedge.Module).ListMemory()`. - `(*wasmedge.Store).ListGlobal()` and `(*wasmedge.Store).ListGlobalRegistered()` is replaced by `(*wasmedge.Module).ListGlobal()`. - `(*wasmedge.Store).FindFunction()` and `(*wasmedge.Store).FindFunctionRegistered()` is replaced by `(*wasmedge.Module).FindFunction()`. - `(*wasmedge.Store).FindTable()` and `(*wasmedge.Store).FindTableRegistered()` is replaced by `(*wasmedge.Module).FindTable()`. - `(*wasmedge.Store).FindMemory()` and `(*wasmedge.Store).FindMemoryRegistered()` is replaced by `(*wasmedge.Module).FindMemory()`. - `(*wasmedge.Store).FindGlobal()` and `(*wasmedge.Store).FindGlobalRegistered()` is replaced by `(*wasmedge.Module).FindGlobal()`. - Temporarily removed the `wasmedge_process` related APIs for supporting plug-in architecture in the future. - Removed the `(*wasmedge.Module).NewWasmEdgeProcessModule()` API. - Removed the `(*wasmedge.Module).InitWasmEdgeProcess()` API. Features: - Updated to the [WasmEdge 0.10.0](https://togithub.com/WasmEdge/WasmEdge/releases/tag/0.10.0). Documentation: - Updated the [documentation](https://wasmedge.org/book/en/embed/go/ref.html).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.