snafu breaking changes
snafu 0.9.0 (March 2, 2026) is its newest release with breaking changes, 19 of them. The first: snafu 0.9.0 requires Rust 1.65 or later. Every breaking API change we have recorded in snafu on crates.io: 41 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.9.2, released July 21, 2026. Source repository
Its 0.9.0 release requires Rust 1.65 or later. Rust end of life dates.
snafu 0.9.0 breaking changes
- Removed
Rust 1.65 is now the minimum supported Rust version. Code built with older Rust compilers must upgrade their toolchain. github.com - Removed
Error.cause
The deprecated Error::cause method is no longer generated. github.com - Removed
Error.description
The deprecated Error::description method is no longer generated. github.com - Removed
rust_1_61
The rust_1_61 feature flag has been removed. Code enabling it must drop that flag. github.com - Removed
rust_1_65
The rust_1_65 feature flag has been removed. Code enabling it must drop that flag. github.com - Removed
snafu::Location::column
snafu::Location::column was removed in snafu 0.9.0 crates.io - Removed
snafu::Location::file
snafu::Location::file was removed in snafu 0.9.0 crates.io - Removed
snafu::Location::line
snafu::Location::line was removed in snafu 0.9.0 crates.io - Removed
snafu::Location::new
snafu::Location::new was removed in snafu 0.9.0 crates.io - Removed
snafu::Report::capture_into_result
snafu::Report::capture_into_result was removed in snafu 0.9.0 crates.io - Removed
unstable-core-error
The unstable-core-error feature flag has been removed. Code enabling it must drop that flag. github.com - Behavior changed
Opaque errors now allow construction from any value implementing Into for the wrapped type. Use source(from(exact)) to restore the previous behavior. github.com - Behavior changed
With the unstable-provider-api feature, provided values may no longer be chained or have chaining priority assigned. github.com - Behavior changed
With the unstable-provider-api feature, the source error is no longer provided by default for regular, opaque, Whatever and WhateverLocal errors. github.com - Behavior changed
Whatever
Whatever implements Send and Sync, so wrapped errors must also implement Send and Sync. github.com - Default changed
Rust 1.81 is now the default supported Rust version. Builds relying on older defaults may be affected. github.com - Signature changed
snafu::Location
snafu::Location is replaced with a type alias to the standard library's Location type. Code relying on the old type must be updated. crates.io - Signature changed
snafu::prelude::whatever
Was pub use crate::whatever; now mod whatever. crates.io - Signature changed
snafu::Whatever::backtrace
Was fn backtrace(&self) -> Option<&Backtrace>; now fn backtrace(&self) -> &Backtrace. crates.io
snafu 0.8.0 breaking changes
- Removed
backtraces
The backtraces feature flag has been removed; the Backtrace type is now the standard library's Backtrace when available. github.com - Removed
unstable-backtraces-impl-std
The unstable-backtraces-impl-std feature flag has been removed; the Backtrace type is now the standard library's Backtrace when available. github.com - Behavior changed
ChainCompat
The item type of the ChainCompat iterator is now &'a (dyn Error + 'b), so code relying on the previous item type may need updating. github.com - Behavior changed
Display
The default Display implementation no longer includes the error text of the source error, so messages change for users relying on it. github.com - Behavior changed
location
Error fields marked location are no longer automatically implicitly created, so users must set them explicitly. github.com - Behavior changed
snafu
Adding #[snafu] attributes to fields of a tuple struct is now an error, so such code must be removed. github.com - Default changed
Rust 1.65 is now the default supported Rust version, a breaking change for users on older compilers. github.com - Signature changed
snafu::Backtrace
The signature of snafu::Backtrace changed in snafu 0.8.0 crates.io - Signature changed
snafu::ChainCompat
Was struct ChainCompat<'a>; now struct ChainCompat<'a, 'b>. crates.io - Signature changed
snafu::ChainCompat::new
Was fn new(error: &'a dyn crate::Error) -> Self; now fn new(error: &'a (dyn crate::Error + 'b)) -> Self. crates.io
snafu 0.7.0 breaking changes
- Removed
eager_context
The deprecated eager_context method has been removed and must no longer be called. github.com - Removed
GenerateBacktrace
The GenerateBacktrace trait has been split into GenerateImplicitData and AsBacktrace, so code using GenerateBacktrace must switch to them. github.com - Removed
snafu
String attribute parsing such as #[snafu(foo = "...")] is no longer supported, so such attributes must be rewritten. github.com - Removed
with_eager_context
The deprecated with_eager_context method has been removed and must no longer be called. github.com - Renamed
context selectors
Generated context selectors now have the suffix Snafu, so code referring to the old selector names must be updated. github.com - Behavior changed
ResultExt.with_context
ResultExt::with_context, TryFutureExt::with_context and TryStreamExt::with_context now pass the error into the closure, so existing closures must accept it. github.com - Configuration changed
Rust 1.34 is now the minimum supported Rust version, so older compilers are no longer supported. github.com - Signature changed
snafu::futures::try_future::TryFutureExt::with_context
Was fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E> where F: FnOnce() -> C, C: IntoError<E, Source = Self::Error>, E: Error + ErrorCompat; now fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E>... crates.io - Signature changed
snafu::futures::try_stream::TryStreamExt::with_context
Was fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E> where F: FnMut() -> C, C: IntoError<E, Source = Self::Error>, E: Error + ErrorCompat; now fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E> where... crates.io - Signature changed
snafu::futures::TryFutureExt::with_context
Was fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E> where F: FnOnce() -> C, C: IntoError<E, Source = Self::Error>, E: Error + ErrorCompat; now fn with_context<F, C, E>(self, context: F) -> WithContext<Self, F, E>... crates.io
And 2 more in this version. Sign up to see every change
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.