1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
actix-extras/actix-web-httpauth/CHANGES.md

136 lines
3.8 KiB
Markdown
Raw Normal View History

# Changes
2018-07-01 15:52:10 +02:00
2022-06-22 13:42:46 +02:00
## Unreleased - 2022-xx-xx
## 0.8.0 - 2022-07-21
- 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]
[#249]: https://github.com/actix/actix-extras/pull/249
[#264]: https://github.com/actix/actix-extras/pull/264
## 0.7.0 - 2022-07-19
- Auth validator functions now need to return `(Error, ServiceRequest)` in error cases. [#260]
2022-06-22 13:42:46 +02:00
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
[#260]: https://github.com/actix/actix-extras/pull/260
## 0.6.0 - 2022-03-01
2022-03-01 05:13:56 +01:00
- Update `actix-web` dependency to `4`.
## 0.6.0-beta.8 - 2022-02-07
2022-02-07 03:30:26 +01:00
- Relax body type bounds on middleware impl. [#223]
2022-02-03 23:33:47 +01:00
- Update `actix-web` dependency to `4.0.0-rc.1`.
2022-02-07 03:30:26 +01:00
[#223]: https://github.com/actix/actix-extras/pull/223
## 0.6.0-beta.7 - 2021-12-29
2021-12-29 10:42:31 +01:00
- Minimum supported Rust version (MSRV) is now 1.54.
2021-12-29 10:36:12 +01:00
2021-12-18 04:37:23 +01:00
## 0.6.0-beta.6 - 2021-12-18
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
2021-12-18 04:37:23 +01:00
[#216]: https://github.com/actix/actix-extras/pull/216
## 0.6.0-beta.5 - 2021-12-12
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
2021-12-11 17:05:21 +01:00
[#209]: https://github.com/actix/actix-extras/pull/209
## 0.6.0-beta.4 - 2021-11-22
2021-12-29 10:36:12 +01:00
- impl `AuthExtractor` trait for `Option<T: AuthExtractor>` and `Result<T: AuthExtractor, T::Error>`. [#205]
[#205]: https://github.com/actix/actix-extras/pull/205
## 0.6.0-beta.3 - 2021-10-21
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
- Minimum supported Rust version (MSRV) is now 1.52.
2021-04-02 12:25:57 +02:00
[#203]: https://github.com/actix/actix-extras/pull/203
2021-04-02 12:25:57 +02:00
## 0.6.0-beta.2 - 2021-06-27
2021-12-29 10:36:12 +01:00
- No notable changes.
2021-06-27 08:28:26 +02:00
## 0.6.0-beta.1 - 2021-04-02
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to 4.0.0 beta.
- Minimum supported Rust version (MSRV) is now 1.46.0.
## 0.5.1 - 2021-03-21
2021-12-29 10:36:12 +01:00
- Correct error handling when extracting auth details from request. [#128]
[#128]: https://github.com/actix/actix-extras/pull/128
2020-09-11 22:22:55 +02:00
## 0.5.0 - 2020-09-11
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to 3.0.0.
- Minimum supported Rust version (MSRV) is now 1.42.0.
2018-07-01 15:52:10 +02:00
2020-05-17 04:34:00 +02:00
2020-09-12 01:52:55 +02:00
## 0.4.2 - 2020-07-08
- 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]
2020-07-08 00:54:36 +02:00
[#69]: https://github.com/actix/actix-web-httpauth/pull/69
2020-04-03 10:01:36 +02:00
2018-07-01 15:52:10 +02:00
2020-09-12 01:52:55 +02:00
## 0.4.1 - 2020-02-19
- Move repository to actix-extras
2020-09-12 01:52:55 +02:00
## 0.4.0 - 2020-01-14
- 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
[#14]: https://github.com/actix/actix-web-httpauth/pull/14
2020-09-12 01:52:55 +02:00
## 0.3.2 - 2019-07-19
2021-12-29 10:36:12 +01:00
- Middleware accepts any `Fn` as a validator function instead of `FnMut` [#11]
[#11]: https://github.com/actix/actix-web-httpauth/pull/11
2019-07-19 17:43:36 +02:00
2020-09-12 01:52:55 +02:00
## 0.3.1 - 2019-06-09
- Multiple calls to the middleware would result in panic
2019-07-19 17:43:36 +02:00
2020-09-12 01:52:55 +02:00
## 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
2020-09-12 01:52:55 +02:00
## 0.2.0 - 2019-04-26
2021-12-29 10:36:12 +01:00
- `actix-web` dependency is used without default features now [#6]
2020-09-12 01:52:55 +02:00
- `base64` dependency version was bumped to `0.10`
2019-04-26 20:56:17 +02:00
2022-02-18 04:33:03 +01:00
[#6]: https://github.com/actix/actix-web-httpauth/pull/6
2021-12-29 10:36:12 +01:00
2020-09-12 01:52:55 +02:00
## 0.1.0 - 2018-09-08
- Update to `actix-web = "0.7"` version
2018-09-08 09:44:39 +02:00
2020-09-12 01:52:55 +02:00
## 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