Releases: actix/actix-web
Releases · actix/actix-web
actix-router: v0.5.2
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-web: v4.4.1
Changed
- Updated
zstd
dependency to0.13
. - Compression middleware now prefers brotli over zstd over gzip.
Fixed
- Fix validation of
Json
extractor whenJsonConfig::validate_content_type()
is set to false.
actix-http: v3.5.0
Added
- Implement
From<HeaderMap>
forhttp::HeaderMap
.
Changed
- Updated
zstd
dependency to0.13
.
Fixed
- Prevent compression of zero-sized response bodies.
awc: v3.3.0
- Update
trust-dns-resolver
dependency to0.23
. - Updated
zstd
dependency to0.13
.
actix-web: v4.4.0
Added
- Add
HttpServer::{bind, listen}_auto_h2c()
methods behind newhttp2
crate feature. - Add
HttpServer::{bind, listen}_rustls_021()
methods for Rustls v0.21 support behind newrustls-0_21
crate feature. - Add
Resource::{get, post, etc...}
methods for more concisely adding routes that don't need additional guards. - Add
web::Payload::to_bytes[_limited]()
helper methods. - Add missing constructors on
HttpResponse
for several status codes. - Add
http::header::ContentLength
typed header. - Implement
Default
forweb::Data
. - Implement
serde::Deserialize
forweb::Data
. - Add
rustls-0_20
crate feature, which the existingrustls
feature now aliases.
Changed
- Handler functions can now receive up to 16 extractor parameters.
- The
Compress
middleware no longer compresses image or video content. - Hide sensitive header values in
HttpRequest
'sDebug
output. - Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-test: v0.1.2
- Add
TestServerConfig::rustls_021()
method for Rustls v0.21 support behind newrustls-0_21
crate feature. - Add
TestServerConfig::workers()
method. - Add
rustls-0_20
crate feature, which the existingrustls
feature now aliases. - Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-multipart: v0.6.1
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-multipart-derive: v0.6.1
- Update
syn
dependency to2
. - Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-http: v3.4.0
Added
- Add
rustls-0_20
crate feature. - Add
{h1::H1Service, h2::H2Service, HttpService}::rustls_021()
andHttpService::rustls_021_with_config()
service constructors. - Add
body::to_bytes_limited()
function. - Add
body::BodyLimitExceeded
error type.
Changed
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
actix-web-codegen: v4.2.2
- Fix regression when declaring
wrap
attribute using an expression.