wasmtime breaking changes
Updated December 4, 2026
On this page
Latest version 51.0.1, released December 4, 2026. Source repository
Its 50.0.0 release requires Rust 1.97.0 or later. Rust end of life dates.
- From 50.0.0 to 51.0.0: 18 breaking changes in 1 version.
- From 29.0.0 to 51.0.0: 410 breaking changes in 23 versions.
wasmtime 51.0.0 breaking changes
- Behavior changed
Code relying on struct arguments with the tail calling convention will now be rejected by Cranelift. github.com - Behavior changed
Stack slots with overly large alignment are now rejected by Cranelift instead of being accepted. github.com - Behavior changed
Signal handlers are now automatically disabled on targets without context-information support, changing trap handling there. github.com - Behavior changed
On Unix, receiving SIGTERM now triggers graceful shutdown of wasmtime serve instead of an immediate stop. github.com - Default changed
The number of active fibers within a store is capped by default, which may affect code that creates many fibers. github.com - Configuration changed
Enabling simd or relaxed-simd on riscv64 now requires the has_v extension, otherwise an error is returned. github.com - Signature changed
MemoryType.new
Creating a memory type now returns a Result, so callers must handle the error instead of relying on a panic. github.com - Signature changed
TableType.new
Creating a table type now returns a Result, so callers must handle the error instead of relying on a panic. github.com - Signature changed
wasmtime::component::bindgen_examples::_7_async::MyLogger::max_level
Was max_level: example::imported_resources::logging::Level; now max_level: example::resource_async::logging::Level. crates.io - Signature changed
wasmtime::component::Destination::remaining
Was fn remaining(&self, mut store: impl AsContextMut) -> Option<usize>; now fn remaining(&self, mut store: impl AsContextMut) -> Result<Option<usize>>. crates.io - Signature changed
wasmtime::component::DirectDestination::remaining
The remaining method now returns a Result, so callers must unwrap or handle the error. crates.io - Signature changed
wasmtime::component::DirectSource::remaining
The remaining method now returns a Result, so callers must unwrap or handle the error. crates.io - Signature changed
wasmtime::component::Func::finish_call_concurrent
Was async fn finish_call_concurrent<T: Send>(self, accessor: impl AsAccessor<Data = T>, call: FuncCallConcurrent<'_, T>) -> Result<()>; now async fn finish_call_concurrent<T: Send + 'static>(self, accessor: impl AsAccessor<Data = T>, call... crates.io - Signature changed
wasmtime::component::ResourceTable
Was struct ResourceTable; now struct ResourceTable<D: DeleteWithTombstone = DefaultTombstone>. crates.io - Signature changed
wasmtime::component::ResourceTable::iter_children
Was fn iter_children<T>(&self, parent: &Resource<T>) -> Result<impl Iterator<Item = &(dyn Any + Send)> + use<'_, T>, ResourceTableError> where T: 'static,; now fn iter_children<T>(&self, parent: &Resource<T>) -> Result<impl Iterator<Item =... crates.io - Signature changed
wasmtime::component::Source::remaining
Was fn remaining(&self, mut store: impl AsContextMut) -> usize where T: 'static,; now fn remaining(&self, mut store: impl AsContextMut) -> Result<usize> where T: 'static,. crates.io - Signature changed
wasmtime::component::StreamProducer::try_into
Was fn try_into(me: Pin<Box<Self>>, _ty: TypeId) -> Result<Box<dyn Any>, Pin<Box<Self>>>; now fn try_into(me: Pin<Box<Self>>, buffer: Self::Buffer, _ty: TypeId) -> Result<Box<dyn Any>, (Pin<Box<Self>>, Self::Buffer)>. crates.io - Signature changed
wasmtime::component::VMComponentAsyncStore::thread_new_indirect
Was fn thread_new_indirect(&mut self, instance: Instance, caller: RuntimeComponentInstanceIndex, func_ty_idx: TypeFuncIndex, start_func_table_idx: RuntimeTableIndex, start_func_idx: u32, context: i32) -> Result<u32>; now fn... crates.io
wasmtime 50.0.0 breaking changes
- Removed
cancellable
The cancellable immediate has been removed from component-model-async intrinsics. github.com - Removed
wasmtime::component::FuncCallConcurrent::task
wasmtime::component::FuncCallConcurrent::task was removed in wasmtime 50.0.0 crates.io - Removed
wasmtime::component::GuestTaskId
wasmtime::component::GuestTaskId was removed in wasmtime 50.0.0 crates.io - Removed
wasmtime::component::TypedFuncCallConcurrent::task
wasmtime::component::TypedFuncCallConcurrent::task was removed in wasmtime 50.0.0 crates.io - Removed
wasmtime::component::VMComponentAsyncStore::async_start
wasmtime::component::VMComponentAsyncStore::async_start was removed in wasmtime 50.0.0 crates.io - Removed
wasmtime::component::VMComponentAsyncStore::sync_start
wasmtime::component::VMComponentAsyncStore::sync_start was removed in wasmtime 50.0.0 crates.io - Removed
wasmtime::StoreContextMut::async_call_stack
wasmtime::StoreContextMut::async_call_stack was removed in wasmtime 50.0.0 crates.io - Behavior changed
Building Wasmtime now requires Rust 1.97.0 or later. github.com - Behavior changed
Component-model-async was updated to the latest spec: the cancellable immediate was removed, subtask.cancel and task.cancel semantics changed, and using stream/future handles after the other end is dropped now traps. github.com - Behavior changed
wasmtime.serve
The CLI now rejects zero for the --http-outgoing-body-* options, so scripts passing zero will fail. github.com
And 12 more in this version. Sign up to see every change
wasmtime 50.0.0-rc.1 breaking changes
- Removed
listenfd
The non-functional listenfd WASI CLI option was removed. github.com
wasmtime 49.0.0 breaking changes
- Removed
wasmtime::Store::max_component_handles
wasmtime::Store::max_component_handles was removed in wasmtime 49.0.0 crates.io - Removed
wasmtime::Store::set_max_component_handles
wasmtime::Store::set_max_component_handles was removed in wasmtime 49.0.0 crates.io - Removed
wasmtime::StoreContextMut::max_component_handles
wasmtime::StoreContextMut::max_component_handles was removed in wasmtime 49.0.0 crates.io - Removed
wasmtime::StoreContextMut::set_max_component_handles
wasmtime::StoreContextMut::set_max_component_handles was removed in wasmtime 49.0.0 crates.io - Behavior changed
Port validation in the WASIp2 wasi:http implementation now matches wasip3, so previously accepted ports may be rejected. github.com - Behavior changed
wasi:filesystem now returns the is-directory error in some situations when a file is provided. github.com - Behavior changed
Thread scheduling around trapping for cooperatively threaded components was adjusted to match the component-model specification. github.com - Behavior changed
Fuel for bulk operations is now charged after completion rather than up-front, so out-of-fuel timing can differ. github.com - Behavior changed
Config.operator_cost
Operators in constant expressions and the synthesized call to a module's start function now use the configured operator cost instead of 1 fuel unit. Review fuel budgets. github.com - Behavior changed
StreamError.Closed
Host-level broken pipe errors in WASIp2 now surface as StreamError::Closed. Code matching other errors for these cases must be updated. github.com
And 3 more in this version. Sign up to see every change
wasmtime 48.0.0 breaking changes
- Behavior changed
Synchronous cancellation of streams, futures or subtasks traps when the waitable is already in a waitable set. Code that cancels such waitables must be changed to avoid the trap. github.com - Behavior changed
Permissions for wasi-filesystem directories in wasmtime-wasi are now only read-write or read-only. Code relying on finer-grained permissions must be updated. github.com - Behavior changed
Wasmtime now sets async task context fields to zero on realloc calls. Host code relying on the previous values may behave differently. github.com - Behavior changed
The host traits in wasmtime-wasi-http are now the same for wasip2 and wasip3 and no longer need separate implementations or structures. Custom implementations must be updated to match. github.com - Behavior changed
Wasmtime now needs Rust 1.95.0 or later to build. Projects building it with an older toolchain must upgrade. github.com - Default changed
The default wasmtime-wasi configuration now denies creating TCP and UDP sockets. Code that needs sockets must explicitly allow them. github.com
wasmtime 47.0.0 breaking changes
- Removed
Support for wasi-threads and the wasi-common crate are gone. Code that depends on them must move to another approach. github.com - Removed
global_value
The Cranelift global_value instruction has been removed. github.com - Behavior changed
Uncaught wasm exceptions at component boundaries are now turned into traps, so code expecting them to pass through will see a trap instead. github.com - Behavior changed
Wasmtime now invokes the host's socket_addr_check callback for implicit binds performed in WASIp3, so hosts may see new calls and rejections. github.com - Default changed
Wasmtime now enables the WebAssembly GC proposal by default, so code relying on the old default may behave differently. github.com - Default changed
Wasmtime now enables the WebAssembly exception-handling proposal by default. github.com - Signature changed
wasmtime::component::Access::spawn
Was fn spawn(&mut self, task: impl AccessorTask<T, D>) -> JoinHandle where T: 'static,; now fn spawn(&mut self, task: impl AccessorTask<T, D>) -> Result<JoinHandle> where T: 'static,. crates.io - Signature changed
wasmtime::component::Accessor::spawn
Was fn spawn(&self, task: impl AccessorTask<T, D>) -> JoinHandle where T: 'static,; now fn spawn(&self, task: impl AccessorTask<T, D>) -> Result<JoinHandle> where T: 'static,. crates.io - Signature changed
wasmtime::component::WasmList::iter
Was fn iter<'a, U: 'static>(&'a self, store: impl Into<StoreContextMut<'a, U>>) -> impl ExactSizeIterator<Item = Result<T>> + 'a; now fn iter<'a, U: 'static>(&'a self, store: impl Into<StoreContextMut<'a, U>>) -> Result<impl... crates.io - Signature changed
wasmtime::Store::spawn
Was fn spawn(&mut self, task: impl AccessorTask<T, HasSelf<T>>) -> JoinHandle where T: 'static,; now fn spawn(&mut self, task: impl AccessorTask<T, HasSelf<T>>) -> Result<JoinHandle> where T: 'static,. crates.io
And 2 more in this version. Sign up to see every change
Older versions
18 older versions, each with its first changes. Sign up to see every change
Show 18 older versions
wasmtime 46.0.0 breaking changes
- Removed
Many Cranelift *_imm instructions were removed in favor of other opcodes. Builder-style methods remain, so code using them may need to switch. github.com - Removed
wasmtime::CompiledModule::array_to_wasm_trampoline_range
wasmtime::CompiledModule::array_to_wasm_trampoline_range was removed in wasmtime 46.0.0 crates.io
And 34 more in this version.
wasmtime 45.0.0 breaking changes
- Removed
wasmtime::Config::wasm_component_model_async_builtins
wasmtime::Config::wasm_component_model_async_builtins was removed in wasmtime 45.0.0 crates.io - Behavior changed
Building Wasmtime needs Rust 1.93.0 or later. Upgrade the Rust toolchain before building. github.com
And 3 more in this version.
wasmtime 44.0.0 breaking changes
- Renamed
wasmtime::Config::cranelift_pcc
Use wasmtime::Config::wasm_component_model_map instead. crates.io - Behavior changed
The csdb spectre defense instruction is no longer emitted by default on aarch64, matching peer runtimes. Code relying on that default output should opt in if it needs it. github.com
And 2 more in this version.
wasmtime 43.0.0 breaking changes
- Removed
wasmtime::component::TaskExit
wasmtime::component::TaskExit was removed in wasmtime 43.0.0 crates.io - Removed
wasmtime::Store::debug_frames
wasmtime::Store::debug_frames was removed in wasmtime 43.0.0 crates.io
And 20 more in this version.
wasmtime 42.0.0 breaking changes
- Removed
wasmtime::component::Func::post_return
wasmtime::component::Func::post_return was removed in wasmtime 42.0.0 crates.io - Removed
wasmtime::component::Func::post_return_async
wasmtime::component::Func::post_return_async was removed in wasmtime 42.0.0 crates.io
And 23 more in this version.
wasmtime 41.0.0 breaking changes
- Removed
Building Wasmtime now requires Rust 1.90.0 or later. Users on older Rust toolchains must upgrade. github.com - Removed
The POLL callback code was removed from the canonical ABI for async functions. Code that depends on it must be updated. github.com
And 19 more in this version.
wasmtime 40.0.0 breaking changes
- Removed
wasmtime::CompiledModule::array_to_wasm_trampoline
wasmtime::CompiledModule::array_to_wasm_trampoline was removed in wasmtime 40.0.0 crates.io - Removed
wasmtime::CompiledModule::code_memory
wasmtime::CompiledModule::code_memory was removed in wasmtime 40.0.0 crates.io
And 12 more in this version.
wasmtime 39.0.0 breaking changes
- Removed
wasmtime::component::Access::instance
wasmtime::component::Access::instance was removed in wasmtime 39.0.0 crates.io - Removed
wasmtime::component::Accessor::instance
wasmtime::component::Accessor::instance was removed in wasmtime 39.0.0 crates.io
And 27 more in this version.
wasmtime 38.0.0 breaking changes
- Signature changed
wasmtime::CompiledModule::array_to_wasm_trampoline
Was fn array_to_wasm_trampoline(&self, index: DefinedFuncIndex) -> Option<&[u8]>; now fn array_to_wasm_trampoline(&self, def_func_index: DefinedFuncIndex) -> Option<&[u8]>. crates.io - Signature changed
wasmtime::CompiledModule::finished_function
Was fn finished_function(&self, index: DefinedFuncIndex) -> &[u8]; now fn finished_function(&self, def_func_index: DefinedFuncIndex) -> &[u8]. crates.io
And 15 more in this version.
wasmtime 37.0.0 breaking changes
- Removed
wasmtime::CompiledModule::module_mut
wasmtime::CompiledModule::module_mut was removed in wasmtime 37.0.0 crates.io - Removed
wasmtime::component::FutureReader::read
wasmtime::component::FutureReader::read was removed in wasmtime 37.0.0 crates.io
And 46 more in this version.
wasmtime 36.0.0 breaking changes
- Removed
wasmtime::component::Promise
wasmtime::component::Promise was removed in wasmtime 36.0.0 crates.io - Removed
wasmtime::component::PromisesUnordered
wasmtime::component::PromisesUnordered was removed in wasmtime 36.0.0 crates.io
And 43 more in this version.
wasmtime 35.0.0 breaking changes
- Renamed
Wasmtime-internal crates now carry the wasmtime-internal-* prefix. Any direct dependency on the old crate names must be updated. github.com - Renamed
wasmtime::component::VMComponentAsyncStore::future_close_readable
Use wasmtime::component::VMComponentAsyncStore::future_drop_readable instead. crates.io
And 12 more in this version.
wasmtime 34.0.0 breaking changes
- Removed
GetHost
The GetHost trait was removed and replaced by a HasData trait, so code implementing or naming GetHost must switch to HasData. github.com - Behavior changed
Cranelift now returns an error for big-endian loads and stores on backends that do not implement them, where code previously compiled. github.com
And 24 more in this version.
wasmtime 33.0.0 breaking changes
- Removed
wasmtime::Config::cache_config_load
wasmtime::Config::cache_config_load was removed in wasmtime 33.0.0 crates.io - Removed
wasmtime::Config::cache_config_load_default
wasmtime::Config::cache_config_load_default was removed in wasmtime 33.0.0 crates.io
And 13 more in this version.
wasmtime 32.0.0 breaking changes
- Removed
wasmtime::CompiledModule::stack_maps
wasmtime::CompiledModule::stack_maps was removed in wasmtime 32.0.0 crates.io - Removed
wasmtime::CompiledModule::wasm_func_info
wasmtime::CompiledModule::wasm_func_info was removed in wasmtime 32.0.0 crates.io
And 4 more in this version.
wasmtime 31.0.0 breaking changes
- Removed
wasmtime::Config::wasm_component_model_more_flags
wasmtime::Config::wasm_component_model_more_flags was removed in wasmtime 31.0.0 crates.io - Removed
wasmtime::Config::wasm_component_model_multiple_returns
wasmtime::Config::wasm_component_model_multiple_returns was removed in wasmtime 31.0.0 crates.io
And 2 more in this version.
wasmtime 30.0.0 breaking changes
- Removed
Building wasmtime now requires Rust 1.82.0 or later. github.com - Removed
signals-based-traps
The signals-based-traps Cargo feature is removed; availability is now auto-detected from platform cfg directives. github.com
And 5 more in this version.
wasmtime 29.0.0 breaking changes
- Behavior changed
Internal libcalls now return whether a trap happened rather than raising a trap directly. Embedders relying on the previous trap mechanism should check their handling. github.com - Behavior changed
Float values passed into or out of components are no longer canonicalized. Code that depended on canonical NaN values may observe different bit patterns. github.com
And 3 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.