github WasmEdge/WasmEdge 0.19.0-alpha.1
WasmEdge 0.19.0-alpha.1

pre-release35 minutes ago

0.19.0-alpha.1 (2026-12-04)

Breaking changes:

  • [Version]
    • Bumped the AOT binary version from 3 to 4. The artifacts compiled by the older versions should be recompiled. (#5679)
    • Bumped the plug-in API_VERSION from 5 to 6. The plug-ins built for the older versions, including the C plug-ins, should be rebuilt. (#5679)
  • [CAPI]
    • Regrouped the error codes, with some of them renamed or removed, which changed most of the values of the WasmEdge_ErrCode enumeration. The applications should be rebuilt with the new headers. (#5404, #5583, #5710)
    • Added WasmEdge_Proposal_WideArithmetic before WasmEdge_Proposal_Component, whose value changed, and moved the SIMD and the atomic instructions by 4 entries in the cost table of WasmEdge_StatisticsSetCostTable(). (#5375)
  • [Plugin]
    • The plug-ins open the files of the guest only through the WASI filesystem of the calling module. The paths given to the wasi_logging, wasmedge_zlib, wasmedge_opencvmini, wasmedge_ocr, and WASI-NN plug-ins are resolved within the preopened directories, and nothing is opened for a module without WASI. (#5582)
    • Rebuilt the wasmedge_stablediffusion plug-in around the sessions and the JSON requests, which replaced the guest ABI. Please refer to plugins/wasmedge_stablediffusion/ABI.md. (#5672)

Features:

  • [Component Model]
    • Supported the component model with the new component runtime and executor, following the latest specification, and passed all the component model spec tests. The wasmedge CLI runs, validates, and instantiates the components with the --enable-component option. (#5404, #5547, #5583, #5733)
  • [WAT]
    • Added the experimental loader of the WebAssembly text format for the runtime and the AOT compiler, enabled by the WasmEdge_ConfigureSetEnableWAT() API or the --enable-wat CLI option, and built by default with the WASMEDGE_BUILD_WAT CMake option. (#4708)
  • [Wide Arithmetic]
    • Supported the wide-arithmetic proposal in the interpreter, AOT, and JIT modes, enabled by WasmEdge_Proposal_WideArithmetic or the --enable-wide-arithmetic CLI option. (#5375, #5399, #5429, #5513, #5550)
  • [Runtime]
    • Added the table size limit, which is 10000000 elements by default and configured by the WasmEdge_ConfigureSetMaxTableSize() API or the --table-size-limit CLI option, and rejected the modules with more than 100 memories or 100 tables. (#5584)
    • Added the WasmEdge_MemoryInstanceCreateWithPageLimit(), WasmEdge_TableInstanceCreateWithSizeLimit(), and WasmEdge_TableInstanceCreateWithInitAndSizeLimit() APIs to limit the instances created by the host. (#5584)
    • Recorded the tables, the references, and the dropped segments in the coredumps, and restored a coredump into the live module instances through the new VM::snapshot() and VM::restore(). (#5448)
  • [Tools]
    • Added the --log-level option into the compile subcommand and wasmedgec. (#5409)
  • [WASI-NN]
    • Upgraded the GGML backend to llama.cpp v1.0.0 (#5597), and the Piper backend to libpiper v1.8.0 (#5447).
  • [Plugin]
    • Added the Host::FileSystem interface and CallingFrame::getFileSystem() for the plug-ins to open the files of the guest within its WASI rights. (#5582)
    • The wasi_crypto plug-in supports the managed keys with the in-memory secrets manager, the HKDF state cloning, and the key pairs built from the public and secret keys of ECDSA, RSA, EdDSA (#4985), and ML-KEM (#5483).

Fixed issues:

  • [Loader]
    • Rejected the malformed encodings of the types and the table limits (#5588, #5589, #5601, #5639), and checked the proposals of the instructions, the types, and the exports which they gate (#5533, #5637).
    • Kept the table index of the legacy element segments in the loader and the element type of the funcref element segments in the serializer (#5660), and corrected the AOT sections on the loading failures, the repeated sections, and the malformed macOS unwind records (#5615, #5678).
  • [Validator]
    • Corrected the operand types in the unreachable code (#5428, #5654), the type check of the locals with a zero count (#5581), and the local initialization states after a reset (#5659).
    • Checked the proposals of the mutable global exports and the constant expressions (#5637), and reported the invalid super types and the non-defaultable types by their own errors (#5710).
    • Validated the core types of a component in linear time, and kept the identity of an aliased core sub type, which rejected valid components and accepted invalid ones. (#5732)
  • [Executor]
    • Reworked the type matching of the imports, the references, and the invocation arguments along the subtyping rules of the specification. (#5383, #5654)
    • Reported the allocation failures of the memories, the tables, and the arrays by the new AllocationFailed error instead of terminating the process, and bounded the growth of the 64-bit memories. (#5577, #5584)
    • Corrected the atomicity of memory.atomic.wait (#5612), the ordering of atomic.fence (#5670), the NaN results of the rounding, min, and max instructions, and the SIMD lane order on the big-endian targets (#5410).
    • Kept the compiled functions written into an imported table valid after a failed instantiation (#5600), reported the name conflicts of the registered modules (#5614), and logged the table64 indices of the traps without truncation (#5449).
    • Corrected the likely and unlikely hints, which never reached the branches, and trimmed the dispatch loop, which made the interpreter 12% to 24% faster. (#5400)
  • [AOT]
    • Lowered return_call to the imported functions as the native tail calls (#5437), and corrected the address operand of the atomic stores (#5593) and the out-of-bounds traps of the atomic read-modify-write instructions (#5543).
  • [VM]
    • Compiled the registered modules and the modules of runWasmFile in the JIT mode (#5608), and kept the stage and the tag types valid for the module which the VM holds (#5621, #5661).
  • [CAPI]
    • Checked the value types, the reference types, the tag types, and the enumeration values given to the APIs instead of aborting or misreading them. (#5539, #5546, #5591, #5654, #5661, #5703)
    • Applied the dependencies between the proposals in WasmEdge_ConfigureAddProposal() and WasmEdge_ConfigureRemoveProposal(). (#5637)
    • Checked the inputs of the WASM C API (#5561, #5676, #5680), and corrected its value copies, function references, module exports, and import resolving (#5496, #5578, #5695, #5712).
  • [WASI]
    • Corrected the symbolic link handling of path_rename, path_create_directory, path_remove_directory, and path_link (#5517), and the dot-prefixed names in the guest paths (#5668).
    • Corrected the blocking, the stale registrations, the subscription errors, and the readable byte counts of poll_oneoff. (#5566, #5580, #5626)
    • Accepted the guest::host[::readonly] form of the preopened directories for the paths with colons, such as the Windows drive paths, rejected the unknown preopen modes (#5628), and kept the preopen order of the command line (#5582).
    • Corrected the stat cached after a failed fstat (#5623), and the offset after an append write on Windows (#5576).
  • [WASI-NN]
    • Loaded the preload: models only when the host registered them (#5582), kept the GGML contexts valid after the failed computations and the model reloads (#5624), and failed the Piper model loading instead of terminating the process (#5447).
  • [Plugin]
    • Corrected the plug-in search paths on Windows and under the custom install prefixes, and locked the plug-in registration. (#5587, #5616, #5665, #5675)
    • Corrected the signature verification (#5610), the checks of the OpenSSL results (#5622), the array outputs (#5451), and the secret cleansing (#5327) of the wasi_crypto plug-in.
    • Hardened the input checks and the resource handling of the wasmedge_ffmpeg (#4904), wasm_bpf (#5627), wasmedge_tensorflow, wasmedge_tensorflowlite (#5618), and wasmedge_ocr (#5562) plug-ins.
  • [Tools]
    • Applied the options given before a subcommand and the --disable-* options given with --enable-all, and corrected the range checks of the numeric options and the function arguments. (#5409, #5637, #5687)
    • Corrected the hang of the help message, the name section reading of the parse subcommand, the repeated warning of the component model, and the exit code of proc_exit in the reactor mode. (#5409, #5684, #5708)
  • [Misc]
    • Packed libLLVMDTLTO.a into the static library on LLVM 22 or later (#5633), corrected the builds with GCC 11 (#5645), with Clang 22 and 23 on Windows (#5642), and of the MLX backend with a packaged fmt (#5736), and replaced the deprecated GCC detection in CMake (#5658).
    • Corrected the uint128 shifts by 128 bits or more and its numeric_limits (#5474), and the invalid escape sequence warnings of install.py (#5648).

Tests:

  • Updated the spec test suite to the 2026/12/02 version, and ran the core spec tests directly from the .wast sources and the component model spec tests through all the phases. (#4708, #5404, #5547, #5583, #5639, #5710)
  • Added the fuzzer target of the WAT loader (#4708), the WASI path resolution tests (#5531), and the failure path tests of the Piper backend (#5548).
  • Split the WASI-NN tests into the per-backend files (#5565), and skipped the compile subcommand tests in the builds without LLVM (#5462).

Refactored:

  • [Executor]
    • Implemented the SIMD instructions of the interpreter once with cxx26::simd, a C++17 subset of the C++26 std::simd (#5410, #5554, #5671), and moved the matching of the runtime objects against the types into Runtime::Matcher (#5654).
  • [Loader]
    • Shared the UTF-8 validation, the block closing, and the tag type linking with the WAT loader (#4708), and aligned the flags of loadHeapType() and loadLimit() with the other loaders (#5630).
  • [Component Model]
    • Separated the component pipeline from the VM class into the new ComponentVM class, which left the VM class and the WasmEdge_VM C API with the core modules only. (#5583)
    • Aligned the component validator with the structure of the core validator, and moved the component value model into its own headers. (#5404)
  • [Tools]
    • Deduplicated the option handling and the pipelines of the CLI tools. (#5409)
  • [Plugin]
    • Replaced the WASI file streams with the Host::FileSystem interface (#5582), and moved ResourceTable from the WASI-NN plug-in to Plugin::ResourceTable (#5672).
  • [Common]
    • Removed the hex string helpers. (#5488)

Misc:

  • [Dependencies]
    • Upgraded GoogleTest to v1.18.0 (#5605), the vendored BLAKE3 to 1.8.7 (#5606), simdjson to v5.2.0 (#5607), the CodeCoverage CMake module (#5656), and wasi-sdk to 34 in the embed_cxx example (#5604).
  • [Documentation]
    • Removed the AI assistance disclosure requirement (#5516) and the LlamaEdge references in the READMEs (#5720), and added --run-mode=aot into the AOT example (#5530).
  • [Chore]
    • Removed the retired Docker image recipes, the legacy installer script, and the outdated OpenVINO and OpenHarmony build scripts. (#5709)

CI:

  • [Runner]
    • Added the checks of the build without the WAT loader (#4708), the linking of the Debian static library (#5633), and the loading of the packaged wasmedge_stablediffusion plug-in (#5672).
    • Ran the WASI test suite again, which skipped all its tests, and built it for the wasm32-wasip1 target (#5576, #5657), and scoped the WASI-NN jobs to the changed backends (#5565).
    • Updated the Windows runners to LLVM 23.1.6 (#5642), pinned CMake 4.4.5 in the Ubuntu 20.04 test jobs (#5602), and shortened the Docker image builds (#5549, #5553).
    • Fell back to the plain compiler when sccache fails to start (#5509), skipped the Codecov upload on the Dependabot runs (#5508), grouped the github/codeql-action updates (#5510), and corrected the downloads of the apt.llvm.org key and the ONNX Runtime (#5447, #5549, #5677).
  • [dependabot]
    • ci(dependabot): bump github/codeql-action from 4.39.0 to 4.39.5 (#5504, #5506, #5570, #5662, #5713)
    • ci(dependabot): bump step-security/harden-runner from 2.22.1 to 2.23.0 (#5507, #5525, #5571, #5663)
    • ci(dependabot): bump cachix/install-nix-action from 31.11.2 to 32.1.0 (#5511, #5629, #5664, #5714)
    • ci(dependabot): bump actions/setup-python from 7.0.0 to 7.1.0 (#5505)
    • ci(dependabot): bump docker/login-action from 4.6.0 to 4.8.0 in the docker group (#5503, #5569)

Thank all the contributors who made this release possible!

Abhiraj Singh, Adarsh Kumar, ama2in9, Aman Maurya, ANEEK DAS, Anish Mehta, Arin Ahuja, Divyanshu, Ebel Thomas Seiko, Elvand-Lie, Fayez Bast, grorge, hydai, Manikesh, Naren Sirigere, Nikhil Singh, Panda, Parth Dagia, Roshan Pradhan, Shen-Ta Hsieh(BestSteve), SHIGRAF SALIK, SHIVA SHARMA, shubham kumar, Somay kousis, Sourav Rajvi, StavanRKhobare, Toka Nani, Tuhin Mondal, Utkarsh Sharma, Wang-Yang Li, yash., Yi Huang, Yi-Ying He

If you want to build from source, please use WasmEdge-0.19.0-alpha.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.

Don't miss a new WasmEdge release

NewReleases is sending notifications on new releases.