51.0.0
Released 2026-11-20.
Added
-
Cranelift has initial support for 128-bit atomics on AArch64.
#14475 -
Cranelift has initial support for 128-bit atomics on s390x.
#14771
#14809 -
Cranelift now has an
interrupt_pollinstruction suitable for generating a
native signal with an architectural load which the embedder has necessary
metadata to redirect execution if necessary.
#14579 -
Wasmtime now has the ability to precompute symbol tables with the
GuestProfilerto greatly improve the cost of capturing profiles across many
stores of the same module's intances.
#14753 -
Wasmtime now supports filling in unknown imports with functions that return
default values.
#14746 -
The
WorkerStatetrait inwasmtime-wais-httpnow has apollmethod which
can be overridden to hook into polling of guest-based futures.
#14847 -
The WIT
maptype can now be used from the C API.
#14840 -
The host Rust type used for a WIT
maptype's bindings can now be customized
inbindgen!.
#14927 -
A new
Global::get_numericfunction allows getting the value of aGlobal
with aStoreContext, but only for numeric values.
#14979 -
The
wasmtime servesubcommand now has a--post-return-timeoutoption.
#14880 -
Cranelift now has a
volatilememory flag.
#14999 -
Wasmtime and the CLI now support configuring buffer sizes in WASI to be used
instead of having these values hardcoded.
#15095
Changed
-
Compile-time for may host-defined functions should be improved by a good
amount.
#14517 -
The performance of returning values from a host function that will never call
reallocin the guest has been significantly improved.
#14468 -
The
{Memory,Table}Type::newAPIs now return aResultinstead of panicking
to represent fallible creation.
#14591 -
Buffering of outgoing wasip3 http requests is now configurable.
#14613 -
Cranelift now rejects too-large stack slot alignment.
#14650 -
Cranelift now rejects struct-args in the
tailcalling convention as this
was never actually supported.
#14649 -
The behavior of removing directories with a trailing slash has been fixed.
#14662
#14663 -
The shared global code register is now omitted in no-singals-based-traps
builds of Wasmtime.
#14690 -
The
Direct{Source,Destination}::remainingAPIs now return aResult.
#14740 -
Cranelift's lowering for
{usub,sadd,ssub}_overflowcombined with a branch
has been optimized.
#14717 -
Cranelift's lowering of the
shuffleinstruction is now more optimal when it
can usepshufbwith just a single operand.
#14849 -
Wasmtime's
LinearMemorytrait has been adjusted to be usable with more
embedding options.
#14885 -
The
wasmtime servewill now use graceful shutdown when receiving a SIGTERM
signal on Unix.
#14904 -
Enabling the WebAssembly simd or relaxed-simd features on riscv64 now requires
thehas_vextension to be enabled, and otherwise an error is returned.
#14897 -
The number of active fibers within a store is now limited by default.
#14971 -
Usage of signal handlers is now automatically disabled on targets where
Wasmtime does not have an implementation of pulling out context information.
#14990 -
The
ref.funcinstruction's implementation is now more optimal.
#14683 -
Wasmtime will no longer provide precompiled "min" artifacts for all platforms
in CI, just a subset.
#15127
Fixed
-
Unbounded host memory growth via empty writes to
AsyncWriteStreamin
wasmtime-wasihas been fixed.
GHSA-5m8g-xhq4-4h93 -
Stale GC heap base pointer in compiled code lets a Wasm guest abort the host
process has been fixed.
GHSA-43j2-gcp4-m22g -
Panic when a component cancels a stream or future copy on the wrong end has
been fixed.
GHSA-xrvr-8678-5wp8 -
Panic in
Caller::get_module_exportwhen a host function isn't called from
WebAssembly has been fixed.
GHSA-hj27-mpw9-ff4c -
Process abort when a GC heap's reservation isn't a multiple of the page size
has been fixed.
GHSA-wvgq-g5hf-6gm6 -
Fixed abort in Wasmtime builds without the
gccargo feature.
GHSA-rc4p-x33f-vpr2 -
Fixed abort in Wasmtime builds without the
threadscargo feature.
GHSA-2674-w29h-wqvj -
Empty Body Writes can result in unbound heap usage with HTTP/2 has been fixed.
GHSA-f8mm-ggr3-89wh -
Zero-length writes in WASIp2 no longer trap.
#14533 -
Cache maintenance on AArch64 platforms has been improved.
#14454 -
Component-to-component calls now more strictly handle reentrance and
may_leaveconditions according to the spec.
#14542
#14574
#14670 -
Components no longer interpret an embedder-returned
ThrownExceptionerror as
a raised exception within the component itself.
#14549
#14688
#14689 -
More checks are in place to insulate embedders against incorrect management of
futures/streams to avoid possibly invalid states a guest may see.
#14552 -
Component model guests now correctly trap if
borrow<T>values are still live
when anasyncfunction returns.
#14580 -
Fixed a resource leak with the WASIp2
outgoing-handler.handlefunction.
#14603 -
The youngest frame in a stack overflow is now handled better on s390x and
Pulley.
#14687 -
This release contains a large number of tweaks, adjustments, and primarily
fixes for component-model-async behavior. Most of this falls in the category
of ensuring that Wasmtime's behavior matches the spec's behavior, but this
also includes fixes to host-specific interactions, such as the consequence of
cancelling/dropping futures, to make Wasmtime more robust in these situations. -
Similarly this release contains a large number of similar tweaks, adjustments,
and fixes for HTTP-related behavior inwasmtime-wasi-httpandwasmtime serve. -
Debugging guests with gdbstub now correctly forwards interrupt requests to the
debuggee.
#14776 -
Handling of component type ascription on exports has been fixed.
#14865 -
Wasmtime's usage of the
PAGEMAP_SCANioctl has been fixed on newer versions
of Linux kernels.
#15134