wasmtime-environ breaking changes
wasmtime-environ 51.0.0 (November 20, 2026) is its newest release with breaking changes, 46 of them. The first: Removed wasmtime_environ::Module::import_position. Every breaking API change we have recorded in wasmtime-environ on crates.io: 46 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 51.0.1, released December 4, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
wasmtime-environ 51.0.0 breaking changes
- Removed
wasmtime_environ::Module::import_position
wasmtime_environ::Module::import_position was removed in wasmtime-environ 51.0.0 crates.io - Behavior changed
On targets without context-information support, signal handlers are now disabled automatically instead of being used. github.com - Behavior changed
Calls between components now enforce reentrance and may_leave conditions more strictly, per the spec. github.com - Behavior changed
The behavior of removing directories given with a trailing slash was changed. github.com - Behavior changed
CI now provides precompiled "min" artifacts only for a subset of platforms. github.com - Behavior changed
An embedder-returned ThrownException error is no longer interpreted as a raised exception within the component. github.com - Behavior changed
Stack slots with overly large alignment are now rejected with an error. github.com - Behavior changed
wasmtime serve
On Unix, receiving SIGTERM now triggers graceful shutdown rather than an immediate stop. github.com - Default changed
Stores now cap active fibers by default, so code relying on unlimited fibers may hit the limit. github.com - Configuration changed
Enabling simd or relaxed-simd on riscv64 without the has_v extension now returns an error, so builds must enable has_v. github.com - Signature changed
DirectDestination.remaining
Callers must handle the Result returned by DirectDestination::remaining. github.com - Signature changed
DirectSource.remaining
Callers must handle the Result returned by DirectSource::remaining. github.com - Signature changed
MemoryType.new
Callers must handle the Result returned by MemoryType::new rather than relying on a panic. github.com - Signature changed
TableType.new
Callers must handle the Result returned by TableType::new rather than relying on a panic. github.com - Signature changed
wasmtime_environ::CompiledModuleInfo::func_names
Was func_names: Vec<FunctionName>; now func_names: TryVec<FunctionName>. crates.io - Signature changed
wasmtime_environ::component::Component::defined_resource_instances
Was defined_resource_instances: PrimaryMap<DefinedResourceIndex, RuntimeComponentInstanceIndex>; now defined_resource_instances: TryPrimaryMap<DefinedResourceIndex, RuntimeComponentInstanceIndex>. crates.io - Signature changed
wasmtime_environ::component::Component::export_items
Was export_items: PrimaryMap<ExportIndex, Export>; now export_items: TryPrimaryMap<ExportIndex, Export>. crates.io - Signature changed
wasmtime_environ::component::Component::import_types
Was import_types: PrimaryMap<ImportIndex, (String, ComponentExtern)>; now import_types: TryPrimaryMap<ImportIndex, (TryString, ComponentExtern)>. crates.io - Signature changed
wasmtime_environ::component::Component::imported_resources
Was imported_resources: PrimaryMap<ResourceIndex, RuntimeImportIndex>; now imported_resources: TryPrimaryMap<ResourceIndex, RuntimeImportIndex>. crates.io - Signature changed
wasmtime_environ::component::Component::imports
Was imports: PrimaryMap<RuntimeImportIndex, (ImportIndex, Vec<String>)>; now imports: TryPrimaryMap<RuntimeImportIndex, (ImportIndex, TryVec<TryString>)>. crates.io - Signature changed
wasmtime_environ::component::Component::initializers
Was initializers: Vec<GlobalInitializer>; now initializers: TryVec<GlobalInitializer>. crates.io - Signature changed
wasmtime_environ::component::Component::options
Was options: PrimaryMap<OptionsIndex, CanonicalOptions>; now options: TryPrimaryMap<OptionsIndex, CanonicalOptions>. crates.io - Signature changed
wasmtime_environ::component::Component::trampolines
Was trampolines: PrimaryMap<TrampolineIndex, ModuleInternedTypeIndex>; now trampolines: TryPrimaryMap<TrampolineIndex, ModuleInternedTypeIndex>. crates.io - Signature changed
wasmtime_environ::component::ComponentArtifacts::static_modules
Was static_modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>; now static_modules: TryPrimaryMap<StaticModuleIndex, CompiledModuleInfo>. crates.io - Signature changed
wasmtime_environ::component::ComponentExternData::external_id
Was external_id: Option<String>; now external_id: Option<TryString>. crates.io - Signature changed
wasmtime_environ::component::ComponentExternData::implements
Was implements: Option<String>; now implements: Option<TryString>. crates.io - Signature changed
wasmtime_environ::component::dfg::Trampoline::ThreadNewIndirect
Was ThreadNewIndirect {instance: RuntimeComponentInstanceIndex, start_func_ty_idx: ComponentTypeIndex, start_func_table_id: TableId}; now ThreadNewIndirect {instance: RuntimeComponentInstanceIndex, start_func_ty_idx... crates.io - Signature changed
wasmtime_environ::component::ExportItem::Name
Was Name(String); now Name(TryString). crates.io - Signature changed
wasmtime_environ::component::InstantiateModule::Import
Was Import(RuntimeImportIndex, IndexMap<String, IndexMap<String, CoreDef>>); now Import(RuntimeImportIndex, TryIndexMap<TryString, TryIndexMap<TryString, CoreDef>>). crates.io - Signature changed
wasmtime_environ::component::InstantiateModule::Static
Was Static(StaticModuleIndex, Box<[CoreDef]>); now Static(StaticModuleIndex, TryVec<CoreDef>). crates.io - Signature changed
wasmtime_environ::component::RecordField::name
Was name: String; now name: TryString. crates.io - Signature changed
wasmtime_environ::component::Trampoline::ThreadNewIndirect
Was ThreadNewIndirect {/// The specific component instance which is calling the intrinsic. instance: RuntimeComponentInstanceIndex, /// The type index for the start function of the thread. start_func_ty_idx: ComponentTypeIndex, /// The... crates.io - Signature changed
wasmtime_environ::component::TypeComponent::exports
Was exports: IndexMap<String, ComponentExtern>; now exports: TryIndexMap<TryString, ComponentExtern>. crates.io - Signature changed
wasmtime_environ::component::TypeComponent::imports
Was imports: IndexMap<String, ComponentExtern>; now imports: TryIndexMap<TryString, ComponentExtern>. crates.io - Signature changed
wasmtime_environ::component::TypeComponentInstance::exports
Was exports: IndexMap<String, ComponentExtern>; now exports: TryIndexMap<TryString, ComponentExtern>. crates.io - Signature changed
wasmtime_environ::component::TypeEnum::names
Was names: IndexSet<String>; now names: TryIndexSet<TryString>. crates.io - Signature changed
wasmtime_environ::component::TypeFlags::names
Was names: IndexSet<String>; now names: TryIndexSet<TryString>. crates.io - Signature changed
wasmtime_environ::component::TypeFunc::param_names
Was param_names: Vec<String>; now param_names: TryVec<TryString>. crates.io - Signature changed
wasmtime_environ::component::TypeModule::exports
Was exports: IndexMap<String, EntityType>; now exports: TryIndexMap<TryString, EntityType>. crates.io - Signature changed
wasmtime_environ::component::TypeModule::imports
Was imports: IndexMap<(String, String), EntityType>; now imports: TryIndexMap<(TryString, TryString), EntityType>. crates.io - Signature changed
wasmtime_environ::component::TypeRecord::fields
Was fields: Box<[RecordField]>; now fields: TryVec<RecordField>. crates.io - Signature changed
wasmtime_environ::component::TypeTuple::types
Was types: Box<[InterfaceType]>; now types: TryVec<InterfaceType>. crates.io - Signature changed
wasmtime_environ::component::TypeVariant::cases
Was cases: IndexMap<String, Option<InterfaceType>>; now cases: TryIndexMap<TryString, Option<InterfaceType>>. crates.io - Signature changed
wasmtime_environ::fact::Module::adapt
Was fn adapt(&mut self, name: &str, component: &ComponentDfg, adapter: AdapterId); now fn adapt(&mut self, name: &str, adapter: AdapterId). crates.io - Signature changed
wasmtime_environ::fact::Module::new
Was fn new(types: &'a ComponentTypesBuilder, tunables: &'a Tunables, features: WasmFeatures) -> Module<'a>; now fn new(types: &'a ComponentTypesBuilder, component: &'a ComponentDfg, tunables: &'a Tunables, features: WasmFeatures) ->... crates.io - Signature changed
wasmtime_environ::Metadata::dwarf
Was dwarf: Vec<(u8, Range<u64>)>; now dwarf: TryVec<(u8, Range<u64>)>. crates.io
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.