github WasmEdge/WasmEdge 0.8.2
WasmEdge 0.8.2

latest releases: 0.14.0-rc.4, 0.14.0-rc.3, 0.14.0-rc.2...
2 years ago

0.8.2 (2021-08-25)

Features:

  • WASI:
    • Supported WASI on macOS(Intel & M1).
    • Supported WASI on Windows 10.
    • Supported WASI Socket functions on Linux.
  • C API:
    • Supported 32-bit environment.
    • Added the static library target libwasmedge_c.a (OFF by default).
    • Added the ErrCode to C declarations.
    • Added the API about converting WasmEdge_String to C string.
    • Added the API to get data pointer from the WasmEdge_MemoryInstanceContext.
  • AOT:
    • Added --generic-binary to generate generic binaries and disable using host features.
  • Multi platforms:
    • Enabled Ubuntu 20.04 x86_64 build.
    • Enabled Ubuntu 21.04 x86_64 build.
    • Enabled manylinux2014 aarch64 build.
    • Enabled Ubuntu 21.04 arm32 build.
  • Rust supports:
    • Added the wasmedge-sys and wasmedge-rs crates.
    • Added the wrapper types to rust.
  • Removed binfmt support.

Fixed issues:

  • Ensured every platform defines is defined.
  • Disabled blake3 AVX512 support on old platforms.
  • Avoided vector ternary operator in AOT, which is unsupported by clang on mac.
  • The preopen should be --dir guest_path:host_path.
  • Fixed usused variables error in API libraries when AOT build is disabled.
  • Fixed the WASI function signature error.
    • wasi_snapshot_preview1::path_read_link
      • Fixed the signature error with the lost read size output.
      • Added the Out comments for parameters with receiving outputs.
    • wasi_snapshot_preview1::path_filestat_set_times
      • Corrected the time signature to the u64.

Misc:

  • Changed all CMake global properties to target specified properties.
    • Added namespace to all cmake options.
  • Added the CMake option WASMEDGE_FORCE_DISABLE_LTO to forcibly disable link time optimization (OFF by default).
    • WasmEdge project enables LTO by default in Release/RelWithDeb build. If you would like to disable the LTO forcibly, please turn on the WASMEDGE_FORCE_DISABLE_LTO option.
  • Installed dpkg-dev in docker images to enable dpkg-shlibdeps when creating the deb release.

Refactor:

  • Refactored the WASI VFS architecture.
  • Simplified the memory indexing in validator.
  • Renamed the file names in interpreter.
  • Replaced the instances when registering host instances with existing names.

Documentations:

Tests:

  • Added wasi-test for testing basic WASI interface
  • Added C API unit tests.
    • Added the WasmEdge_String copy tests.
    • Added the WasmEdge_MemoryInstanceContext get data pointer tests.
  • Removed unnecessary Wagon and Ethereum tests.

Don't miss a new WasmEdge release

NewReleases is sending notifications on new releases.