---
title: "snafu 0.9.0 Breaking Changes on crates.io | Since.dev"
description: "What each snafu release removed, renamed or changed: 41 breaking changes in 3 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/snafu
last_updated: 2026-12-04
---

# 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

Latest version `0.9.2`, released July 21, 2026. [Source repository](https://github.com/shepmaster/snafu)

Its 0.9.0 release requires Rust 1.65 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.7.0](#v-0-7-0) to [0.9.0](#v-0-9-0): 29 breaking changes in 2 versions.

## snafu 0.9.0 breaking changes

snafu 0.9.0, released March 2, 2026: 19 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](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Removed** `Error.cause`  

The deprecated Error::cause method is no longer generated. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Removed** `Error.description`  

The deprecated Error::description method is no longer generated. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Removed** `rust_1_61`  

The rust_1_61 feature flag has been removed. Code enabling it must drop that flag. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Removed** `rust_1_65`  

The rust_1_65 feature flag has been removed. Code enabling it must drop that flag. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Removed** `snafu::Location::column`  

snafu::Location::column was removed in snafu 0.9.0 [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Removed** `snafu::Location::file`  

snafu::Location::file was removed in snafu 0.9.0 [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Removed** `snafu::Location::line`  

snafu::Location::line was removed in snafu 0.9.0 [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Removed** `snafu::Location::new`  

snafu::Location::new was removed in snafu 0.9.0 [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Removed** `snafu::Report::capture_into_result`  

snafu::Report::capture_into_result was removed in snafu 0.9.0 [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Removed** `unstable-core-error`  

The unstable-core-error feature flag has been removed. Code enabling it must drop that flag. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Behavior changed**  

With the unstable-provider-api feature, provided values may no longer be chained or have chaining priority assigned. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Behavior changed** `Whatever`  

Whatever implements Send and Sync, so wrapped errors must also implement Send and Sync. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **Default changed**  

Rust 1.81 is now the default supported Rust version. Builds relying on older defaults may be affected. [github.com](https://github.com/shepmaster/snafu/blob/0.9.0/CHANGELOG.md)
- **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](https://crates.io/crates/snafu/0.9.0)
- **Signature changed** `snafu::prelude::whatever`  

Was pub use crate::whatever; now mod whatever. [crates.io](https://crates.io/crates/snafu/0.9.0)
- **Signature changed** `snafu::Whatever::backtrace`  

Was fn backtrace(&self) -> Option<&Backtrace>; now fn backtrace(&self) -> &Backtrace. [crates.io](https://crates.io/crates/snafu/0.9.0)

## snafu 0.8.0 breaking changes

snafu 0.8.0, released December 30, 2023: 10 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](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **Behavior changed** `location`  

Error fields marked location are no longer automatically implicitly created, so users must set them explicitly. [github.com](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **Behavior changed** `snafu`  

Adding #\[snafu\] attributes to fields of a tuple struct is now an error, so such code must be removed. [github.com](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **Default changed**  

Rust 1.65 is now the default supported Rust version, a breaking change for users on older compilers. [github.com](https://github.com/shepmaster/snafu/blob/0.8.0/CHANGELOG.md)
- **Signature changed** `snafu::Backtrace`  

The signature of snafu::Backtrace changed in snafu 0.8.0 [crates.io](https://crates.io/crates/snafu/0.8.0)
- **Signature changed** `snafu::ChainCompat`  

Was struct ChainCompat<'a>; now struct ChainCompat<'a, 'b>. [crates.io](https://crates.io/crates/snafu/0.8.0)
- **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](https://crates.io/crates/snafu/0.8.0)

## snafu 0.7.0 breaking changes

snafu 0.7.0, released January 4, 2022: 12 breaking changes.

- **Removed** `eager_context`  

The deprecated eager_context method has been removed and must no longer be called. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **Removed** `GenerateBacktrace`  

The GenerateBacktrace trait has been split into GenerateImplicitData and AsBacktrace, so code using GenerateBacktrace must switch to them. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **Removed** `snafu`  

String attribute parsing such as #\[snafu(foo = "...")\] is no longer supported, so such attributes must be rewritten. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **Removed** `with_eager_context`  

The deprecated with_eager_context method has been removed and must no longer be called. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **Renamed** `context selectors`  

Generated context selectors now have the suffix Snafu, so code referring to the old selector names must be updated. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **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](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **Configuration changed**  

Rust 1.34 is now the minimum supported Rust version, so older compilers are no longer supported. [github.com](https://github.com/shepmaster/snafu/blob/0.7.0/CHANGELOG.md)
- **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](https://crates.io/crates/snafu/0.7.0)
- **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](https://crates.io/crates/snafu/0.7.0)
- **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](https://crates.io/crates/snafu/0.7.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
