NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #1043 most downloaded on crates.io
HTTP types and services for the Actix ecosystem
Latest stable
3.21.0
Last release 6 days ago
09 Nov 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
113 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Potential HTTP request smuggling vulnerabilities. RUSTSEC-2021-0081
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Alias body::Body as body::AnyBody. [#2215]
body::Body as body::AnyBody. #2215BoxAnyBody: a boxed message body with boxed errors. #2183http crate's Error type as error::HttpError. #2171StatusCode, Method, Version and Uri at the crate root. #2171ContentEncoding and ConnectionType at the crate root. #2171Response::into_body that consumes response and returns body type. #2201impl Default for Response. #2201ContentEncoding. #2244MessageBody trait now has an associated Error type. #2183Into<Error> to Into<Response<AnyBody>>. #2253Into<Error> to Into<Box<dyn std::error::Error>>. #2253Response where ResponseBody<B> was received or returned now simply use B. #2201header mod is now public. #2171uri mod is now public. #2171language-tags to 0.3.error to debug for the log line that is emitted when a 500 Internal Server Error is built using HttpResponse::from_error. #2201ResponseBuilder::message_body now returns a Result. #2201Unpin bound on ResponseBuilder::streaming. #2253HttpServer::{listen_rustls(), bind_rustls()} now honor the ALPN protocols in the configuration parameter. [#2226]http crate's HeaderMap types in addition to ours. #2171MessageBody types. #2183error::Result alias. #2201Response and Response::error. #2205impl Future for Response. #2201Response::take_body and old Response::into_body method that casted body type. #2201InternalError and all the error types it constructed. #2215impl Into) of Response<Body> and ResponseBuilder to Error. #2215io-uring feature of actix-rt. #2408Deprecated methods on ResponseBuilder: if_true, if_some. [#2148]
impl<T: MessageBody> MessageBody for Pin<Box<T>>. #2152Response::{ok, bad_request, not_found, internal_server_error}. #2159body::to_bytes for async collecting message body into Bytes. #2158Response no longer has a default. #2152Message variant of body::Body is now Pin<Box<dyn MessageBody>>. #2152BodyStream and SizedStream are no longer restricted to Unpin types. #2152#[non_exhaustive]. #2161cookies feature flag. #2065cookies mod (re-export). #2065HttpMessage trait loses the cookies and cookie methods. #2065impl ResponseError for CookieParseError. #2065ResponseBuilder: if_true, if_some. #2148ResponseBuilder::json. #2148ResponseBuilder::{set_header, header}. #2148impl From<serde_json::Value> for Body. #2148Response::build_from. #2159Response. #2159client::Connector::handshake_timeout method for customizing TLS connection handshake timeout. [#2081]
client::Connector::handshake_timeout method for customizing TLS connection handshake timeout. #2081client::ConnectorService as client::Connector::finish method's return type #2081client::ConnectionIo trait alias #2081client::Connector type now only have one generic type for actix_service::Service. #2063ResponseError impl for actix_utils::timeout::TimeoutError. #2127Feature cookies is now optional and disabled by default. [#1981]
- No notable changes.
TryIntoHeaderPair trait that allows using typed and untyped headers in the same methods. [#1869]
TryIntoHeaderPair trait that allows using typed and untyped headers in the same methods. #1869ResponseBuilder::insert_header method which allows using typed headers. #1869ResponseBuilder::append_header method which allows using typed headers. #1869TestRequest::insert_header method which allows using typed headers. #1869ContentEncoding implements all necessary header traits. #1912HeaderMap::len_keys has the behavior of the old len method. #1964HeaderMap::drain as an efficient draining iterator. #1964IntoIterator for owned HeaderMap. #1964trust-dns optional feature to enable trust-dns-resolver as client dns resolver. #1969ResponseBuilder::content_type now takes an impl TryIntoHeaderValue to support using typed mime types. #1894TryIntoHeaderValue::{try_into => try_into_value} to avoid ambiguity with std TryInto trait. #1894Extensions::insert returns Option of replaced item. #1904HttpResponseBuilder::json2(). #1903HttpResponseBuilder::json() to receive data by value and reference. #1903client::error::ConnectError Resolver variant contains Box<dyn std::error::Error> type. #1905client::ConnectorConfig default timeout changed to 5 seconds. #1905BlockingError type to a unit struct. It's now only triggered when blocking thread pool is dead. #1957HeaderMap::len now returns number of values instead of number of keys. #1964HeaderMap::insert now returns iterator of removed values. #1964HeaderMap::remove now returns iterator of removed values. #1964ResponseBuilder::set; use ResponseBuilder::insert_header. #1869ResponseBuilder::set_header; use ResponseBuilder::insert_header. #1869ResponseBuilder::header; use ResponseBuilder::append_header. #1869TestRequest::with_hdr; use TestRequest::default().insert_header(). #1869TestRequest::with_header; use TestRequest::default().insert_header(). #1869actors optional feature. #1969ResponseError impl for actix::MailboxError. #1969HeaderMap. #1964Deprecated on_connect methods have been removed. Prefer the new on_connect_ext technique. [#1857]
Http3 to Protocol enum for future compatibility and also mark #[non_exhaustive].actix-* dependencies to tokio 1.0 based versions. #1813rand to 0.8.bytes to 1.0. #1813h2 to 0.3. #1813ws::Message::Text enum variant now contains a bytestring::ByteString. #1864on_connect methods have been removed. Prefer the new on_connect_ext technique. #1857ResponseError impl for actix::actors::resolver::ResolverError due to deprecate of resolver actor. #1813ConnectError::SslHandshakeError and re-export of HandshakeError. due to the removal of this type from tokio-openssl crate. openssl handshake error would return as ConnectError::SslError. #1813actix-threadpool dependency. Use actix_rt::task::spawn_blocking. Due to this change actix_threadpool::BlockingError type is moved into actix_http::error module. #1878</details>
Migrate to brotli crate. [ad7e3c06]
brotli crate. ad7e3c06Potential HTTP request smuggling vulnerabilities. RUSTSEC-2021-0081
HttpResponse builders for 1xx status codes. [#1768]
Accept::mime_precedence and Accept::mime_preference. #1793TryFrom<u16> and TryFrom<f32> for http::header::Quality. #1797transfer-encoding: chunked and Content-Length for 1XX and 204 responses. #1767serde_urlencoded to 0.7. #1773Deprecate ResponseBuilder::{if_some, if_true}. [#1760]
No significant changes from 2.0.0-beta.4.
2.0.0-beta.4.Update actix-codec and actix-utils dependencies.
Memory leak of client::ConnectorPoolSupport. [#1626]
client::pool::ConnectorPoolSupport. #1626Potential UB in h1 decoder using uninitialized memory. [#1614]
Migrate cookie handling to cookie crate. [#1558]
Bump minimum supported Rust version to 1.40
BodySize::Sized64 variant has been removed. BodySize::Sized now receives a u64 instead of a usize.base64 dependency to 0.12SameSite=None #1503Remove failure support for ResponseError since that crate will be deprecated in the near future.
std::error::Error for our custom errors #1422failure support for ResponseError since that crate will be deprecated in the near future.Update actix-connect and actix-tls dependency to 2.0.0-alpha.1. [#1395]
actix-connect and actix-tls dependency to 2.0.0-alpha.1. #1395Breaking change: trait MessageBody requires Unpin and accepting Pin<&mut Self> instead of &mut self in the poll_next().
time dependency to 0.2.7.actors.Pin<&mut Self> instead of &mut self in the poll_next().SameSite=None cookies to be sent in a response.time dependency to 0.2.7actix-connect dependency to 2.0.0-alpha.2test_server async fn.net2 crate with socket2base64 dependency to 0.12env_logger dependency to 0.7Poll upgrade service's readiness from HTTP service handlers
Add websockets continuation frame support
flate2-xxx features with compressNothing published for this version
Check Upgrade service readiness before calling it
Upgrade service readiness before calling itAdd impl ResponseBuilder for Error
### Changed - Migrate to tokio 0.2 - Migrate to std::future
std::futureNothing published for this version
Nothing published for this version
Add support for serde_json::Value to be passed as argument to ResponseBuilder.body()
filename* param in the Content-Disposition header of actix_files::NamedFile to be more compatible. (#1151)std::convert::Infallible as actix_http::error::ErrorResponseError rendered with text/plain; charset=utf-8 header [#1118]Add support for sending HTTP requests with Rc in addition to sending HTTP requests with RequestHead
Rc<RequestHead> in addition to sending HTTP requests with RequestHeadDropped the byteorder-dependency in favor of stdlib-implementation
byteorder-dependency in favor of stdlib-implementationInvalid response with compression middleware enabled, but compression-related features disabled #997
rustls supportClone impl for HeaderMapAdd support for downcasting response errors #986
Replace ClonableService with local copy
ClonableService with local copyrand dependency version to 0.7Add on-connect callback, HttpServiceBuilder::on_connect() #946
on-connect callback, HttpServiceBuilder::on_connect() #946encoding_rs crate instead of unmaintained encoding crateCopy and Clone impls for ws::CodecSystemDo not compress NoContent (204) responses #918
From SizedStream and BodyStream for Body
Parse incoming stream before closing stream on disconnect #868
### Fixed - Handle socket read disconnect
Expect and upgrade services accept ServerConfig config.
ServerConfig config.OneRequest serviceClean up response extensions in response pool #817
Allow to render h1 request headers in Camel-Case
Camel-CaseFix http client pool management
Fix BorrowMutError panic in client connector #793
Cookie::max_age() accepts value in seconds
Expose peer addr via Request::peer_addr() and RequestHead::peer_addr
Request::peer_addr() and RequestHead::peer_addractix_http::encoding always availableAllow to use custom service for upgrade requests
h1::SendResponse future.Allow to use custom Expect handler
Expect handlerstd::error::Error impl for ErrorWarn when an unsealed private cookie isn't valid UTF-8
Added ws::Message::Nop, no-op websockets message
- Initial impl
One column per quarter.