actix-web v4.0.0-beta.20 Release Notes
Release Date: 2022-01-14 // over 2 years ago-
โ Added
GuardContext::header
[#2569]- ๐ง
ServiceConfig::configure
to allow easy nesting of configuration functions. [#1988]
๐ Changed
HttpResponse
can now be used as aResponder
with any body type. [#2567]Result
extractor wrapper can now convert error types. [#2581]- Associated types in
FromRequest
impl forOption
andResult
has changed. [#2581] - Maximum number of handler extractors has increased to 12. [#2582]
- โ Removed bound
<B as MessageBody>::Error: Debug
in test utility functions in order to support returning opaque apps. [#2584]
๐ [#1988]: https://github.com/actix/actix-web/pull/1988 ๐ [#2567]: https://github.com/actix/actix-web/pull/2567 ๐ [#2569]: https://github.com/actix/actix-web/pull/2569 ๐ [#2581]: https://github.com/actix/actix-web/pull/2581 ๐ [#2582]: https://github.com/actix/actix-web/pull/2582 ๐ [#2584]: https://github.com/actix/actix-web/pull/2584