Releases: actix/actix-web
Releases · actix/actix-web
actix-multipart-derive: v0.7.0
- Minimum supported Rust version (MSRV) is now 1.72.
actix-web: v4.8.0
Added
- Add
web::Htmlresponder. - Add
HttpRequest::full_url()method to get the complete URL of the request.
Fixed
- Always remove port from return value of
ConnectionInfo::realip_remote_addr()when handling IPv6 addresses. from theForwardedheader. - The
UrlencodedError::ContentTypevariant (relevant to theFormextractor) now uses the 415 (Media Type Unsupported) status code in it'sResponseErrorimplementation. - Apply
HttpServer::max_connection_rate()setting when using rustls v0.22 or v0.23.
actix-http: v3.8.0
Added
- Add
error::InvalidStatusCodere-export.
actix-test: v0.1.5
- Add
TestServerConfig::listen_address()method.
actix-files: v0.6.6
- Update
tokio-uringdependency to0.4. - Minimum supported Rust version (MSRV) is now 1.72.
actix-web: v4.7.0
Added
- Add
#[scope]macro. - Add
middleware::Identitytype. - Add
CustomizeResponder::add_cookie()method. - Add
guard::GuardContext::app_data()method. - Add
compat-routing-macros-force-pubcrate feature which (on-by-default) which, when disabled, causes handlers to inherit their attached function's visibility. - Add
compatcrate feature group (on-by-default) which, when disabled, helps with transitioning to some planned v5.0 breaking changes, starting only withcompat-routing-macros-force-pub. - Implement
From<Box<dyn ResponseError>>forError.
actix-test: v0.1.4
- Add
TestServerConfig::rustls_0_23()method for Rustls v0.23 support behind newrustls-0_23crate feature. - Add
TestServerConfig::disable_redirects()method. - Various types from
awc, such asClientRequestandClientResponse, are now re-exported. - Minimum supported Rust version (MSRV) is now 1.72.
actix-multipart: v0.6.2
- Add testing utilities under new module
test. - Minimum supported Rust version (MSRV) is now 1.72.
actix-web-codegen: v4.3.0
- Add
#[scope]macro. - Add
compat-routing-macros-force-pubcrate feature which, on-by-default, which when disabled causes handlers to inherit their attached function's visibility. - Prevent inclusion of default
actix-routerfeatures. - Minimum supported Rust version (MSRV) is now 1.72.
actix-web: v4.6.0
Added
- Add
unicodecrate feature (on-by-default) to switch betweenregexandregex-liteas a trade-off between full unicode support and binary size. - Add
rustls-0_23crate feature. - Add
HttpServer::{bind_rustls_0_23, listen_rustls_0_23}()builder methods. - Add
HttpServer::tls_handshake_timeout()builder method forrustls-0_22andrustls-0_23.
Changed
- Update
brotlidependency to6. - Minimum supported Rust version (MSRV) is now 1.72.
Fixed
- Avoid type confusion with
rustlsin some circumstances.