- Minimum supported Rust version (MSRV) is now 1.59 due to transitive
time
dependency.
- Removed
AuthExtractor
trait; implementFromRequest
for your custom auth types. #264 BasicAuth::user_id()
now returns&str
. #249BasicAuth::password()
now returnsOption<&str>
. #249Basic::user_id()
now returns&str
. #264Basic::password()
now returnsOption<&str>
. #264Bearer::token()
now returns&str
. #264
- Auth validator functions now need to return
(Error, ServiceRequest)
in error cases. #260 - Minimum supported Rust version (MSRV) is now 1.57 due to transitive
time
dependency.
- Update
actix-web
dependency to4
.
- Relax body type bounds on middleware impl. #223
- Update
actix-web
dependency to4.0.0-rc.1
.
- Minimum supported Rust version (MSRV) is now 1.54.
- Update
actix-web
dependency to4.0.0.beta-15
. #216
- Update
actix-web
dependency to4.0.0.beta-14
. #209
- impl
AuthExtractor
trait forOption<T: AuthExtractor>
andResult<T: AuthExtractor, T::Error>
. #205
- Update
actix-web
dependency to v4.0.0-beta.10. #203 - Minimum supported Rust version (MSRV) is now 1.52.
- No notable changes.
- Update
actix-web
dependency to 4.0.0 beta. - Minimum supported Rust version (MSRV) is now 1.46.0.
- Correct error handling when extracting auth details from request. #128
- Update
actix-web
dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0.
- Update the
base64
dependency to 0.12 - AuthenticationError's status code is preserved when converting to a ResponseError
- Minimize
futures
dependency - Fix panic on
AuthenticationMiddleware
#69
- Move repository to actix-extras
- Depends on
actix-web = "^2.0"
,actix-service = "^1.0"
, andfutures = "^0.3"
version now (#14) - Depends on
bytes = "^0.5"
andbase64 = "^0.11"
now
- Middleware accepts any
Fn
as a validator function instead ofFnMut
#11
- Multiple calls to the middleware would result in panic
- Crate edition was changed to
2018
, same asactix-web
- Depends on
actix-web = "^1.0"
version now WWWAuthenticate
header struct was renamed intoWwwAuthenticate
- Challenges and extractor configs are now operating with
Cow<'static, str>
types instead ofString
types
actix-web
dependency is used without default features now #6base64
dependency version was bumped to0.10
- Update to
actix-web = "0.7"
version
- Fix possible panic at
IntoHeaderValue
implementation forheaders::authorization::Basic
- Fix possible panic at
headers::www_authenticate::challenge::bearer::Bearer::to_bytes
call