Added
Compat
middleware enabling generic response body/error type of middlewares likeLogger
and
Compress
to be used inmiddleware::Condition
andResource
,Scope
services. #1865
Changed
- Update
actix-*
dependencies to tokio1.0
based versions. #1813 - Bumped
rand
to0.8
. - Update
rust-tls
to0.19
. #1813 - Rename
Handler
toHandlerService
and renameFactory
toHandler
. #1852 - The default
TrailingSlash
is nowTrim
, in line with existing documentation. See migration
guide for implications. #1875 - Rename
DefaultHeaders::{content_type => add_content_type}
. #1875 - MSRV is now 1.46.0.
Fixed
- Added the underlying parse error to
test::read_body_json
's panic message. #1812
Removed
- Public modules
middleware::{normalize, err_handlers}
. All necessary middleware structs are now
exposed directly by themiddleware
module.