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

fixup changelogs

This commit is contained in:
Rob Ede 2021-12-29 09:36:12 +00:00
parent 14a622092d
commit 6ca36b5d53
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
6 changed files with 179 additions and 192 deletions

View File

@ -1,37 +1,35 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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]
* Minimum supported Rust version (MSRV) is now 1.52. - Minimum supported Rust version (MSRV) is now 1.52.
[#195]: https://github.com/actix/actix-extras/pull/195 [#195]: https://github.com/actix/actix-extras/pull/195
[#203]: https://github.com/actix/actix-extras/pull/203 [#203]: https://github.com/actix/actix-extras/pull/203
@ -39,47 +37,47 @@
## 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]
* The `impl Default` constructor is now overly-restrictive. [#119] - The `impl Default` constructor is now overly-restrictive. [#119]
* Added `Cors::permissive()` constructor that allows anything. [#119] - Added `Cors::permissive()` constructor that allows anything. [#119]
* Adds methods for each property to reset to a permissive state. (`allow_any_origin`, - Adds methods for each property to reset to a permissive state. (`allow_any_origin`,
`expose_any_header`, etc.) [#119] `expose_any_header`, etc.) [#119]
* Errors are now propagated with `Transform::InitError` instead of panicking. [#119] - Errors are now propagated with `Transform::InitError` instead of panicking. [#119]
* Fixes bug where allowed origin functions are not called if `allowed_origins` is All. [#119] - Fixes bug where allowed origin functions are not called if `allowed_origins` is All. [#119]
* `AllOrSome` is no longer public. [#119] - `AllOrSome` is no longer public. [#119]
* Functions used for `allowed_origin_fn` now receive the Origin HeaderValue as the - Functions used for `allowed_origin_fn` now receive the Origin HeaderValue as the
first parameter. [#120] first parameter. [#120]
[#114]: https://github.com/actix/actix-extras/pull/114 [#114]: https://github.com/actix/actix-extras/pull/114
@ -89,38 +87,38 @@
## 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

View File

@ -1,75 +1,68 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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.
* Minimum supported Rust version (MSRV) is now 1.46.0. - Minimum supported Rust version (MSRV) is now 1.46.0.
[#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
<!-- PR Links -->
[#102]: https://github.com/actix/actix-extras/pull/102

View File

@ -1,70 +1,68 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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.
[#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

View File

@ -1,94 +1,92 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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.
* Update `actix` to 0.10.0-alpha.3 - Update `actix` to 0.10.0-alpha.3
* 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.
@ -97,26 +95,26 @@
## 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

View File

@ -1,133 +1,131 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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]
[#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.
[#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]
* Add `Session::remove_as` deserializing variation. [#170] - Add `Session::remove_as` deserializing variation. [#170]
* Simplify `Session::get_changes` now always returning iterator even when empty. [#170] - Simplify `Session::get_changes` now always returning iterator even when empty. [#170]
* Swap order of arguments on `Session::set_session`. [#170] - Swap order of arguments on `Session::set_session`. [#170]
* 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.
[#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]
* Minimize `futures` dependency - Minimize `futures` dependency
[#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

View File

@ -1,58 +1,56 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Update `actix-web` dependency to `4.0.0-beta.17`. [#217]
[#217]: https://github.com/actix/actix-extras/pull/217
## 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
* 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
@ -76,7 +74,9 @@
## 0.3.2 - 2019-07-19 ## 0.3.2 - 2019-07-19
- Middleware accepts any `Fn` as a validator function instead of `FnMut` ([#11](https://github.com/actix/actix-web-httpauth/pull/11)) - Middleware accepts any `Fn` as a validator function instead of `FnMut` [#11]
[#11]: https://github.com/actix/actix-web-httpauth/pull/11
## 0.3.1 - 2019-06-09 ## 0.3.1 - 2019-06-09
@ -91,9 +91,11 @@
## 0.2.0 - 2019-04-26 ## 0.2.0 - 2019-04-26
- `actix-web` dependency is used without default features now ([#6](https://github.com/actix/actix-web-httpauth/pull/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)
## 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