1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-18 01:33:59 +01:00
actix-extras/actix-web-httpauth/CHANGES.md
2023-09-16 00:30:38 +01:00

3.6 KiB

Changes

Unreleased

  • Minimum supported Rust version (MSRV) is now 1.68.

0.8.0

  • Removed AuthExtractor trait; implement FromRequest for your custom auth types. #264
  • BasicAuth::user_id() now returns &str. #249
  • BasicAuth::password() now returns Option<&str>. #249
  • Basic::user_id() now returns &str. #264
  • Basic::password() now returns Option<&str>. #264
  • Bearer::token() now returns &str. #264

0.7.0

  • 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.

0.6.0

  • Update actix-web dependency to 4.

0.6.0-beta.8

  • Relax body type bounds on middleware impl. #223
  • Update actix-web dependency to 4.0.0-rc.1.

0.6.0-beta.7

  • Minimum supported Rust version (MSRV) is now 1.54.

0.6.0-beta.6

  • Update actix-web dependency to 4.0.0.beta-15. #216

0.6.0-beta.5

  • Update actix-web dependency to 4.0.0.beta-14. #209

0.6.0-beta.4

  • impl AuthExtractor trait for Option<T: AuthExtractor> and Result<T: AuthExtractor, T::Error>. #205

0.6.0-beta.3

  • Update actix-web dependency to v4.0.0-beta.10. #203
  • Minimum supported Rust version (MSRV) is now 1.52.

0.6.0-beta.2

  • No notable changes.

0.6.0-beta.1

  • Update actix-web dependency to 4.0.0 beta.
  • Minimum supported Rust version (MSRV) is now 1.46.0.

0.5.1

  • Correct error handling when extracting auth details from request. #128

0.5.0

  • Update actix-web dependency to 3.0.0.
  • Minimum supported Rust version (MSRV) is now 1.42.0.

0.4.2

  • 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

0.4.1

  • Move repository to actix-extras

0.4.0

  • Depends on actix-web = "^2.0", actix-service = "^1.0", and futures = "^0.3" version now (#14)
  • Depends on bytes = "^0.5" and base64 = "^0.11" now

0.3.2 - 2019-07-19

  • Middleware accepts any Fn as a validator function instead of FnMut #11

0.3.1 - 2019-06-09

  • Multiple calls to the middleware would result in panic

0.3.0 - 2019-06-05

  • Crate edition was changed to 2018, same as actix-web
  • Depends on actix-web = "^1.0" version now
  • WWWAuthenticate header struct was renamed into WwwAuthenticate
  • Challenges and extractor configs are now operating with Cow<'static, str> types instead of String types

0.2.0 - 2019-04-26

  • actix-web dependency is used without default features now #6
  • base64 dependency version was bumped to 0.10

0.1.0 - 2018-09-08

  • Update to actix-web = "0.7" version

0.0.4 - 2018-07-01

  • Fix possible panic at IntoHeaderValue implementation for headers::authorization::Basic
  • Fix possible panic at headers::www_authenticate::challenge::bearer::Bearer::to_bytes call