Releases: actix/actix-web
Releases · actix/actix-web
actix-web: v4.12.1
- No significant changes since
4.12.0.
actix-files: v0.6.9
- Correct
derive_moredependency feature requirements.
actix-web: v4.12.0
Short announcement
We've started GitHub Sponsors: https://github.com/sponsors/actix
Support our development!
v4.12.0
actix_web::response::builder::HttpResponseBuilder::streaming()now setsContent-Typetoapplication/octet-streamifContent-Typedoes not exist.actix_web::response::builder::HttpResponseBuilder::streaming()now callsactix_web::response::builder::HttpResponseBuilder::no_chunking()and returnsSizedStreamifContent-Lengthis set by user.- Add
wscrate feature (on-by-default) which forwards toactix-httpand guards some of itsResponseErrorimpls.⚠️ if you usedefault-feature = falseand the web scoket feature, please make sure you enable thewsfeature.
- Add public export for
EitherExtractErrorinerrormodule.
actix-http: v3.11.2
- Properly wake Payload receivers when feeding errors or EOF.
- Add
ServiceConfigBuildertype to facilitate future configuration extensions. - Add a configuration option to allow/disallow half closed connections in HTTP/1. This defaults to allow, reverting the change made in 3.11.1.
- Shutdown connections when HTTP Responses are written without reading full Requests.
awc: v3.8.1
- Fix a bug where
GO_AWAYerrors did not stop connections from returning to the pool.
actix-files: v0.6.8
- Add
Files::with_permanent_redirect()method. - Change default redirect status code to 307 Temporary Redirect.
awc: v3.8.0
- Add
hickory-dnscrate feature (off-by-default). - The
trust-dnscrate feature now delegates DNS resolution tohickory-dns.
actix-files: v0.6.7
- Add
{Files, NamedFile}::read_mode_threshold()methods to allow faster synchronous reads of small files. - Minimum supported Rust version (MSRV) is now 1.75.
actix-http: v3.11.1
- Prevent more hangs after client disconnects.
- More malformed WebSocket frames are now gracefully rejected.
- Using
TestRequest::set_payload()now sets a Content-Length header.
actix-web: v4.11.0
- Add
Logger::log_level()method. - Improve handling of non-UTF-8 header values in
Loggermiddleware. - Add
HttpServer::shutdown_signal()method. - Mark
HttpServeras#[must_use]. - Allow SVG images to be compressed by the
Compressmiddleware. - Ignore
Hostheader inHostguard when connection protocol is HTTP/2. - Re-export
mimedependency. - Update
brotlidependency to8.