Releases: actix/actix-web
Releases · actix/actix-web
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
.
awc: v3.5.1
- Fix WebSocket
Host
request header value when using a non-default port.
actix-web-actors: v4.3.1
- Reduce memory usage by
take
-ing (rather thansplit
-ing) the encoded buffer when yielding bytes in the response stream. - Mark crate as deprecated.
- Minimum supported Rust version (MSRV) is now 1.72.
actix-multipart: v0.7.2
- Fix re-exported version of
actix-multipart-derive
.
actix-multipart: v0.7.1
- Expose
LimitExceeded
error type.
actix-multipart: v0.7.0
- Add
MultipartError::ContentTypeIncompatible
variant. - Add
MultipartError::ContentDispositionNameMissing
variant. - Add
Field::bytes()
method. - Rename
MultipartError::{NoContentDisposition => ContentDispositionMissing}
variant. - Rename
MultipartError::{NoContentType => ContentTypeMissing}
variant. - Rename
MultipartError::{ParseContentType => ContentTypeParse}
variant. - Rename
MultipartError::{Boundary => BoundaryMissing}
variant. - Rename
MultipartError::{UnsupportedField => UnknownField}
variant. - Remove top-level re-exports of
test
utilities.
actix-multipart-derive: v0.7.0
- Minimum supported Rust version (MSRV) is now 1.72.
actix-web: v4.8.0
Added
- Add
web::Html
responder. - 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 theForwarded
header. - The
UrlencodedError::ContentType
variant (relevant to theForm
extractor) now uses the 415 (Media Type Unsupported) status code in it'sResponseError
implementation. - Apply
HttpServer::max_connection_rate()
setting when using rustls v0.22 or v0.23.
actix-http: v3.8.0
Added
- Add
error::InvalidStatusCode
re-export.