0.19.0-alpha.1 (2026-12-04)
Breaking changes:
- [Version]
- [CAPI]
- Regrouped the error codes, with some of them renamed or removed, which changed most of the values of the
WasmEdge_ErrCodeenumeration. The applications should be rebuilt with the new headers. (#5404, #5583, #5710) - Added
WasmEdge_Proposal_WideArithmeticbeforeWasmEdge_Proposal_Component, whose value changed, and moved the SIMD and the atomic instructions by 4 entries in the cost table ofWasmEdge_StatisticsSetCostTable(). (#5375)
- Regrouped the error codes, with some of them renamed or removed, which changed most of the values of the
- [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_stablediffusionplug-in around the sessions and the JSON requests, which replaced the guest ABI. Please refer toplugins/wasmedge_stablediffusion/ABI.md. (#5672)
- The plug-ins open the files of the guest only through the WASI filesystem of the calling module. The paths given to the
Features:
- [Component Model]
- [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-watCLI option, and built by default with theWASMEDGE_BUILD_WATCMake option. (#4708)
- Added the experimental loader of the WebAssembly text format for the runtime and the AOT compiler, enabled by the
- [Wide Arithmetic]
- [Runtime]
- Added the table size limit, which is 10000000 elements by default and configured by the
WasmEdge_ConfigureSetMaxTableSize()API or the--table-size-limitCLI option, and rejected the modules with more than 100 memories or 100 tables. (#5584) - Added the
WasmEdge_MemoryInstanceCreateWithPageLimit(),WasmEdge_TableInstanceCreateWithSizeLimit(), andWasmEdge_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()andVM::restore(). (#5448)
- Added the table size limit, which is 10000000 elements by default and configured by the
- [Tools]
- Added the
--log-leveloption into thecompilesubcommand andwasmedgec. (#5409)
- Added the
- [WASI-NN]
- [Plugin]
- Added the
Host::FileSysteminterface andCallingFrame::getFileSystem()for the plug-ins to open the files of the guest within its WASI rights. (#5582) - The
wasi_cryptoplug-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).
- Added the
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
funcrefelement 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
AllocationFailederror 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 ofatomic.fence(#5670), the NaN results of the rounding,min, andmaxinstructions, 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
likelyandunlikelyhints, which never reached the branches, and trimmed the dispatch loop, which made the interpreter 12% to 24% faster. (#5400)
- [AOT]
- [VM]
- [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()andWasmEdge_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, andpath_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).
- Corrected the symbolic link handling of
- [WASI-NN]
- [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_cryptoplug-in. - Hardened the input checks and the resource handling of the
wasmedge_ffmpeg(#4904),wasm_bpf(#5627),wasmedge_tensorflow,wasmedge_tensorflowlite(#5618), andwasmedge_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
parsesubcommand, the repeated warning of the component model, and the exit code ofproc_exitin the reactor mode. (#5409, #5684, #5708)
- Applied the options given before a subcommand and the
- [Misc]
- Packed
libLLVMDTLTO.ainto 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
uint128shifts by 128 bits or more and itsnumeric_limits(#5474), and the invalid escape sequence warnings ofinstall.py(#5648).
- Packed
Tests:
- Updated the spec test suite to the 2026/12/02 version, and ran the core spec tests directly from the
.wastsources 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
compilesubcommand tests in the builds without LLVM (#5462).
Refactored:
- [Executor]
- [Loader]
- [Component Model]
- Separated the component pipeline from the
VMclass into the newComponentVMclass, which left theVMclass and theWasmEdge_VMC 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)
- Separated the component pipeline from the
- [Tools]
- Deduplicated the option handling and the pipelines of the CLI tools. (#5409)
- [Plugin]
- [Common]
- Removed the hex string helpers. (#5488)
Misc:
- [Dependencies]
- [Documentation]
- [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_stablediffusionplug-in (#5672). - Ran the WASI test suite again, which skipped all its tests, and built it for the
wasm32-wasip1target (#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-actionupdates (#5510), and corrected the downloads of the apt.llvm.org key and the ONNX Runtime (#5447, #5549, #5677).
- 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
- [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.