Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump wasmedge-sdk from 0.9.0 to 0.11.0 #2223

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2023

Bumps wasmedge-sdk from 0.9.0 to 0.11.0.

Release notes

Sourced from wasmedge-sdk's releases.

WasmEdge 0.11.0

0.11.0 (2022-08-31)

Breaking changes:

  • WasmEdge C API changes.
    • Refactored the host function definition to export the calling frame.
      • The first parameter of WasmEdge_HostFunc_t is replaced by const WasmEdge_CallingFrameContext *.
      • The first parameter of WasmEdge_WrapFunc_t is replaced by const WasmEdge_CallingFrameContext *.
    • Extended the content of WasmEdge_Result.
    • Added the const qualifier of some APIs.
      • Added the const qualifer of the first parameter of WasmEdge_StoreFindModule().
      • Added the const qualifer of the first parameter of WasmEdge_AsyncWait().
      • Added the const qualifer of the first parameter of WasmEdge_AsyncWaitFor().
      • Added the const qualifer of the first parameter of WasmEdge_AsyncGetReturnsLength().
      • Added the const qualifer of the first parameter of WasmEdge_AsyncGet().
      • Added the const qualifer of the first parameter of WasmEdge_VMGetFunctionType().
      • Added the const qualifer of the first parameter of WasmEdge_VMGetFunctionTypeRegistered().
      • Added the const qualifer of the first parameter of WasmEdge_VMGetFunctionListLength().
      • Added the const qualifer of the first parameter of WasmEdge_VMGetFunctionList().
      • Added the const qualifer of the first parameter of WasmEdge_VMGetImportModuleContext().
    • Renamed the plugin API.
      • Renamed WasmEdge_Plugin_loadWithDefaultPluginPaths() to WasmEdge_PluginLoadWithDefaultPaths().
  • Dropped the manylinux1 and manylinux2010 support. Please refer to the deprecation notice.
  • Standardize the SONAME and SOVERSION for WasmEdge C API
    • The name of the library is changed to libwasmedge.so, libwasmedge.dyld, and wasmedge.dll.
    • Users should change the linker flag from lwasmedge_c to lwasmedge.
    • The initialized SONAME is set to libwasmedge.so.0.
    • The initialized SOVERSION is set to libwasmedge.so.0.0.0.

Features:

  • Updated CMake options of WasmEdge project.
    • Added WASMEDGE_LINK_LLVM_STATIC option to link the LLVM statically into WasmEdge shared library or tools.
    • Removed the WASMEDGE_BUILD_STATIC_TOOLS option and replaced by the WASMEDGE_LINK_TOOLS_STATIC option.
    • For details, please refer to the documentation.
    • After this version, our releases on MacOS platforms will link the LLVM library statically to reduce the installation of LLVM from Homebrew for the users.
  • Supported the user-defined error code for host functions.
    • The 24-bit size user-defined error code is supported (smaller than 16777216).
    • Developers can use the WasmEdge_ResultGen() API to generate the result and return.
  • Exported the CallingFrame instead of the memory instance in host functions.
    • New WasmEdge_CallingFrameContext struct.
    • Developers can use WasmEdge_CallingFrameGetModuleInstance() API to get the module instance of current top frame in calling stack in host function body.
    • Developers can use WasmEdge_CallingFrameGetMemoryInstance() API to get the memory instance by index in host function body.
      • To quickly upgrate from the previous WasmEdge versions, developer can use the WasmEdge_CallingFrameGetMemoryInstance(Context, 0) to get the same memory instance of the previous host function definition.
    • Developers can use WasmEdge_CallingFrameGetExecutor() API to get the executor context in host function body.
  • Extended the WasmEdge_Result struct to support user defined error codes of host functions.
    • Added WasmEdge_ResultGen() API to generate the WasmEdge_Result struct of user defined error code.
    • Added WasmEdge_ResultGetCategory() API to get the error code category.
  • Added a new API for looking up the native handler from a given WASI mapped Fd/Handler.

... (truncated)

Changelog

Sourced from wasmedge-sdk's changelog.

0.11.0 (2022-08-31)

Breaking changes:

  • WasmEdge C API changes.
    • Refactored the host function definition to export the calling frame.
      • The first parameter of WasmEdge_HostFunc_t is replaced by const WasmEdge_CallingFrameContext *.
      • The first parameter of WasmEdge_WrapFunc_t is replaced by const WasmEdge_CallingFrameContext *.
    • Extended the content of WasmEdge_Result.
    • Added the const qualifier of some APIs.
      • Added the const qualifier of the first parameter of WasmEdge_StoreFindModule().
      • Added the const qualifier of the first parameter of WasmEdge_AsyncWait().
      • Added the const qualifier of the first parameter of WasmEdge_AsyncWaitFor().
      • Added the const qualifier of the first parameter of WasmEdge_AsyncGetReturnsLength().
      • Added the const qualifier of the first parameter of WasmEdge_AsyncGet().
      • Added the const qualifier of the first parameter of WasmEdge_VMGetFunctionType().
      • Added the const qualifier of the first parameter of WasmEdge_VMGetFunctionTypeRegistered().
      • Added the const qualifier of the first parameter of WasmEdge_VMGetFunctionListLength().
      • Added the const qualifier of the first parameter of WasmEdge_VMGetFunctionList().
      • Added the const qualifier of the first parameter of WasmEdge_VMGetImportModuleContext().
    • Renamed the plugin API.
      • Renamed WasmEdge_Plugin_loadWithDefaultPluginPaths() to WasmEdge_PluginLoadWithDefaultPaths().
  • Dropped the manylinux1 and manylinux2010 support. Please refer to the deprecation notice.
  • Standardize the SONAME and SOVERSION for WasmEdge C API
    • The name of the library is changed to libwasmedge.so, libwasmedge.dyld, and wasmedge.dll.
    • Users should change the linker flag from lwasmedge_c to lwasmedge.
    • The initialized SONAME is set to libwasmedge.so.0.
    • The initialized SOVERSION is set to libwasmedge.so.0.0.0.

Features:

  • Updated CMake options of WasmEdge project.
    • Added WASMEDGE_LINK_LLVM_STATIC option to link the LLVM statically into WasmEdge shared library or tools.
    • Removed the WASMEDGE_BUILD_STATIC_TOOLS option and replaced by the WASMEDGE_LINK_TOOLS_STATIC option.
    • For details, please refer to the documentation.
    • After this version, our releases on MacOS platforms will link the LLVM library statically to reduce the installation of LLVM from Homebrew for the users.
  • Supported the user-defined error code for host functions.
    • The 24-bit size user-defined error code is supported (smaller than 16777216).
    • Developers can use the WasmEdge_ResultGen() API to generate the result and return.
  • Exported the CallingFrame instead of the memory instance in host functions.
    • New WasmEdge_CallingFrameContext struct.
    • Developers can use WasmEdge_CallingFrameGetModuleInstance() API to get the module instance of current top frame in calling stack in host function body.
    • Developers can use WasmEdge_CallingFrameGetMemoryInstance() API to get the memory instance by index in host function body.
      • To quickly upgrade from the previous WasmEdge versions, developer can use the WasmEdge_CallingFrameGetMemoryInstance(Context, 0) to get the same memory instance of the previous host function definition.
    • Developers can use WasmEdge_CallingFrameGetExecutor() API to get the executor context in host function body.
  • Extended the WasmEdge_Result struct to support user defined error codes of host functions.
    • Added WasmEdge_ResultGen() API to generate the WasmEdge_Result struct of user defined error code.
    • Added WasmEdge_ResultGetCategory() API to get the error code category.
  • Added a new API for looking up the native handler from a given WASI mapped Fd/Handler.
    • Added WasmEdge_ModuleInstanceWASIGetNativeHandler to get the native handler.

... (truncated)

Commits
  • 47e240a [Rust] Supported CallingFrame and User-defined Error Code (#1787)
  • 1224b5d [API] Add the const qualifer for some APIs.
  • 911d5e7 [Common] Separate the C and C++ enum headers.
  • 562aa68 [Common] Extend the error code as a struct to support user-defined
  • 5bcbe82 [Rust] New example for demonstrating the multi-threading capability (#1740)
  • 45ed591 [Rust] Supported new C-APIs (#1732)
  • 7714f7a [Rust] Refactored Memory::write method in wasmedge-sdk (#1733)
  • 3c5f0de [Rust] (examples): Fix errors in hostfunc.rs and hostfunc2.rs. (#1537)
  • 4ce6eb1 [Rust] Bumped the version of wasmedge-sdk to v0.3.0 (#1709)
  • 511213d [Rust SDK] Supported MultiMemories config option. (#1690)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](WasmEdge/WasmEdge@0.9.0...0.11.0)

---
updated-dependencies:
- dependency-name: wasmedge-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2023
@YJDoc2 YJDoc2 merged commit 2d6fd76 into main Aug 1, 2023
13 checks passed
@YJDoc2 YJDoc2 deleted the dependabot/cargo/wasmedge-sdk-0.11.0 branch August 1, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant