Releases: actix/actix-web
Releases · actix/actix-web
actix-web: v4.11.0
- Add
Logger::log_level()
method. - Improve handling of non-UTF-8 header values in
Logger
middleware. - Add
HttpServer::shutdown_signal()
method. - Mark
HttpServer
as#[must_use]
. - Allow SVG images to be compressed by the
Compress
middleware. - Ignore
Host
header inHost
guard when connection protocol is HTTP/2. - Re-export
mime
dependency. - Update
brotli
dependency to8
.
actix-http: v3.11.0
- Update
brotli
dependency to8
.
awc: v3.7.0
- Update
brotli
dependency to8
.
actix-web: v4.10.2
- No significant changes since
4.10.1
.
actix-web: v4.10.1
- No significant changes since
4.10.0
.
actix-web: v4.10.0
Added
- Implement
Responder
forResult<(), E: Into<Error>>
. ReturningOk(())
responds with HTTP 204 No Content.
Changed
- On Windows, an error is now returned from
HttpServer::bind()
(or TLS variants) when binding to a socket that's already in use. - Update
brotli
dependency to7
. - Minimum supported Rust version (MSRV) is now 1.75.
actix-http: v3.10.0
Added
- Add
header::CLEAR_SITE_DATA
constant. - Add
Extensions::get_or_insert[_with]()
methods. - Implement
From<Bytes>
forPayload
. - Implement
From<Vec<u8>>
forPayload
.
Changed
- Update
brotli
dependency to7
. - Minimum supported Rust version (MSRV) is now 1.75.
awc: v3.6.0
- Prevent panics on connection pool drop when Tokio runtime is shutdown early.
- Do not send
Host
header on HTTP/2 requests, as it is not required, and some web servers may reject it. - Update
brotli
dependency to7
. - Minimum supported Rust version (MSRV) is now 1.75.
actix-web: v4.9.0
Added
- Add
middleware::from_fn()
helper. - Add
web::ThinData
extractor.
actix-http: v3.9.0
Added
- Implement
FromIterator<(HeaderName, HeaderValue)>
forHeaderMap
.