tower-http breaking changes
tower-http 0.7.1 (August 31, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed ServeDir.try_call. Every breaking API change we have recorded in tower-http on crates.io: 54 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.7.1, released August 31, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
tower-http 0.7.1 breaking changes
- Behavior changed
ServeDir.try_call
When no fallback is configured, ServeDir::try_call now propagates expected filesystem I/O errors rather than converting them to 404 Not Found responses. Code that relied on the 404 must handle the error. github.com - Configuration changed
The fs feature now requires http-range-header 0.4.2 or later. Projects pinning an older version must upgrade it. github.com
tower-http 0.7.0 breaking changes
- Removed
async-compression
The async-compression feature is gone. Remove tower-http/async-compression from feature lists; the dependency is still pulled in transitively. github.com - Removed
tokio
The tokio feature is gone. Remove tower-http/tokio from feature lists; the dependency is still pulled in by features that need it. github.com - Removed
tower_http::classify::GrpcFailureClass::Code
tower_http::classify::GrpcFailureClass::Code was removed in tower-http 0.7.0 crates.io - Behavior changed
Requests for a file path with a trailing slash now get 404 Not Found instead of the file. Update clients that relied on the old behavior. github.com - Behavior changed
compression
Requests that reject all encodings without an alternative now get 406 Not Acceptable instead of falling back to identity. Clients that relied on the old fallback must be checked. github.com - Behavior changed
cors
The default Vary header behavior of the CORS layer was relaxed, so responses may carry different Vary values. github.com - Behavior changed
FilterCredentials
Values dropped on one redirect hop are no longer replayed on later hops. Custom Policy::on_request implementations now see the previous hop's filtered request. github.com - Default changed
FollowRedirectLayer
FollowRedirect keeps request extensions across redirects. To restore the old behavior, call preserve_extensions(false). github.com - Configuration changed
The MSRV moved from 1.64 to 1.65, so toolchains older than 1.65 can no longer build this release. github.com - Signature changed
GrpcCode
Exhaustive matches on GrpcCode will no longer compile and need a wildcard arm. github.com
And 27 more in this version. Sign up to see every change
tower-http 0.6.11 breaking changes
- Behavior changed
compression
Responses with application/grpc-web content type are now compressed. Only plain application/grpc responses are excluded, so code relying on grpc-web being uncompressed must change. github.com
tower-http 0.6.9 breaking changes
- Removed
async-compression
The async-compression feature is no longer enabled implicitly. Code that needs it must enable it explicitly in Cargo.toml. github.com - Removed
tokio
The tokio feature is no longer enabled implicitly. Code that needs it must enable it explicitly in Cargo.toml. github.com - Configuration changed
fs
Enabling fs no longer turns on the tracing crate feature. Enable tracing explicitly to keep error logging on ServeDir IO failures. github.com
tower-http 0.6.8 breaking changes
- Behavior changed
The gzip decoder now has the multiple_members option disabled, so it reads only the first gzip member of a stream. Code that relied on decoding multi-member input must handle that case itself. github.com
tower-http 0.6.5 breaking changes
- Behavior changed
redirect
When a redirect changes the request method to GET, payload headers are now removed. Code that relied on those headers being forwarded on the redirected request must be updated. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
tower-http 0.6.4 breaking changes
- Signature changed
tower_http::ServiceBuilderExt
Was trait ServiceBuilderExt<L>: crate::sealed::Sealed<L> + Sized; now trait ServiceBuilderExt<L>: sealed::Sealed<L> + Sized. crates.io
tower-http 0.6.2 breaking changes
- Behavior changed
CompressionBody
When compression is disabled, CompressionBody forwards the wrapped body's size hint, so a content-length header may now appear in responses that previously had none. github.com
tower-http 0.6.0 breaking changes
- Configuration changed
body
The body module is only compiled when the catch-panic, decompression, fs, or limit features are enabled. Code using the body module must enable one of those features. github.com - Signature changed
tower_http::validate_request::ValidateRequestHeader::accept
Was fn accept(inner: S, value: &str) -> Self where ResBody: Body + Default,; now fn accept(inner: S, value: &str) -> Self where ResBody: Default,. crates.io
And 5 more in this version.
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.