41.0.0
Released 2026-01-20.
Added
-
Support for
{Future,Stream}Anyin the component model has improved.
#12142 -
Wasmtime has initial support for breakpoints and single-stepping with the
debugfeature for guest programs.
#12133 -
Wasmtime has begun adding a new
Errortype which is similar to
anyhow::Errorbut supports gracefully handling OOM. Wasmtime still uses
anyhow::Errorbut this will change in the future towasmtime::Errorwhich
will be a distinct type.
#12163 -
An initial top-level crate for async-debugging guest programs has been added.
#12183
Changed
-
Cranelift now optimizes redundant
select+icmpinstructions.
#12135 -
Synchronous component model functions can no longer block before returning.
This implements a change in the upstream specification to the upcomingasync
support in the component model which places stricter restrictions on
non-asyncfunctions and their ability to perform blocking operations.
#12043 -
Frame iteration in
debugmode now visits all activations which enables
seeing all frames from recursive wasm calls.
#12176 -
Wasmtime now requires Rust 1.90.0 or later.
#12167 -
Intra-component stream/future reads/writes are now allowed for simple data
types.
#12181 -
The
POLLcallback code has been removed from the canonical ABI for async
functions and thewaitable-set.pollfunction no longer yields.
#12182 -
Guest-to-guest adapters injected by Wasmtime now have improved trapping error
messages.
#12215