actix-web v4.0.0-beta.9 Release Notes
Release Date: 2021-09-09 // almost 2 years ago-
โ Added
- Re-export actix-service
ServiceFactory
indev
module. [#2325]
๐ Changed
- Compress middleware will return 406 Not Acceptable when no content encoding is acceptable to the client. [#2344]
- ๐ Move
BaseHttpResponse
todev::Response
. [#2379] - โ
Enable
TestRequest::param
to accept more than just static strings. [#2172] - ๐ Minimum supported Rust version (MSRV) is now 1.51.
๐ Fixed
- ๐ Fix quality parse error in Accept-Encoding header. [#2344]
- ๐ Re-export correct type at
web::HttpResponse
. [#2379]
๐ [#2172]: https://github.com/actix/actix-web/pull/2172 ๐ [#2325]: https://github.com/actix/actix-web/pull/2325 ๐ [#2344]: https://github.com/actix/actix-web/pull/2344 ๐ [#2379]: https://github.com/actix/actix-web/pull/2379
- Re-export actix-service
Previous changes from v4.0.0-beta.8
-
โ Added
- โ Add
ServiceRequest::parts_mut
. [#2177] - โ Add extractors for
Uri
andMethod
. [#2263] - โ Add extractors for
ConnectionInfo
andPeerAddr
. [#2263] - โ Add
Route::service
for using hand-written services as handlers. [#2262]
๐ Changed
- ๐ Change compression algorithm features flags. [#2250]
- ๐ Deprecate
App::data
andApp::data_factory
. [#2271] - Smarter extraction of
ConnectionInfo
parts. [#2282]
๐ Fixed
- Scope and Resource middleware can access data items set on their own layer. [#2288]
๐ [#2177]: https://github.com/actix/actix-web/pull/2177 ๐ [#2250]: https://github.com/actix/actix-web/pull/2250 ๐ [#2271]: https://github.com/actix/actix-web/pull/2271 ๐ [#2262]: https://github.com/actix/actix-web/pull/2262 ๐ [#2263]: https://github.com/actix/actix-web/pull/2263 ๐ [#2282]: https://github.com/actix/actix-web/pull/2282 ๐ [#2288]: https://github.com/actix/actix-web/pull/2288
- โ Add