actix-web breaking changes
actix-web 4.18.2 (November 6, 2026) is its newest release with breaking changes, 4 of them. The first: Method mismatches now return 405 with Allow header in actix-web 4.18.2. Every breaking API change we have recorded in actix-web on crates.io: 154 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.21.0, released December 4, 2026. Source repository
Its 4.18.0 release requires Rust 1.89 or later. Rust end of life dates.
actix-web 4.18.2 breaking changes
- Behavior changed
When method guards reject a matching resource, the built-in app default now returns 405 with an Allow header instead of the previous response. Code checking for the old status code must be updated. github.com - Behavior changed
Form, JSON, bytes and string extractors now apply the configured size limits to decompressed request bodies. Large decompressed payloads that were previously accepted may now be rejected. github.com - Behavior changed
ContentDisposition.attachment
ContentDisposition::attachment() now adds a UTF-8 encoded filename* parameter for non-ASCII filenames, so the generated header differs for those names. github.com - Default changed
The default limit for form payloads is now 32 KiB. Code that relied on the previous smaller default may need to set the limit explicitly. github.com
actix-web 4.18.0 breaking changes
- Removed
Older Rust toolchains are no longer supported, so code must be built with Rust 1.89 or later. github.com
actix-web 4.16.0 breaking changes
- Configuration changed
The TLS features no longer turn on the http2 crate feature. If your code depends on HTTP/2 being enabled through a TLS feature, enable the http2 feature explicitly. github.com
actix-web 4.0.0 breaking changes
- Removed
actix_web::*
actix_web::* was removed in actix-web 4.0.0 crates.io - Removed
actix_web::client
actix_web::client was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::AppService::set_service_data
actix_web::dev::AppService::set_service_data was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::Body
actix_web::dev::Body was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::BodyEncoding
actix_web::dev::BodyEncoding was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::BodySize
actix_web::dev::BodySize was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::ConnectionInfo::get
actix_web::dev::ConnectionInfo::get was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::HttpResponseBuilder
actix_web::dev::HttpResponseBuilder was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::MessageBody
actix_web::dev::MessageBody was removed in actix-web 4.0.0 crates.io - Removed
actix_web::dev::PayloadStream
actix_web::dev::PayloadStream was removed in actix-web 4.0.0 crates.io
And 138 more in this version. Sign up to see every change
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.