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