mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
prettier markdown changelogs
This commit is contained in:
parent
8c509151f1
commit
6848312467
@ -2,76 +2,77 @@
|
|||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
|
|
||||||
## 0.6.4 - 2022-10-28
|
## 0.6.4 - 2022-10-28
|
||||||
|
|
||||||
- Add `Cors::allow_private_network_access()` behind an unstable flag (`draft-private-network-access`). [#297]
|
- Add `Cors::allow_private_network_access()` behind an unstable flag (`draft-private-network-access`). [#297]
|
||||||
|
|
||||||
[#297]: https://github.com/actix/actix-extras/pull/297
|
[#297]: https://github.com/actix/actix-extras/pull/297
|
||||||
|
|
||||||
|
|
||||||
## 0.6.3 - 2022-09-21
|
## 0.6.3 - 2022-09-21
|
||||||
|
|
||||||
- Add `Cors::block_on_origin_mismatch()` option for controlling if requests are pre-emptively rejected. [#287]
|
- Add `Cors::block_on_origin_mismatch()` option for controlling if requests are pre-emptively rejected. [#287]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
[#287]: https://github.com/actix/actix-extras/pull/287
|
[#287]: https://github.com/actix/actix-extras/pull/287
|
||||||
|
|
||||||
|
|
||||||
## 0.6.2 - 2022-08-07
|
## 0.6.2 - 2022-08-07
|
||||||
|
|
||||||
- Fix `expose_any_header` to return list of response headers. [#273]
|
- Fix `expose_any_header` to return list of response headers. [#273]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
||||||
|
|
||||||
[#273]: https://github.com/actix/actix-extras/pull/273
|
[#273]: https://github.com/actix/actix-extras/pull/273
|
||||||
|
|
||||||
|
|
||||||
## 0.6.1 - 2022-03-07
|
## 0.6.1 - 2022-03-07
|
||||||
|
|
||||||
- Do not consider requests without a `Access-Control-Request-Method` as preflight. [#226]
|
- Do not consider requests without a `Access-Control-Request-Method` as preflight. [#226]
|
||||||
|
|
||||||
[#226]: https://github.com/actix/actix-extras/pull/226
|
[#226]: https://github.com/actix/actix-extras/pull/226
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2022-02-25
|
## 0.6.0 - 2022-02-25
|
||||||
|
|
||||||
- Update `actix-web` dependency to 4.0.
|
- Update `actix-web` dependency to 4.0.
|
||||||
|
|
||||||
## 0.6.0-beta.10 - 2022-02-07
|
## 0.6.0-beta.10 - 2022-02-07
|
||||||
|
|
||||||
- Ensure that preflight responses contain a `Vary` header. [#224]
|
- Ensure that preflight responses contain a `Vary` header. [#224]
|
||||||
|
|
||||||
[#224]: https://github.com/actix/actix-extras/pull/224
|
[#224]: https://github.com/actix/actix-extras/pull/224
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.9 - 2022-02-07
|
## 0.6.0-beta.9 - 2022-02-07
|
||||||
|
|
||||||
- Relax body type bounds on middleware impl. [#223]
|
- Relax body type bounds on middleware impl. [#223]
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
[#223]: https://github.com/actix/actix-extras/pull/223
|
[#223]: https://github.com/actix/actix-extras/pull/223
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.8 - 2021-12-29
|
## 0.6.0-beta.8 - 2021-12-29
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.7 - 2021-12-18
|
## 0.6.0-beta.7 - 2021-12-18
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0-beta.15`. [#216]
|
- Update `actix-web` dependency to `4.0.0-beta.15`. [#216]
|
||||||
|
|
||||||
[#216]: https://github.com/actix/actix-extras/pull/216
|
[#216]: https://github.com/actix/actix-extras/pull/216
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.6 - 2021-12-13
|
## 0.6.0-beta.6 - 2021-12-13
|
||||||
|
|
||||||
- Fix panic when wrapping routes with dynamic segments in their paths. [#213]
|
- Fix panic when wrapping routes with dynamic segments in their paths. [#213]
|
||||||
|
|
||||||
[#213]: https://github.com/actix/actix-extras/pull/213
|
[#213]: https://github.com/actix/actix-extras/pull/213
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.5 - 2021-12-12 _(YANKED)_
|
## 0.6.0-beta.5 - 2021-12-12 _(YANKED)_
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
|
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.4 - 2021-11-22
|
## 0.6.0-beta.4 - 2021-11-22
|
||||||
|
|
||||||
- No significant changes since `0.6.0-beta.3`.
|
- No significant changes since `0.6.0-beta.3`.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.3 - 2021-10-21
|
## 0.6.0-beta.3 - 2021-10-21
|
||||||
|
|
||||||
- Make `Cors` middleware generic over body type [#195]
|
- Make `Cors` middleware generic over body type [#195]
|
||||||
- Fix `expose_any_header` behavior. [#204]
|
- Fix `expose_any_header` behavior. [#204]
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
@ -81,38 +82,38 @@
|
|||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
[#204]: https://github.com/actix/actix-extras/pull/204
|
[#204]: https://github.com/actix/actix-extras/pull/204
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.2 - 2021-06-27
|
## 0.6.0-beta.2 - 2021-06-27
|
||||||
|
|
||||||
- No notable changes.
|
- No notable changes.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.1 - 2021-04-02
|
## 0.6.0-beta.1 - 2021-04-02
|
||||||
|
|
||||||
- Update `actix-web` dependency to 4.0.0 beta.
|
- Update `actix-web` dependency to 4.0.0 beta.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.4 - 2020-12-31
|
## 0.5.4 - 2020-12-31
|
||||||
|
|
||||||
- Fix `expose_any_header` method, now set the correct field. [#143]
|
- Fix `expose_any_header` method, now set the correct field. [#143]
|
||||||
|
|
||||||
[#143]: https://github.com/actix/actix-extras/pull/143
|
[#143]: https://github.com/actix/actix-extras/pull/143
|
||||||
|
|
||||||
|
|
||||||
## 0.5.3 - 2020-11-19
|
## 0.5.3 - 2020-11-19
|
||||||
|
|
||||||
- Fix version spec for `derive_more` dependency.
|
- Fix version spec for `derive_more` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.2 - 2020-11-15
|
## 0.5.2 - 2020-11-15
|
||||||
|
|
||||||
- Ensure `tinyvec` is using the correct features.
|
- Ensure `tinyvec` is using the correct features.
|
||||||
- Bump `futures-util` minimum version to `0.3.7` to avoid `RUSTSEC-2020-0059`.
|
- Bump `futures-util` minimum version to `0.3.7` to avoid `RUSTSEC-2020-0059`.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 - 2020-11-05
|
## 0.5.1 - 2020-11-05
|
||||||
|
|
||||||
- Fix `allow_any_header` method, now set the correct field. [#121]
|
- Fix `allow_any_header` method, now set the correct field. [#121]
|
||||||
|
|
||||||
[#121]: https://github.com/actix/actix-extras/pull/121
|
[#121]: https://github.com/actix/actix-extras/pull/121
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2020-10-19
|
## 0.5.0 - 2020-10-19
|
||||||
|
|
||||||
- Disallow `*` in `Cors::allowed_origin`. [#114].
|
- Disallow `*` in `Cors::allowed_origin`. [#114].
|
||||||
- Hide `CorsMiddleware` from docs. [#118].
|
- Hide `CorsMiddleware` from docs. [#118].
|
||||||
- `CorsFactory` is removed. [#119]
|
- `CorsFactory` is removed. [#119]
|
||||||
@ -131,40 +132,40 @@
|
|||||||
[#119]: https://github.com/actix/actix-extras/pull/119
|
[#119]: https://github.com/actix/actix-extras/pull/119
|
||||||
[#120]: https://github.com/actix/actix-extras/pull/120
|
[#120]: https://github.com/actix/actix-extras/pull/120
|
||||||
|
|
||||||
|
|
||||||
## 0.4.1 - 2020-10-07
|
## 0.4.1 - 2020-10-07
|
||||||
|
|
||||||
- Allow closures to be used with `allowed_origin_fn`. [#110]
|
- Allow closures to be used with `allowed_origin_fn`. [#110]
|
||||||
|
|
||||||
[#110]: https://github.com/actix/actix-extras/pull/110
|
[#110]: https://github.com/actix/actix-extras/pull/110
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2020-09-27
|
## 0.4.0 - 2020-09-27
|
||||||
|
|
||||||
- Implement `allowed_origin_fn` builder method. [#93]
|
- Implement `allowed_origin_fn` builder method. [#93]
|
||||||
- Use `TryInto` instead of `TryFrom` where applicable. [#106]
|
- Use `TryInto` instead of `TryFrom` where applicable. [#106]
|
||||||
|
|
||||||
[#93]: https://github.com/actix/actix-extras/pull/93
|
[#93]: https://github.com/actix/actix-extras/pull/93
|
||||||
[#106]: https://github.com/actix/actix-extras/pull/106
|
[#106]: https://github.com/actix/actix-extras/pull/106
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2020-09-11
|
## 0.3.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
||||||
- Implement the Debug trait on all public types.
|
- Implement the Debug trait on all public types.
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0-alpha.1 - 2020-03-11
|
## 0.3.0-alpha.1 - 2020-03-11
|
||||||
|
|
||||||
- Minimize `futures-*` dependencies
|
- Minimize `futures-*` dependencies
|
||||||
- Update `actix-web` dependency to 3.0.0-alpha.1
|
- Update `actix-web` dependency to 3.0.0-alpha.1
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2019-12-20
|
## 0.2.0 - 2019-12-20
|
||||||
|
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0-alpha.3 - 2019-12-07
|
## 0.2.0-alpha.3 - 2019-12-07
|
||||||
|
|
||||||
- Migrate to actix-web 2.0.0
|
- Migrate to actix-web 2.0.0
|
||||||
- Bump `derive_more` crate version to 0.99.0
|
- Bump `derive_more` crate version to 0.99.0
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2019-06-15
|
## 0.1.0 - 2019-06-15
|
||||||
|
|
||||||
- Move cors middleware to separate crate
|
- Move cors middleware to separate crate
|
||||||
|
@ -1,22 +1,23 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.2 - 2022-07-19
|
## 0.5.2 - 2022-07-19
|
||||||
|
|
||||||
- Fix visit deadline. [#263]
|
- Fix visit deadline. [#263]
|
||||||
|
|
||||||
[#263]: https://github.com/actix/actix-extras/pull/263
|
[#263]: https://github.com/actix/actix-extras/pull/263
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 - 2022-07-11
|
## 0.5.1 - 2022-07-11
|
||||||
|
|
||||||
- Remove unnecessary dependencies. [#259]
|
- Remove unnecessary dependencies. [#259]
|
||||||
|
|
||||||
[#259]: https://github.com/actix/actix-extras/pull/259
|
[#259]: https://github.com/actix/actix-extras/pull/259
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2022-07-11
|
## 0.5.0 - 2022-07-11
|
||||||
|
|
||||||
`actix-identity` v0.5 is a complete rewrite. The goal is to streamline user experience and reduce maintenance overhead.
|
`actix-identity` v0.5 is a complete rewrite. The goal is to streamline user experience and reduce maintenance overhead.
|
||||||
|
|
||||||
`actix-identity` is now designed as an additional layer on top of `actix-session` v0.7, focused on identity management. The identity information is stored in the session state, which is managed by `actix-session` and can be stored using any of the supported `SessionStore` implementations. This reduces the surface area in `actix-identity` (e.g., it is no longer concerned with cookies!) and provides a smooth upgrade path for users: if you need to work with sessions, you no longer need to choose between `actix-session` and `actix-identity`; they work together now!
|
`actix-identity` is now designed as an additional layer on top of `actix-session` v0.7, focused on identity management. The identity information is stored in the session state, which is managed by `actix-session` and can be stored using any of the supported `SessionStore` implementations. This reduces the surface area in `actix-identity` (e.g., it is no longer concerned with cookies!) and provides a smooth upgrade path for users: if you need to work with sessions, you no longer need to choose between `actix-session` and `actix-identity`; they work together now!
|
||||||
@ -51,57 +52,57 @@ Changes:
|
|||||||
|
|
||||||
[#246]: https://github.com/actix/actix-extras/pull/246
|
[#246]: https://github.com/actix/actix-extras/pull/246
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2022-03-01
|
## 0.4.0 - 2022-03-01
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4`.
|
- Update `actix-web` dependency to `4`.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.9 - 2022-02-07
|
## 0.4.0-beta.9 - 2022-02-07
|
||||||
|
|
||||||
- Relax body type bounds on middleware impl. [#223]
|
- Relax body type bounds on middleware impl. [#223]
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
[#223]: https://github.com/actix/actix-extras/pull/223
|
[#223]: https://github.com/actix/actix-extras/pull/223
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.8 - 2022-01-21
|
## 0.4.0-beta.8 - 2022-01-21
|
||||||
|
|
||||||
- No significant changes since `0.4.0-beta.7`.
|
- No significant changes since `0.4.0-beta.7`.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.7 - 2021-12-29
|
## 0.4.0-beta.7 - 2021-12-29
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
[#218]: https://github.com/actix/actix-extras/pull/218
|
[#218]: https://github.com/actix/actix-extras/pull/218
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.6 - 2021-12-18
|
## 0.4.0-beta.6 - 2021-12-18
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
||||||
|
|
||||||
[#216]: https://github.com/actix/actix-extras/pull/216
|
[#216]: https://github.com/actix/actix-extras/pull/216
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.5 - 2021-12-12
|
## 0.4.0-beta.5 - 2021-12-12
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
|
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.4 - 2021-11-22
|
## 0.4.0-beta.4 - 2021-11-22
|
||||||
|
|
||||||
- No significant changes since `0.4.0-beta.3`.
|
- No significant changes since `0.4.0-beta.3`.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.3 - 2021-10-21
|
## 0.4.0-beta.3 - 2021-10-21
|
||||||
|
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.52.
|
- Minimum supported Rust version (MSRV) is now 1.52.
|
||||||
|
|
||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.2 - 2021-06-27
|
## 0.4.0-beta.2 - 2021-06-27
|
||||||
|
|
||||||
- No notable changes.
|
- No notable changes.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-beta.1 - 2021-04-02
|
## 0.4.0-beta.1 - 2021-04-02
|
||||||
|
|
||||||
- Rename `CookieIdentityPolicy::{max_age => max_age_secs}`. [#168]
|
- Rename `CookieIdentityPolicy::{max_age => max_age_secs}`. [#168]
|
||||||
- Rename `CookieIdentityPolicy::{max_age_time => max_age}`. [#168]
|
- Rename `CookieIdentityPolicy::{max_age_time => max_age}`. [#168]
|
||||||
- Update `actix-web` dependency to 4.0.0 beta.
|
- Update `actix-web` dependency to 4.0.0 beta.
|
||||||
@ -109,31 +110,31 @@ Changes:
|
|||||||
|
|
||||||
[#168]: https://github.com/actix/actix-extras/pull/168
|
[#168]: https://github.com/actix/actix-extras/pull/168
|
||||||
|
|
||||||
|
|
||||||
## 0.3.1 - 2020-09-20
|
## 0.3.1 - 2020-09-20
|
||||||
|
|
||||||
- Add method to set `HttpOnly` flag on cookie identity. [#102]
|
- Add method to set `HttpOnly` flag on cookie identity. [#102]
|
||||||
|
|
||||||
[#102]: https://github.com/actix/actix-extras/pull/102
|
[#102]: https://github.com/actix/actix-extras/pull/102
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2020-09-11
|
## 0.3.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0-alpha.1 - 2020-03-14
|
## 0.3.0-alpha.1 - 2020-03-14
|
||||||
|
|
||||||
- Update the `time` dependency to 0.2.7
|
- Update the `time` dependency to 0.2.7
|
||||||
- Update the `actix-web` dependency to 3.0.0-alpha.1
|
- Update the `actix-web` dependency to 3.0.0-alpha.1
|
||||||
- Minimize `futures` dependency
|
- Minimize `futures` dependency
|
||||||
|
|
||||||
|
|
||||||
## 0.2.1 - 2020-01-10
|
## 0.2.1 - 2020-01-10
|
||||||
|
|
||||||
- Fix panic with already borrowed: BorrowMutError #1263
|
- Fix panic with already borrowed: BorrowMutError #1263
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2019-12-20
|
## 0.2.0 - 2019-12-20
|
||||||
|
|
||||||
- Use actix-web 2.0
|
- Use actix-web 2.0
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2019-06-xx
|
## 0.1.0 - 2019-06-xx
|
||||||
|
|
||||||
- Move identity middleware to separate crate
|
- Move identity middleware to separate crate
|
||||||
|
@ -2,28 +2,28 @@
|
|||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2022-09-10
|
## 0.4.0 - 2022-09-10
|
||||||
|
|
||||||
- Add `Builder::key_by` for setting a custom rate limit key function.
|
- Add `Builder::key_by` for setting a custom rate limit key function.
|
||||||
- Implement `Default` for `RateLimiter`.
|
- Implement `Default` for `RateLimiter`.
|
||||||
- `RateLimiter` is marked `#[non_exhaustive]`; use `RateLimiter::default()` instead.
|
- `RateLimiter` is marked `#[non_exhaustive]`; use `RateLimiter::default()` instead.
|
||||||
- In the middleware errors from the count function are matched and respond with `INTERNAL_SERVER_ERROR` if it's an unexpected error, instead of the default `TOO_MANY_REQUESTS`.
|
- In the middleware errors from the count function are matched and respond with `INTERNAL_SERVER_ERROR` if it's an unexpected error, instead of the default `TOO_MANY_REQUESTS`.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2022-07-11
|
## 0.3.0 - 2022-07-11
|
||||||
|
|
||||||
- `Limiter::builder` now takes an `impl Into<String>`.
|
- `Limiter::builder` now takes an `impl Into<String>`.
|
||||||
- Removed lifetime from `Builder`.
|
- Removed lifetime from `Builder`.
|
||||||
- Updated `actix-session` dependency to `0.7`.
|
- Updated `actix-session` dependency to `0.7`.
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2022-03-22
|
## 0.2.0 - 2022-03-22
|
||||||
|
|
||||||
- Update Actix Web dependency to v4 ecosystem.
|
- Update Actix Web dependency to v4 ecosystem.
|
||||||
- Update Tokio dependencies to v1 ecosystem.
|
- Update Tokio dependencies to v1 ecosystem.
|
||||||
- Rename `Limiter::{build => builder}()`.
|
- Rename `Limiter::{build => builder}()`.
|
||||||
- Rename `Builder::{finish => build}()`.
|
- Rename `Builder::{finish => build}()`.
|
||||||
- Exceeding the rate limit now returns a 429 Too Many Requests response.
|
- Exceeding the rate limit now returns a 429 Too Many Requests response.
|
||||||
|
|
||||||
|
|
||||||
## 0.1.4 - 2022-03-18
|
## 0.1.4 - 2022-03-18
|
||||||
|
|
||||||
- Adopted into @actix org from <https://github.com/0xmad/actix-limitation>.
|
- Adopted into @actix org from <https://github.com/0xmad/actix-limitation>.
|
||||||
|
@ -1,39 +1,40 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.0 - 2022-08-24
|
## 0.9.0 - 2022-08-24
|
||||||
|
|
||||||
- Added `application/x-protobuf` as an acceptable header.
|
- Added `application/x-protobuf` as an acceptable header.
|
||||||
- Updated `prost` dependency to `0.11`.
|
- Updated `prost` dependency to `0.11`.
|
||||||
|
|
||||||
|
|
||||||
## 0.8.0 - 2022-06-25
|
## 0.8.0 - 2022-06-25
|
||||||
|
|
||||||
- Update `prost` dependency to `0.10`.
|
- Update `prost` dependency to `0.10`.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0 - 2022-03-01
|
## 0.7.0 - 2022-03-01
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4`.
|
- Update `actix-web` dependency to `4`.
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0-beta.5 - 2022-02-03
|
## 0.7.0-beta.5 - 2022-02-03
|
||||||
|
|
||||||
- Update `prost` dependency to `0.9`.
|
- Update `prost` dependency to `0.9`.
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0-beta.4 - 2021-12-29
|
## 0.7.0-beta.4 - 2021-12-29
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0-beta.3 - 2021-12-12
|
## 0.7.0-beta.3 - 2021-12-12
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
|
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0-beta.2 - 2021-10-21
|
## 0.7.0-beta.2 - 2021-10-21
|
||||||
|
|
||||||
- Bump `prost` version to 0.8. [#197]
|
- Bump `prost` version to 0.8. [#197]
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.52.
|
- Minimum supported Rust version (MSRV) is now 1.52.
|
||||||
@ -41,52 +42,52 @@
|
|||||||
[#197]: https://github.com/actix/actix-extras/pull/197
|
[#197]: https://github.com/actix/actix-extras/pull/197
|
||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0-beta.1 - 2021-06-27
|
## 0.7.0-beta.1 - 2021-06-27
|
||||||
|
|
||||||
- Bump `prost` version to 0.7. [#144]
|
- Bump `prost` version to 0.7. [#144]
|
||||||
- Update `actix-web` dependency to 4.0.0 beta.
|
- Update `actix-web` dependency to 4.0.0 beta.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
||||||
|
|
||||||
[#144]: https://github.com/actix/actix-extras/pull/144
|
[#144]: https://github.com/actix/actix-extras/pull/144
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2020-09-11
|
## 0.6.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.42.0 to use `matches!` macro.
|
- Minimum supported Rust version (MSRV) is now 1.42.0 to use `matches!` macro.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-alpha.1 - 2020-07-06
|
## 0.6.0-alpha.1 - 2020-07-06
|
||||||
|
|
||||||
- Update `actix-web` to 3.0.0-alpha.3
|
- Update `actix-web` to 3.0.0-alpha.3
|
||||||
- Minimum supported Rust version(MSRV) is now 1.40.0.
|
- Minimum supported Rust version(MSRV) is now 1.40.0.
|
||||||
- Minimize `futures` dependency
|
- Minimize `futures` dependency
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 - 2019-02-17
|
## 0.5.1 - 2019-02-17
|
||||||
|
|
||||||
- Move repository to actix-extras
|
- Move repository to actix-extras
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2019-01-24
|
## 0.5.0 - 2019-01-24
|
||||||
|
|
||||||
- Migrate to actix-web 2.0.0 and std::future
|
- Migrate to actix-web 2.0.0 and std::future
|
||||||
- Update prost to 0.6
|
- Update prost to 0.6
|
||||||
- Update bytes to 0.5
|
- Update bytes to 0.5
|
||||||
|
|
||||||
|
|
||||||
## 0.4.1 - 2019-10-03
|
## 0.4.1 - 2019-10-03
|
||||||
|
|
||||||
- Upgrade prost and prost-derive to 0.5.0
|
- Upgrade prost and prost-derive to 0.5.0
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2019-05-18
|
## 0.4.0 - 2019-05-18
|
||||||
|
|
||||||
- Upgrade to actix-web 1.0.0-rc
|
- Upgrade to actix-web 1.0.0-rc
|
||||||
- Removed `protobuf` method for `HttpRequest` (use `ProtoBuf` extractor instead)
|
- Removed `protobuf` method for `HttpRequest` (use `ProtoBuf` extractor instead)
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2019-03-07
|
## 0.3.0 - 2019-03-07
|
||||||
|
|
||||||
- Upgrade to actix-web 0.7.18
|
- Upgrade to actix-web 0.7.18
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2018-04-10
|
## 0.2.0 - 2018-04-10
|
||||||
|
|
||||||
- Provide protobuf extractor
|
- Provide protobuf extractor
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2018-03-21
|
## 0.1.0 - 2018-03-21
|
||||||
|
|
||||||
- First release
|
- First release
|
||||||
|
@ -1,83 +1,86 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.12.0 - 2022-07-09
|
## 0.12.0 - 2022-07-09
|
||||||
|
|
||||||
- Update `actix` dependency to `0.13`.
|
- Update `actix` dependency to `0.13`.
|
||||||
- Update `redis-async` dependency to `0.13`.
|
- Update `redis-async` dependency to `0.13`.
|
||||||
- Update `tokio-util` dependency to `0.7`.
|
- Update `tokio-util` dependency to `0.7`.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.11.0 - 2022-03-15
|
## 0.11.0 - 2022-03-15
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- `RedisSession` has been removed. Check out `RedisActorSessionStore` in `actix-session` for a session store backed by Redis using `actix-redis`. [#212]
|
- `RedisSession` has been removed. Check out `RedisActorSessionStore` in `actix-session` for a session store backed by Redis using `actix-redis`. [#212]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Update `redis-async` dependency to `0.12`. [#212]
|
- Update `redis-async` dependency to `0.12`. [#212]
|
||||||
|
|
||||||
[#212]: https://github.com/actix/actix-extras/pull/212
|
[#212]: https://github.com/actix/actix-extras/pull/212
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0 - 2022-03-01
|
## 0.10.0 - 2022-03-01
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4`.
|
- Update `actix-web` dependency to `4`.
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.6 - 2022-02-07
|
## 0.10.0-beta.6 - 2022-02-07
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.5 - 2021-12-29
|
## 0.10.0-beta.5 - 2021-12-29
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
[#218]: https://github.com/actix/actix-extras/pull/218
|
[#218]: https://github.com/actix/actix-extras/pull/218
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.4 - 2021-12-12
|
## 0.10.0-beta.4 - 2021-12-12
|
||||||
|
|
||||||
- A session will be created in Redis if and only if there is some data inside the session state. This reduces the performance impact of `RedisSession` on routes that do not leverage sessions. [#207]
|
- A session will be created in Redis if and only if there is some data inside the session state. This reduces the performance impact of `RedisSession` on routes that do not leverage sessions. [#207]
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
|
|
||||||
[#207]: https://github.com/actix/actix-extras/pull/207
|
[#207]: https://github.com/actix/actix-extras/pull/207
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.3 - 2021-10-21
|
## 0.10.0-beta.3 - 2021-10-21
|
||||||
|
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.52.
|
- Minimum supported Rust version (MSRV) is now 1.52.
|
||||||
|
|
||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.2 - 2021-06-27
|
## 0.10.0-beta.2 - 2021-06-27
|
||||||
|
|
||||||
- No notable changes.
|
- No notable changes.
|
||||||
|
|
||||||
|
|
||||||
## 0.10.0-beta.1 - 2021-04-02
|
## 0.10.0-beta.1 - 2021-04-02
|
||||||
|
|
||||||
- Update `actix-web` dependency to 4.0.0 beta.
|
- Update `actix-web` dependency to 4.0.0 beta.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.2 - 2021-03-21
|
## 0.9.2 - 2021-03-21
|
||||||
|
|
||||||
- Implement `std::error::Error` for `Error` [#135]
|
- Implement `std::error::Error` for `Error` [#135]
|
||||||
- Allow the removal of `Max-Age` for session-only cookies. [#161]
|
- Allow the removal of `Max-Age` for session-only cookies. [#161]
|
||||||
|
|
||||||
[#135]: https://github.com/actix/actix-extras/pull/135
|
[#135]: https://github.com/actix/actix-extras/pull/135
|
||||||
[#161]: https://github.com/actix/actix-extras/pull/161
|
[#161]: https://github.com/actix/actix-extras/pull/161
|
||||||
|
|
||||||
|
|
||||||
## 0.9.1 - 2020-09-12
|
## 0.9.1 - 2020-09-12
|
||||||
|
|
||||||
- Enforce minimum redis-async version of 0.6.3 to workaround breaking patch change.
|
- Enforce minimum redis-async version of 0.6.3 to workaround breaking patch change.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.0 - 2020-09-11
|
## 0.9.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimize `futures` dependency.
|
- Minimize `futures` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.0-alpha.2 - 2020-05-17
|
## 0.9.0-alpha.2 - 2020-05-17
|
||||||
|
|
||||||
- Add `cookie_http_only` functionality to RedisSession builder, setting this
|
- Add `cookie_http_only` functionality to RedisSession builder, setting this
|
||||||
to false allows JavaScript to access cookies. Defaults to true.
|
to false allows JavaScript to access cookies. Defaults to true.
|
||||||
- Change type of parameter of ttl method to u32.
|
- Change type of parameter of ttl method to u32.
|
||||||
@ -85,69 +88,69 @@
|
|||||||
- Update `tokio-util` to 0.3
|
- Update `tokio-util` to 0.3
|
||||||
- Minimum supported Rust version(MSRV) is now 1.40.0.
|
- Minimum supported Rust version(MSRV) is now 1.40.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.9.0-alpha.1 - 2020-03-28
|
## 0.9.0-alpha.1 - 2020-03-28
|
||||||
|
|
||||||
- Update `actix` to 0.10.0-alpha.2
|
- Update `actix` to 0.10.0-alpha.2
|
||||||
- Update `actix-session` to 0.4.0-alpha.1
|
- Update `actix-session` to 0.4.0-alpha.1
|
||||||
- Update `actix-web` to 3.0.0-alpha.1
|
- Update `actix-web` to 3.0.0-alpha.1
|
||||||
- Update `time` to 0.2.9
|
- Update `time` to 0.2.9
|
||||||
|
|
||||||
|
|
||||||
## 0.8.1 - 2020-02-18
|
## 0.8.1 - 2020-02-18
|
||||||
|
|
||||||
- Move `env_logger` dependency to dev-dependencies and update to 0.7
|
- Move `env_logger` dependency to dev-dependencies and update to 0.7
|
||||||
- Update `actix_web` to 2.0.0 from 2.0.0-rc
|
- Update `actix_web` to 2.0.0 from 2.0.0-rc
|
||||||
- Move repository to actix-extras
|
- Move repository to actix-extras
|
||||||
|
|
||||||
|
|
||||||
## 0.8.0 - 2019-12-20
|
## 0.8.0 - 2019-12-20
|
||||||
|
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
|
|
||||||
## 0.8.0-alpha.1 - 2019-12-16
|
## 0.8.0-alpha.1 - 2019-12-16
|
||||||
|
|
||||||
- Migrate to actix 0.9
|
- Migrate to actix 0.9
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0 - 2019-09-25
|
## 0.7.0 - 2019-09-25
|
||||||
|
|
||||||
- added cache_keygen functionality to RedisSession builder, enabling support for
|
- added cache_keygen functionality to RedisSession builder, enabling support for
|
||||||
customizable cache key creation
|
customizable cache key creation
|
||||||
|
|
||||||
|
|
||||||
## 0.6.1 - 2019-07-19
|
## 0.6.1 - 2019-07-19
|
||||||
|
|
||||||
- remove ClonableService usage
|
- remove ClonableService usage
|
||||||
- added comprehensive tests for session workflow
|
- added comprehensive tests for session workflow
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2019-07-08
|
## 0.6.0 - 2019-07-08
|
||||||
|
|
||||||
- actix-web 1.0.0 compatibility
|
- actix-web 1.0.0 compatibility
|
||||||
- Upgraded logic that evaluates session state, including new SessionStatus field,
|
- Upgraded logic that evaluates session state, including new SessionStatus field,
|
||||||
and introduced ``session.renew()`` and ``session.purge()`` functionality.
|
and introduced `session.renew()` and `session.purge()` functionality.
|
||||||
Use ``renew()`` to cycle the session key at successful login. ``renew()`` keeps a
|
Use `renew()` to cycle the session key at successful login. `renew()` keeps a
|
||||||
session's state while replacing the old cookie and session key with new ones.
|
session's state while replacing the old cookie and session key with new ones.
|
||||||
Use ``purge()`` at logout to invalidate the session cookie and remove the
|
Use `purge()` at logout to invalidate the session cookie and remove the
|
||||||
session's redis cache entry.
|
session's redis cache entry.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 - 2018-08-02
|
## 0.5.1 - 2018-08-02
|
||||||
|
|
||||||
- Use cookie 0.11
|
- Use cookie 0.11
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2018-07-21
|
## 0.5.0 - 2018-07-21
|
||||||
|
|
||||||
- Session cookie configuration
|
- Session cookie configuration
|
||||||
- Actix/Actix-web 0.7 compatibility
|
- Actix/Actix-web 0.7 compatibility
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2018-05-08
|
## 0.4.0 - 2018-05-08
|
||||||
|
|
||||||
- Actix web 0.6 compatibility
|
- Actix web 0.6 compatibility
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2018-04-10
|
## 0.3.0 - 2018-04-10
|
||||||
|
|
||||||
- Actix web 0.5 compatibility
|
- Actix web 0.5 compatibility
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2018-02-28
|
## 0.2.0 - 2018-02-28
|
||||||
|
|
||||||
- Use resolver actor from actix
|
- Use resolver actor from actix
|
||||||
- Use actix web 0.5
|
- Use actix web 0.5
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2018-01-23
|
## 0.1.0 - 2018-01-23
|
||||||
|
|
||||||
- First release
|
- First release
|
||||||
|
@ -1,24 +1,26 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
|
|
||||||
- Set secure attribute when adding a session removal cookie. [#300]
|
- Set secure attribute when adding a session removal cookie. [#300]
|
||||||
|
|
||||||
[#300]: https://github.com/actix/actix-extras/pull/300
|
[#300]: https://github.com/actix/actix-extras/pull/300
|
||||||
|
|
||||||
## 0.7.2 - 2022-09-11
|
## 0.7.2 - 2022-09-11
|
||||||
|
|
||||||
- Set SameSite attribute when adding a session removal cookie. [#284]
|
- Set SameSite attribute when adding a session removal cookie. [#284]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
[#284]: https://github.com/actix/actix-extras/pull/284
|
[#284]: https://github.com/actix/actix-extras/pull/284
|
||||||
|
|
||||||
|
|
||||||
## 0.7.1 - 2022-07-24
|
## 0.7.1 - 2022-07-24
|
||||||
|
|
||||||
- Fix interaction between session state changes and renewal. [#265]
|
- Fix interaction between session state changes and renewal. [#265]
|
||||||
|
|
||||||
[#265]: https://github.com/actix/actix-extras/pull/265
|
[#265]: https://github.com/actix/actix-extras/pull/265
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0 - 2022-07-09
|
## 0.7.0 - 2022-07-09
|
||||||
|
|
||||||
- Added `TtlExtensionPolicy` enum to support different strategies for extending the TTL attached to the session state. `TtlExtensionPolicy::OnEveryRequest` now allows for long-lived sessions that do not expire if the user remains active. [#233]
|
- Added `TtlExtensionPolicy` enum to support different strategies for extending the TTL attached to the session state. `TtlExtensionPolicy::OnEveryRequest` now allows for long-lived sessions that do not expire if the user remains active. [#233]
|
||||||
- `SessionLength` is now called `SessionLifecycle`. [#233]
|
- `SessionLength` is now called `SessionLifecycle`. [#233]
|
||||||
- `SessionLength::Predetermined` is now called `SessionLifecycle::PersistentSession`. [#233]
|
- `SessionLength::Predetermined` is now called `SessionLifecycle::PersistentSession`. [#233]
|
||||||
@ -34,8 +36,8 @@
|
|||||||
|
|
||||||
[#233]: https://github.com/actix/actix-extras/pull/233
|
[#233]: https://github.com/actix/actix-extras/pull/233
|
||||||
|
|
||||||
|
|
||||||
## 0.6.2 - 2022-03-25
|
## 0.6.2 - 2022-03-25
|
||||||
|
|
||||||
- Implement `SessionExt` for `GuardContext`. [#234]
|
- Implement `SessionExt` for `GuardContext`. [#234]
|
||||||
- `RedisSessionStore` will prevent connection timeouts from causing user-visible errors. [#235]
|
- `RedisSessionStore` will prevent connection timeouts from causing user-visible errors. [#235]
|
||||||
- Do not leak internal implementation details to callers when errors occur. [#236]
|
- Do not leak internal implementation details to callers when errors occur. [#236]
|
||||||
@ -44,13 +46,14 @@
|
|||||||
[#236]: https://github.com/actix/actix-extras/pull/236
|
[#236]: https://github.com/actix/actix-extras/pull/236
|
||||||
[#235]: https://github.com/actix/actix-extras/pull/235
|
[#235]: https://github.com/actix/actix-extras/pull/235
|
||||||
|
|
||||||
|
|
||||||
## 0.6.1 - 2022-03-21
|
## 0.6.1 - 2022-03-21
|
||||||
|
|
||||||
- No significant changes since `0.6.0`.
|
- No significant changes since `0.6.0`.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2022-03-15
|
## 0.6.0 - 2022-03-15
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `SessionMiddleware`, a middleware to provide support for saving/updating/deleting session state against a pluggable storage backend (see `SessionStore` trait). [#212]
|
- `SessionMiddleware`, a middleware to provide support for saving/updating/deleting session state against a pluggable storage backend (see `SessionStore` trait). [#212]
|
||||||
- `CookieSessionStore`, a cookie-based backend to store session state. [#212]
|
- `CookieSessionStore`, a cookie-based backend to store session state. [#212]
|
||||||
- `RedisActorSessionStore`, a Redis-based backend to store session state powered by `actix-redis`. [#212]
|
- `RedisActorSessionStore`, a Redis-based backend to store session state powered by `actix-redis`. [#212]
|
||||||
@ -59,37 +62,39 @@
|
|||||||
- Implement `SessionExt` for `ServiceResponse`. [#212]
|
- Implement `SessionExt` for `ServiceResponse`. [#212]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Rename `UserSession` to `SessionExt`. [#212]
|
- Rename `UserSession` to `SessionExt`. [#212]
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- `CookieSession`; replaced with `CookieSessionStore`, a storage backend for `SessionMiddleware`. [#212]
|
- `CookieSession`; replaced with `CookieSessionStore`, a storage backend for `SessionMiddleware`. [#212]
|
||||||
- `Session::set_session`; use `Session::insert` to modify the session state. [#212]
|
- `Session::set_session`; use `Session::insert` to modify the session state. [#212]
|
||||||
|
|
||||||
[#212]: https://github.com/actix/actix-extras/pull/212
|
[#212]: https://github.com/actix/actix-extras/pull/212
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2022-03-01
|
## 0.5.0 - 2022-03-01
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4`.
|
- Update `actix-web` dependency to `4`.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.8 - 2022-02-07
|
## 0.5.0-beta.8 - 2022-02-07
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.7 - 2021-12-29
|
## 0.5.0-beta.7 - 2021-12-29
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
- Update `actix-web` dependency to `4.0.0.beta-18`. [#218]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
[#218]: https://github.com/actix/actix-extras/pull/218
|
[#218]: https://github.com/actix/actix-extras/pull/218
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.6 - 2021-12-18
|
## 0.5.0-beta.6 - 2021-12-18
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
||||||
|
|
||||||
[#216]: https://github.com/actix/actix-extras/pull/216
|
[#216]: https://github.com/actix/actix-extras/pull/216
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.5 - 2021-12-12
|
## 0.5.0-beta.5 - 2021-12-12
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
- Remove `UserSession` implementation for `RequestHead`. [#209]
|
- Remove `UserSession` implementation for `RequestHead`. [#209]
|
||||||
- A session will be created in the storage backend if and only if there is some data inside the session state. This reduces the performance impact of `SessionMiddleware` on routes that do not leverage sessions. [#207]
|
- A session will be created in the storage backend if and only if there is some data inside the session state. This reduces the performance impact of `SessionMiddleware` on routes that do not leverage sessions. [#207]
|
||||||
@ -97,12 +102,12 @@
|
|||||||
[#207]: https://github.com/actix/actix-extras/pull/207
|
[#207]: https://github.com/actix/actix-extras/pull/207
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.4 - 2021-11-22
|
## 0.5.0-beta.4 - 2021-11-22
|
||||||
|
|
||||||
- No significant changes since `0.5.0-beta.3`.
|
- No significant changes since `0.5.0-beta.3`.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.3 - 2021-10-21
|
## 0.5.0-beta.3 - 2021-10-21
|
||||||
|
|
||||||
- Impl `Clone` for `CookieSession`. [#201]
|
- Impl `Clone` for `CookieSession`. [#201]
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.52.
|
- Minimum supported Rust version (MSRV) is now 1.52.
|
||||||
@ -110,12 +115,12 @@
|
|||||||
[#201]: https://github.com/actix/actix-extras/pull/201
|
[#201]: https://github.com/actix/actix-extras/pull/201
|
||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.2 - 2021-06-27
|
## 0.5.0-beta.2 - 2021-06-27
|
||||||
|
|
||||||
- No notable changes.
|
- No notable changes.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0-beta.1 - 2021-04-02
|
## 0.5.0-beta.1 - 2021-04-02
|
||||||
|
|
||||||
- Add `Session::entries`. [#170]
|
- Add `Session::entries`. [#170]
|
||||||
- Rename `Session::{set => insert}` to match standard hash map naming. [#170]
|
- Rename `Session::{set => insert}` to match standard hash map naming. [#170]
|
||||||
- Return values from `Session::remove`. [#170]
|
- Return values from `Session::remove`. [#170]
|
||||||
@ -127,21 +132,21 @@
|
|||||||
|
|
||||||
[#170]: https://github.com/actix/actix-extras/pull/170
|
[#170]: https://github.com/actix/actix-extras/pull/170
|
||||||
|
|
||||||
|
|
||||||
## 0.4.1 - 2021-03-21
|
## 0.4.1 - 2021-03-21
|
||||||
|
|
||||||
- `Session::set_session` takes a `IntoIterator` instead of `Iterator`. [#105]
|
- `Session::set_session` takes a `IntoIterator` instead of `Iterator`. [#105]
|
||||||
- Fix calls to `session.purge()` from paths other than the one specified in the cookie. [#129]
|
- Fix calls to `session.purge()` from paths other than the one specified in the cookie. [#129]
|
||||||
|
|
||||||
[#105]: https://github.com/actix/actix-extras/pull/105
|
[#105]: https://github.com/actix/actix-extras/pull/105
|
||||||
[#129]: https://github.com/actix/actix-extras/pull/129
|
[#129]: https://github.com/actix/actix-extras/pull/129
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2020-09-11
|
## 0.4.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0-alpha.1 - 2020-03-14
|
## 0.4.0-alpha.1 - 2020-03-14
|
||||||
|
|
||||||
- Update the `time` dependency to 0.2.7
|
- Update the `time` dependency to 0.2.7
|
||||||
- Update the `actix-web` dependency to 3.0.0-alpha.1
|
- Update the `actix-web` dependency to 3.0.0-alpha.1
|
||||||
- Long lasting auto-prolonged session [#1292]
|
- Long lasting auto-prolonged session [#1292]
|
||||||
@ -149,65 +154,65 @@
|
|||||||
|
|
||||||
[#1292]: https://github.com/actix/actix-web/pull/1292
|
[#1292]: https://github.com/actix/actix-web/pull/1292
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2019-12-20
|
## 0.3.0 - 2019-12-20
|
||||||
|
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0-alpha.4 - 2019-12-xx
|
## 0.3.0-alpha.4 - 2019-12-xx
|
||||||
|
|
||||||
- Allow access to sessions also from not mutable references to the request
|
- Allow access to sessions also from not mutable references to the request
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0-alpha.3 - 2019-12-xx
|
## 0.3.0-alpha.3 - 2019-12-xx
|
||||||
|
|
||||||
- Add access to the session from RequestHead for use of session from guard methods
|
- Add access to the session from RequestHead for use of session from guard methods
|
||||||
- Migrate to `std::future`
|
- Migrate to `std::future`
|
||||||
- Migrate to `actix-web` 2.0
|
- Migrate to `actix-web` 2.0
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2019-07-08
|
## 0.2.0 - 2019-07-08
|
||||||
- Enhanced ``actix-session`` to facilitate state changes. Use ``Session.renew()``
|
|
||||||
|
- Enhanced `actix-session` to facilitate state changes. Use `Session.renew()`
|
||||||
at successful login to cycle a session (new key/cookie but keeps state).
|
at successful login to cycle a session (new key/cookie but keeps state).
|
||||||
Use ``Session.purge()`` at logout to invalid a session cookie (and remove
|
Use `Session.purge()` at logout to invalid a session cookie (and remove
|
||||||
from redis cache, if applicable).
|
from redis cache, if applicable).
|
||||||
|
|
||||||
|
|
||||||
## 0.1.1 - 2019-06-03
|
## 0.1.1 - 2019-06-03
|
||||||
|
|
||||||
- Fix optional cookie session support
|
- Fix optional cookie session support
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2019-05-18
|
## 0.1.0 - 2019-05-18
|
||||||
|
|
||||||
- Use actix-web 1.0.0-rc
|
- Use actix-web 1.0.0-rc
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-beta.4 - 2019-05-12
|
## 0.1.0-beta.4 - 2019-05-12
|
||||||
|
|
||||||
- Use actix-web 1.0.0-beta.4
|
- Use actix-web 1.0.0-beta.4
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-beta.2 - 2019-04-28
|
## 0.1.0-beta.2 - 2019-04-28
|
||||||
|
|
||||||
- Add helper trait `UserSession` which allows to get session for ServiceRequest and HttpRequest
|
- Add helper trait `UserSession` which allows to get session for ServiceRequest and HttpRequest
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-beta.1 - 2019-04-20
|
## 0.1.0-beta.1 - 2019-04-20
|
||||||
|
|
||||||
- Update actix-web to beta.1
|
- Update actix-web to beta.1
|
||||||
- `CookieSession::max_age()` accepts value in seconds
|
- `CookieSession::max_age()` accepts value in seconds
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-alpha.6 - 2019-04-14
|
## 0.1.0-alpha.6 - 2019-04-14
|
||||||
|
|
||||||
- Update actix-web alpha.6
|
- Update actix-web alpha.6
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-alpha.4 - 2019-04-08
|
## 0.1.0-alpha.4 - 2019-04-08
|
||||||
- Update actix-web
|
|
||||||
|
|
||||||
|
- Update actix-web
|
||||||
|
|
||||||
## 0.1.0-alpha.3 - 2019-04-02
|
## 0.1.0-alpha.3 - 2019-04-02
|
||||||
|
|
||||||
- Update actix-web
|
- Update actix-web
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-alpha.2 - 2019-03-29
|
## 0.1.0-alpha.2 - 2019-03-29
|
||||||
|
|
||||||
- Update actix-web
|
- Update actix-web
|
||||||
- Use new feature name for secure cookies
|
- Use new feature name for secure cookies
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0-alpha.1 - 2019-03-28
|
## 0.1.0-alpha.1 - 2019-03-28
|
||||||
|
|
||||||
- Initial impl
|
- Initial impl
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
|
||||||
## 0.8.0 - 2022-07-21
|
## 0.8.0 - 2022-07-21
|
||||||
|
|
||||||
- Removed `AuthExtractor` trait; implement `FromRequest` for your custom auth types. [#264]
|
- Removed `AuthExtractor` trait; implement `FromRequest` for your custom auth types. [#264]
|
||||||
- `BasicAuth::user_id()` now returns `&str`. [#249]
|
- `BasicAuth::user_id()` now returns `&str`. [#249]
|
||||||
- `BasicAuth::password()` now returns `Option<&str>`. [#249]
|
- `BasicAuth::password()` now returns `Option<&str>`. [#249]
|
||||||
@ -15,75 +16,75 @@
|
|||||||
[#249]: https://github.com/actix/actix-extras/pull/249
|
[#249]: https://github.com/actix/actix-extras/pull/249
|
||||||
[#264]: https://github.com/actix/actix-extras/pull/264
|
[#264]: https://github.com/actix/actix-extras/pull/264
|
||||||
|
|
||||||
|
|
||||||
## 0.7.0 - 2022-07-19
|
## 0.7.0 - 2022-07-19
|
||||||
|
|
||||||
- Auth validator functions now need to return `(Error, ServiceRequest)` in error cases. [#260]
|
- 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.
|
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
||||||
|
|
||||||
[#260]: https://github.com/actix/actix-extras/pull/260
|
[#260]: https://github.com/actix/actix-extras/pull/260
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0 - 2022-03-01
|
## 0.6.0 - 2022-03-01
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4`.
|
- Update `actix-web` dependency to `4`.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.8 - 2022-02-07
|
## 0.6.0-beta.8 - 2022-02-07
|
||||||
|
|
||||||
- Relax body type bounds on middleware impl. [#223]
|
- Relax body type bounds on middleware impl. [#223]
|
||||||
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
- Update `actix-web` dependency to `4.0.0-rc.1`.
|
||||||
|
|
||||||
[#223]: https://github.com/actix/actix-extras/pull/223
|
[#223]: https://github.com/actix/actix-extras/pull/223
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.7 - 2021-12-29
|
## 0.6.0-beta.7 - 2021-12-29
|
||||||
|
|
||||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.6 - 2021-12-18
|
## 0.6.0-beta.6 - 2021-12-18
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
- Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
||||||
|
|
||||||
[#216]: https://github.com/actix/actix-extras/pull/216
|
[#216]: https://github.com/actix/actix-extras/pull/216
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.5 - 2021-12-12
|
## 0.6.0-beta.5 - 2021-12-12
|
||||||
|
|
||||||
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||||
|
|
||||||
[#209]: https://github.com/actix/actix-extras/pull/209
|
[#209]: https://github.com/actix/actix-extras/pull/209
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.4 - 2021-11-22
|
## 0.6.0-beta.4 - 2021-11-22
|
||||||
|
|
||||||
- impl `AuthExtractor` trait for `Option<T: AuthExtractor>` and `Result<T: AuthExtractor, T::Error>`. [#205]
|
- impl `AuthExtractor` trait for `Option<T: AuthExtractor>` and `Result<T: AuthExtractor, T::Error>`. [#205]
|
||||||
|
|
||||||
[#205]: https://github.com/actix/actix-extras/pull/205
|
[#205]: https://github.com/actix/actix-extras/pull/205
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.3 - 2021-10-21
|
## 0.6.0-beta.3 - 2021-10-21
|
||||||
|
|
||||||
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.52.
|
- Minimum supported Rust version (MSRV) is now 1.52.
|
||||||
|
|
||||||
[#203]: https://github.com/actix/actix-extras/pull/203
|
[#203]: https://github.com/actix/actix-extras/pull/203
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.2 - 2021-06-27
|
## 0.6.0-beta.2 - 2021-06-27
|
||||||
|
|
||||||
- No notable changes.
|
- No notable changes.
|
||||||
|
|
||||||
|
|
||||||
## 0.6.0-beta.1 - 2021-04-02
|
## 0.6.0-beta.1 - 2021-04-02
|
||||||
|
|
||||||
- Update `actix-web` dependency to 4.0.0 beta.
|
- Update `actix-web` dependency to 4.0.0 beta.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
- Minimum supported Rust version (MSRV) is now 1.46.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 - 2021-03-21
|
## 0.5.1 - 2021-03-21
|
||||||
|
|
||||||
- Correct error handling when extracting auth details from request. [#128]
|
- Correct error handling when extracting auth details from request. [#128]
|
||||||
|
|
||||||
[#128]: https://github.com/actix/actix-extras/pull/128
|
[#128]: https://github.com/actix/actix-extras/pull/128
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2020-09-11
|
## 0.5.0 - 2020-09-11
|
||||||
|
|
||||||
- Update `actix-web` dependency to 3.0.0.
|
- Update `actix-web` dependency to 3.0.0.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
- Minimum supported Rust version (MSRV) is now 1.42.0.
|
||||||
|
|
||||||
|
|
||||||
## 0.4.2 - 2020-07-08
|
## 0.4.2 - 2020-07-08
|
||||||
|
|
||||||
- Update the `base64` dependency to 0.12
|
- Update the `base64` dependency to 0.12
|
||||||
- AuthenticationError's status code is preserved when converting to a ResponseError
|
- AuthenticationError's status code is preserved when converting to a ResponseError
|
||||||
- Minimize `futures` dependency
|
- Minimize `futures` dependency
|
||||||
@ -91,46 +92,46 @@
|
|||||||
|
|
||||||
[#69]: https://github.com/actix/actix-web-httpauth/pull/69
|
[#69]: https://github.com/actix/actix-web-httpauth/pull/69
|
||||||
|
|
||||||
|
|
||||||
## 0.4.1 - 2020-02-19
|
## 0.4.1 - 2020-02-19
|
||||||
|
|
||||||
- Move repository to actix-extras
|
- Move repository to actix-extras
|
||||||
|
|
||||||
|
|
||||||
## 0.4.0 - 2020-01-14
|
## 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 `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
|
- Depends on `bytes = "^0.5"` and `base64 = "^0.11"` now
|
||||||
|
|
||||||
[#14]: https://github.com/actix/actix-web-httpauth/pull/14
|
[#14]: https://github.com/actix/actix-web-httpauth/pull/14
|
||||||
|
|
||||||
|
|
||||||
## 0.3.2 - 2019-07-19
|
## 0.3.2 - 2019-07-19
|
||||||
|
|
||||||
- Middleware accepts any `Fn` as a validator function instead of `FnMut` [#11]
|
- Middleware accepts any `Fn` as a validator function instead of `FnMut` [#11]
|
||||||
|
|
||||||
[#11]: https://github.com/actix/actix-web-httpauth/pull/11
|
[#11]: https://github.com/actix/actix-web-httpauth/pull/11
|
||||||
|
|
||||||
|
|
||||||
## 0.3.1 - 2019-06-09
|
## 0.3.1 - 2019-06-09
|
||||||
|
|
||||||
- Multiple calls to the middleware would result in panic
|
- Multiple calls to the middleware would result in panic
|
||||||
|
|
||||||
|
|
||||||
## 0.3.0 - 2019-06-05
|
## 0.3.0 - 2019-06-05
|
||||||
|
|
||||||
- Crate edition was changed to `2018`, same as `actix-web`
|
- Crate edition was changed to `2018`, same as `actix-web`
|
||||||
- Depends on `actix-web = "^1.0"` version now
|
- Depends on `actix-web = "^1.0"` version now
|
||||||
- `WWWAuthenticate` header struct was renamed into `WwwAuthenticate`
|
- `WWWAuthenticate` header struct was renamed into `WwwAuthenticate`
|
||||||
- Challenges and extractor configs are now operating with `Cow<'static, str>` types instead of `String` types
|
- Challenges and extractor configs are now operating with `Cow<'static, str>` types instead of `String` types
|
||||||
|
|
||||||
|
|
||||||
## 0.2.0 - 2019-04-26
|
## 0.2.0 - 2019-04-26
|
||||||
|
|
||||||
- `actix-web` dependency is used without default features now [#6]
|
- `actix-web` dependency is used without default features now [#6]
|
||||||
- `base64` dependency version was bumped to `0.10`
|
- `base64` dependency version was bumped to `0.10`
|
||||||
|
|
||||||
[#6]: https://github.com/actix/actix-web-httpauth/pull/6
|
[#6]: https://github.com/actix/actix-web-httpauth/pull/6
|
||||||
|
|
||||||
|
|
||||||
## 0.1.0 - 2018-09-08
|
## 0.1.0 - 2018-09-08
|
||||||
|
|
||||||
- Update to `actix-web = "0.7"` version
|
- Update to `actix-web = "0.7"` version
|
||||||
|
|
||||||
|
|
||||||
## 0.0.4 - 2018-07-01
|
## 0.0.4 - 2018-07-01
|
||||||
|
|
||||||
- Fix possible panic at `IntoHeaderValue` implementation for `headers::authorization::Basic`
|
- Fix possible panic at `IntoHeaderValue` implementation for `headers::authorization::Basic`
|
||||||
- Fix possible panic at `headers::www_authenticate::challenge::bearer::Bearer::to_bytes` call
|
- Fix possible panic at `headers::www_authenticate::challenge::bearer::Bearer::to_bytes` call
|
||||||
|
Loading…
Reference in New Issue
Block a user