From 68483124678fa090f5faae454156f476470740c4 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 7 Jan 2023 01:02:02 +0000 Subject: [PATCH] prettier markdown changelogs --- actix-cors/CHANGES.md | 53 +++++++++++++------------- actix-identity/CHANGES.md | 43 ++++++++++----------- actix-limitation/CHANGES.md | 8 ++-- actix-protobuf/CHANGES.md | 35 ++++++++--------- actix-redis/CHANGES.md | 61 ++++++++++++++++-------------- actix-session/CHANGES.md | 71 +++++++++++++++++++---------------- actix-web-httpauth/CHANGES.md | 45 +++++++++++----------- 7 files changed, 164 insertions(+), 152 deletions(-) diff --git a/actix-cors/CHANGES.md b/actix-cors/CHANGES.md index 3e7896505..ee61c24c4 100644 --- a/actix-cors/CHANGES.md +++ b/actix-cors/CHANGES.md @@ -2,76 +2,77 @@ ## Unreleased - 2022-xx-xx - ## 0.6.4 - 2022-10-28 + - Add `Cors::allow_private_network_access()` behind an unstable flag (`draft-private-network-access`). [#297] [#297]: https://github.com/actix/actix-extras/pull/297 - ## 0.6.3 - 2022-09-21 + - 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. [#287]: https://github.com/actix/actix-extras/pull/287 - ## 0.6.2 - 2022-08-07 + - 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. [#273]: https://github.com/actix/actix-extras/pull/273 - ## 0.6.1 - 2022-03-07 + - Do not consider requests without a `Access-Control-Request-Method` as preflight. [#226] [#226]: https://github.com/actix/actix-extras/pull/226 - ## 0.6.0 - 2022-02-25 + - Update `actix-web` dependency to 4.0. ## 0.6.0-beta.10 - 2022-02-07 + - Ensure that preflight responses contain a `Vary` header. [#224] [#224]: https://github.com/actix/actix-extras/pull/224 - ## 0.6.0-beta.9 - 2022-02-07 + - Relax body type bounds on middleware impl. [#223] - Update `actix-web` dependency to `4.0.0-rc.1`. [#223]: https://github.com/actix/actix-extras/pull/223 - ## 0.6.0-beta.8 - 2021-12-29 + - Minimum supported Rust version (MSRV) is now 1.54. - ## 0.6.0-beta.7 - 2021-12-18 + - Update `actix-web` dependency to `4.0.0-beta.15`. [#216] [#216]: https://github.com/actix/actix-extras/pull/216 - ## 0.6.0-beta.6 - 2021-12-13 + - Fix panic when wrapping routes with dynamic segments in their paths. [#213] [#213]: https://github.com/actix/actix-extras/pull/213 - ## 0.6.0-beta.5 - 2021-12-12 _(YANKED)_ + - Update `actix-web` dependency to `4.0.0.beta-14`. [#209] [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.6.0-beta.4 - 2021-11-22 + - No significant changes since `0.6.0-beta.3`. - ## 0.6.0-beta.3 - 2021-10-21 + - Make `Cors` middleware generic over body type [#195] - Fix `expose_any_header` behavior. [#204] - Update `actix-web` dependency to v4.0.0-beta.10. [#203] @@ -81,38 +82,38 @@ [#203]: https://github.com/actix/actix-extras/pull/203 [#204]: https://github.com/actix/actix-extras/pull/204 - ## 0.6.0-beta.2 - 2021-06-27 + - No notable changes. - ## 0.6.0-beta.1 - 2021-04-02 + - Update `actix-web` dependency to 4.0.0 beta. - Minimum supported Rust version (MSRV) is now 1.46.0. - ## 0.5.4 - 2020-12-31 + - Fix `expose_any_header` method, now set the correct field. [#143] [#143]: https://github.com/actix/actix-extras/pull/143 - ## 0.5.3 - 2020-11-19 + - Fix version spec for `derive_more` dependency. - ## 0.5.2 - 2020-11-15 + - Ensure `tinyvec` is using the correct features. - Bump `futures-util` minimum version to `0.3.7` to avoid `RUSTSEC-2020-0059`. - ## 0.5.1 - 2020-11-05 + - Fix `allow_any_header` method, now set the correct field. [#121] [#121]: https://github.com/actix/actix-extras/pull/121 - ## 0.5.0 - 2020-10-19 + - Disallow `*` in `Cors::allowed_origin`. [#114]. - Hide `CorsMiddleware` from docs. [#118]. - `CorsFactory` is removed. [#119] @@ -131,40 +132,40 @@ [#119]: https://github.com/actix/actix-extras/pull/119 [#120]: https://github.com/actix/actix-extras/pull/120 - ## 0.4.1 - 2020-10-07 + - Allow closures to be used with `allowed_origin_fn`. [#110] [#110]: https://github.com/actix/actix-extras/pull/110 - ## 0.4.0 - 2020-09-27 + - Implement `allowed_origin_fn` builder method. [#93] - Use `TryInto` instead of `TryFrom` where applicable. [#106] [#93]: https://github.com/actix/actix-extras/pull/93 [#106]: https://github.com/actix/actix-extras/pull/106 - ## 0.3.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0. - Implement the Debug trait on all public types. - ## 0.3.0-alpha.1 - 2020-03-11 + - Minimize `futures-*` dependencies - Update `actix-web` dependency to 3.0.0-alpha.1 - ## 0.2.0 - 2019-12-20 + - Release - ## 0.2.0-alpha.3 - 2019-12-07 + - Migrate to actix-web 2.0.0 - Bump `derive_more` crate version to 0.99.0 - ## 0.1.0 - 2019-06-15 + - Move cors middleware to separate crate diff --git a/actix-identity/CHANGES.md b/actix-identity/CHANGES.md index d53068e22..1f7c9538d 100644 --- a/actix-identity/CHANGES.md +++ b/actix-identity/CHANGES.md @@ -1,22 +1,23 @@ # Changes ## Unreleased - 2022-xx-xx + - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. - ## 0.5.2 - 2022-07-19 + - Fix visit deadline. [#263] [#263]: https://github.com/actix/actix-extras/pull/263 - ## 0.5.1 - 2022-07-11 + - Remove unnecessary dependencies. [#259] [#259]: https://github.com/actix/actix-extras/pull/259 - ## 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` 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! @@ -29,9 +30,9 @@ Changes: - `IdentityService`, `IdentityPolicy` and `CookieIdentityPolicy` have been replaced by `IdentityMiddleware`. [#246] - Rename `RequestIdentity` trait to `IdentityExt`. [#246] - Trying to extract an `Identity` for an unauthenticated user will return a `401 Unauthorized` response to the client. Extract an `Option` or a `Result` if you need to handle cases where requests may or may not be authenticated. [#246] - + Example: - + ```rust use actix_web::{http::header::LOCATION, get, HttpResponse, Responder}; use actix_identity::Identity; @@ -51,57 +52,57 @@ Changes: [#246]: https://github.com/actix/actix-extras/pull/246 - ## 0.4.0 - 2022-03-01 + - Update `actix-web` dependency to `4`. - ## 0.4.0-beta.9 - 2022-02-07 + - Relax body type bounds on middleware impl. [#223] - Update `actix-web` dependency to `4.0.0-rc.1`. [#223]: https://github.com/actix/actix-extras/pull/223 - ## 0.4.0-beta.8 - 2022-01-21 + - No significant changes since `0.4.0-beta.7`. - ## 0.4.0-beta.7 - 2021-12-29 + - Update `actix-web` dependency to `4.0.0.beta-18`. [#218] - Minimum supported Rust version (MSRV) is now 1.54. [#218]: https://github.com/actix/actix-extras/pull/218 - ## 0.4.0-beta.6 - 2021-12-18 + - Update `actix-web` dependency to `4.0.0.beta-15`. [#216] [#216]: https://github.com/actix/actix-extras/pull/216 - ## 0.4.0-beta.5 - 2021-12-12 + - Update `actix-web` dependency to `4.0.0.beta-14`. [#209] [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.4.0-beta.4 - 2021-11-22 + - No significant changes since `0.4.0-beta.3`. - ## 0.4.0-beta.3 - 2021-10-21 + - Update `actix-web` dependency to v4.0.0-beta.10. [#203] - Minimum supported Rust version (MSRV) is now 1.52. [#203]: https://github.com/actix/actix-extras/pull/203 - ## 0.4.0-beta.2 - 2021-06-27 + - No notable changes. - ## 0.4.0-beta.1 - 2021-04-02 + - Rename `CookieIdentityPolicy::{max_age => max_age_secs}`. [#168] - Rename `CookieIdentityPolicy::{max_age_time => max_age}`. [#168] - Update `actix-web` dependency to 4.0.0 beta. @@ -109,31 +110,31 @@ Changes: [#168]: https://github.com/actix/actix-extras/pull/168 - ## 0.3.1 - 2020-09-20 + - Add method to set `HttpOnly` flag on cookie identity. [#102] [#102]: https://github.com/actix/actix-extras/pull/102 - ## 0.3.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0. - ## 0.3.0-alpha.1 - 2020-03-14 + - Update the `time` dependency to 0.2.7 - Update the `actix-web` dependency to 3.0.0-alpha.1 - Minimize `futures` dependency - ## 0.2.1 - 2020-01-10 + - Fix panic with already borrowed: BorrowMutError #1263 - ## 0.2.0 - 2019-12-20 + - Use actix-web 2.0 - ## 0.1.0 - 2019-06-xx + - Move identity middleware to separate crate diff --git a/actix-limitation/CHANGES.md b/actix-limitation/CHANGES.md index 6fc0a163f..3b8ad8458 100644 --- a/actix-limitation/CHANGES.md +++ b/actix-limitation/CHANGES.md @@ -2,28 +2,28 @@ ## Unreleased - 2022-xx-xx - ## 0.4.0 - 2022-09-10 + - Add `Builder::key_by` for setting a custom rate limit key function. - Implement `Default` for `RateLimiter`. - `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`. - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. - ## 0.3.0 - 2022-07-11 + - `Limiter::builder` now takes an `impl Into`. - Removed lifetime from `Builder`. - Updated `actix-session` dependency to `0.7`. - ## 0.2.0 - 2022-03-22 + - Update Actix Web dependency to v4 ecosystem. - Update Tokio dependencies to v1 ecosystem. - Rename `Limiter::{build => builder}()`. - Rename `Builder::{finish => build}()`. - Exceeding the rate limit now returns a 429 Too Many Requests response. - ## 0.1.4 - 2022-03-18 + - Adopted into @actix org from . diff --git a/actix-protobuf/CHANGES.md b/actix-protobuf/CHANGES.md index ea75f097c..b8549593a 100644 --- a/actix-protobuf/CHANGES.md +++ b/actix-protobuf/CHANGES.md @@ -1,39 +1,40 @@ # Changes ## Unreleased - 2022-xx-xx + - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. - ## 0.9.0 - 2022-08-24 + - Added `application/x-protobuf` as an acceptable header. - Updated `prost` dependency to `0.11`. - ## 0.8.0 - 2022-06-25 + - Update `prost` dependency to `0.10`. - Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency. - ## 0.7.0 - 2022-03-01 + - Update `actix-web` dependency to `4`. - ## 0.7.0-beta.5 - 2022-02-03 + - Update `prost` dependency to `0.9`. - Update `actix-web` dependency to `4.0.0-rc.1`. - ## 0.7.0-beta.4 - 2021-12-29 + - Minimum supported Rust version (MSRV) is now 1.54. - ## 0.7.0-beta.3 - 2021-12-12 + - Update `actix-web` dependency to `4.0.0.beta-14`. [#209] [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.7.0-beta.2 - 2021-10-21 + - Bump `prost` version to 0.8. [#197] - Update `actix-web` dependency to v4.0.0-beta.10. [#203] - Minimum supported Rust version (MSRV) is now 1.52. @@ -41,52 +42,52 @@ [#197]: https://github.com/actix/actix-extras/pull/197 [#203]: https://github.com/actix/actix-extras/pull/203 - ## 0.7.0-beta.1 - 2021-06-27 + - Bump `prost` version to 0.7. [#144] - Update `actix-web` dependency to 4.0.0 beta. - Minimum supported Rust version (MSRV) is now 1.46.0. [#144]: https://github.com/actix/actix-extras/pull/144 - ## 0.6.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0 to use `matches!` macro. - ## 0.6.0-alpha.1 - 2020-07-06 + - Update `actix-web` to 3.0.0-alpha.3 - Minimum supported Rust version(MSRV) is now 1.40.0. - Minimize `futures` dependency - ## 0.5.1 - 2019-02-17 + - Move repository to actix-extras - ## 0.5.0 - 2019-01-24 + - Migrate to actix-web 2.0.0 and std::future - Update prost to 0.6 - Update bytes to 0.5 - ## 0.4.1 - 2019-10-03 + - Upgrade prost and prost-derive to 0.5.0 - ## 0.4.0 - 2019-05-18 + - Upgrade to actix-web 1.0.0-rc - Removed `protobuf` method for `HttpRequest` (use `ProtoBuf` extractor instead) - ## 0.3.0 - 2019-03-07 + - Upgrade to actix-web 0.7.18 - ## 0.2.0 - 2018-04-10 + - Provide protobuf extractor - ## 0.1.0 - 2018-03-21 + - First release diff --git a/actix-redis/CHANGES.md b/actix-redis/CHANGES.md index 5b3e84599..6ef8aac47 100644 --- a/actix-redis/CHANGES.md +++ b/actix-redis/CHANGES.md @@ -1,83 +1,86 @@ # Changes ## Unreleased - 2022-xx-xx + - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. - ## 0.12.0 - 2022-07-09 + - Update `actix` dependency to `0.13`. - Update `redis-async` dependency to `0.13`. - Update `tokio-util` dependency to `0.7`. - Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency. - ## 0.11.0 - 2022-03-15 + ### Removed + - `RedisSession` has been removed. Check out `RedisActorSessionStore` in `actix-session` for a session store backed by Redis using `actix-redis`. [#212] ### Changed + - Update `redis-async` dependency to `0.12`. [#212] [#212]: https://github.com/actix/actix-extras/pull/212 - ## 0.10.0 - 2022-03-01 + - Update `actix-web` dependency to `4`. - ## 0.10.0-beta.6 - 2022-02-07 + - Update `actix-web` dependency to `4.0.0-rc.1`. - ## 0.10.0-beta.5 - 2021-12-29 + - Update `actix-web` dependency to `4.0.0.beta-18`. [#218] - Minimum supported Rust version (MSRV) is now 1.54. [#218]: https://github.com/actix/actix-extras/pull/218 - ## 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] - Update `actix-web` dependency to `4.0.0.beta-14`. [#209] [#207]: https://github.com/actix/actix-extras/pull/207 [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.10.0-beta.3 - 2021-10-21 + - Update `actix-web` dependency to v4.0.0-beta.10. [#203] - Minimum supported Rust version (MSRV) is now 1.52. [#203]: https://github.com/actix/actix-extras/pull/203 - ## 0.10.0-beta.2 - 2021-06-27 + - No notable changes. - ## 0.10.0-beta.1 - 2021-04-02 + - Update `actix-web` dependency to 4.0.0 beta. - Minimum supported Rust version (MSRV) is now 1.46.0. - ## 0.9.2 - 2021-03-21 + - Implement `std::error::Error` for `Error` [#135] - Allow the removal of `Max-Age` for session-only cookies. [#161] [#135]: https://github.com/actix/actix-extras/pull/135 [#161]: https://github.com/actix/actix-extras/pull/161 - ## 0.9.1 - 2020-09-12 + - Enforce minimum redis-async version of 0.6.3 to workaround breaking patch change. - ## 0.9.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimize `futures` dependency. - ## 0.9.0-alpha.2 - 2020-05-17 + - Add `cookie_http_only` functionality to RedisSession builder, setting this to false allows JavaScript to access cookies. Defaults to true. - Change type of parameter of ttl method to u32. @@ -85,69 +88,69 @@ - Update `tokio-util` to 0.3 - Minimum supported Rust version(MSRV) is now 1.40.0. - ## 0.9.0-alpha.1 - 2020-03-28 + - Update `actix` to 0.10.0-alpha.2 - Update `actix-session` to 0.4.0-alpha.1 - Update `actix-web` to 3.0.0-alpha.1 - Update `time` to 0.2.9 - ## 0.8.1 - 2020-02-18 + - Move `env_logger` dependency to dev-dependencies and update to 0.7 - Update `actix_web` to 2.0.0 from 2.0.0-rc - Move repository to actix-extras - ## 0.8.0 - 2019-12-20 + - Release - ## 0.8.0-alpha.1 - 2019-12-16 + - Migrate to actix 0.9 - ## 0.7.0 - 2019-09-25 + - added cache_keygen functionality to RedisSession builder, enabling support for customizable cache key creation - ## 0.6.1 - 2019-07-19 + - remove ClonableService usage - added comprehensive tests for session workflow - ## 0.6.0 - 2019-07-08 + - actix-web 1.0.0 compatibility - Upgraded logic that evaluates session state, including new SessionStatus field, - and introduced ``session.renew()`` and ``session.purge()`` functionality. - Use ``renew()`` to cycle the session key at successful login. ``renew()`` keeps a + and introduced `session.renew()` and `session.purge()` functionality. + 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. - 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. - ## 0.5.1 - 2018-08-02 + - Use cookie 0.11 - ## 0.5.0 - 2018-07-21 + - Session cookie configuration - Actix/Actix-web 0.7 compatibility - ## 0.4.0 - 2018-05-08 + - Actix web 0.6 compatibility - ## 0.3.0 - 2018-04-10 + - Actix web 0.5 compatibility - ## 0.2.0 - 2018-02-28 + - Use resolver actor from actix - Use actix web 0.5 - ## 0.1.0 - 2018-01-23 + - First release diff --git a/actix-session/CHANGES.md b/actix-session/CHANGES.md index 44da7fe39..b7702f9cd 100644 --- a/actix-session/CHANGES.md +++ b/actix-session/CHANGES.md @@ -1,24 +1,26 @@ # Changes ## Unreleased - 2021-xx-xx + - Set secure attribute when adding a session removal cookie. [#300] [#300]: https://github.com/actix/actix-extras/pull/300 ## 0.7.2 - 2022-09-11 + - Set SameSite attribute when adding a session removal cookie. [#284] - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. [#284]: https://github.com/actix/actix-extras/pull/284 - ## 0.7.1 - 2022-07-24 + - Fix interaction between session state changes and renewal. [#265] [#265]: https://github.com/actix/actix-extras/pull/265 - ## 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] - `SessionLength` is now called `SessionLifecycle`. [#233] - `SessionLength::Predetermined` is now called `SessionLifecycle::PersistentSession`. [#233] @@ -34,8 +36,8 @@ [#233]: https://github.com/actix/actix-extras/pull/233 - ## 0.6.2 - 2022-03-25 + - Implement `SessionExt` for `GuardContext`. [#234] - `RedisSessionStore` will prevent connection timeouts from causing user-visible errors. [#235] - 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 [#235]: https://github.com/actix/actix-extras/pull/235 - ## 0.6.1 - 2022-03-21 + - No significant changes since `0.6.0`. - ## 0.6.0 - 2022-03-15 + ### Added + - `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] - `RedisActorSessionStore`, a Redis-based backend to store session state powered by `actix-redis`. [#212] @@ -59,37 +62,39 @@ - Implement `SessionExt` for `ServiceResponse`. [#212] ### Changed + - Rename `UserSession` to `SessionExt`. [#212] ### Removed + - `CookieSession`; replaced with `CookieSessionStore`, a storage backend for `SessionMiddleware`. [#212] - `Session::set_session`; use `Session::insert` to modify the session state. [#212] [#212]: https://github.com/actix/actix-extras/pull/212 - ## 0.5.0 - 2022-03-01 + - Update `actix-web` dependency to `4`. - ## 0.5.0-beta.8 - 2022-02-07 + - Update `actix-web` dependency to `4.0.0-rc.1`. - ## 0.5.0-beta.7 - 2021-12-29 + - Update `actix-web` dependency to `4.0.0.beta-18`. [#218] - Minimum supported Rust version (MSRV) is now 1.54. [#218]: https://github.com/actix/actix-extras/pull/218 - ## 0.5.0-beta.6 - 2021-12-18 + - Update `actix-web` dependency to `4.0.0.beta-15`. [#216] [#216]: https://github.com/actix/actix-extras/pull/216 - ## 0.5.0-beta.5 - 2021-12-12 + - Update `actix-web` dependency to `4.0.0.beta-14`. [#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] @@ -97,12 +102,12 @@ [#207]: https://github.com/actix/actix-extras/pull/207 [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.5.0-beta.4 - 2021-11-22 + - No significant changes since `0.5.0-beta.3`. - ## 0.5.0-beta.3 - 2021-10-21 + - Impl `Clone` for `CookieSession`. [#201] - Update `actix-web` dependency to v4.0.0-beta.10. [#203] - Minimum supported Rust version (MSRV) is now 1.52. @@ -110,12 +115,12 @@ [#201]: https://github.com/actix/actix-extras/pull/201 [#203]: https://github.com/actix/actix-extras/pull/203 - ## 0.5.0-beta.2 - 2021-06-27 + - No notable changes. - ## 0.5.0-beta.1 - 2021-04-02 + - Add `Session::entries`. [#170] - Rename `Session::{set => insert}` to match standard hash map naming. [#170] - Return values from `Session::remove`. [#170] @@ -127,21 +132,21 @@ [#170]: https://github.com/actix/actix-extras/pull/170 - ## 0.4.1 - 2021-03-21 + - `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] [#105]: https://github.com/actix/actix-extras/pull/105 [#129]: https://github.com/actix/actix-extras/pull/129 - ## 0.4.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0. - ## 0.4.0-alpha.1 - 2020-03-14 + - Update the `time` dependency to 0.2.7 - Update the `actix-web` dependency to 3.0.0-alpha.1 - Long lasting auto-prolonged session [#1292] @@ -149,65 +154,65 @@ [#1292]: https://github.com/actix/actix-web/pull/1292 - ## 0.3.0 - 2019-12-20 + - Release - ## 0.3.0-alpha.4 - 2019-12-xx + - Allow access to sessions also from not mutable references to the request - ## 0.3.0-alpha.3 - 2019-12-xx + - Add access to the session from RequestHead for use of session from guard methods - Migrate to `std::future` - Migrate to `actix-web` 2.0 - ## 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). - 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). - ## 0.1.1 - 2019-06-03 + - Fix optional cookie session support - ## 0.1.0 - 2019-05-18 + - Use actix-web 1.0.0-rc - ## 0.1.0-beta.4 - 2019-05-12 + - Use actix-web 1.0.0-beta.4 - ## 0.1.0-beta.2 - 2019-04-28 + - Add helper trait `UserSession` which allows to get session for ServiceRequest and HttpRequest - ## 0.1.0-beta.1 - 2019-04-20 + - Update actix-web to beta.1 - `CookieSession::max_age()` accepts value in seconds - ## 0.1.0-alpha.6 - 2019-04-14 + - Update actix-web alpha.6 - ## 0.1.0-alpha.4 - 2019-04-08 -- Update actix-web +- Update actix-web ## 0.1.0-alpha.3 - 2019-04-02 + - Update actix-web - ## 0.1.0-alpha.2 - 2019-03-29 + - Update actix-web - Use new feature name for secure cookies - ## 0.1.0-alpha.1 - 2019-03-28 + - Initial impl diff --git a/actix-web-httpauth/CHANGES.md b/actix-web-httpauth/CHANGES.md index 56b69d72e..9c8885118 100644 --- a/actix-web-httpauth/CHANGES.md +++ b/actix-web-httpauth/CHANGES.md @@ -1,10 +1,11 @@ # Changes ## Unreleased - 2022-xx-xx + - Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency. - ## 0.8.0 - 2022-07-21 + - Removed `AuthExtractor` trait; implement `FromRequest` for your custom auth types. [#264] - `BasicAuth::user_id()` now returns `&str`. [#249] - `BasicAuth::password()` now returns `Option<&str>`. [#249] @@ -15,75 +16,75 @@ [#249]: https://github.com/actix/actix-extras/pull/249 [#264]: https://github.com/actix/actix-extras/pull/264 - ## 0.7.0 - 2022-07-19 + - Auth validator functions now need to return `(Error, ServiceRequest)` in error cases. [#260] - Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency. [#260]: https://github.com/actix/actix-extras/pull/260 - ## 0.6.0 - 2022-03-01 + - Update `actix-web` dependency to `4`. - ## 0.6.0-beta.8 - 2022-02-07 + - Relax body type bounds on middleware impl. [#223] - Update `actix-web` dependency to `4.0.0-rc.1`. [#223]: https://github.com/actix/actix-extras/pull/223 - ## 0.6.0-beta.7 - 2021-12-29 + - Minimum supported Rust version (MSRV) is now 1.54. - ## 0.6.0-beta.6 - 2021-12-18 + - Update `actix-web` dependency to `4.0.0.beta-15`. [#216] [#216]: https://github.com/actix/actix-extras/pull/216 - ## 0.6.0-beta.5 - 2021-12-12 + - Update `actix-web` dependency to `4.0.0.beta-14`. [#209] [#209]: https://github.com/actix/actix-extras/pull/209 - ## 0.6.0-beta.4 - 2021-11-22 + - impl `AuthExtractor` trait for `Option` and `Result`. [#205] [#205]: https://github.com/actix/actix-extras/pull/205 - ## 0.6.0-beta.3 - 2021-10-21 + - Update `actix-web` dependency to v4.0.0-beta.10. [#203] - Minimum supported Rust version (MSRV) is now 1.52. [#203]: https://github.com/actix/actix-extras/pull/203 - ## 0.6.0-beta.2 - 2021-06-27 + - No notable changes. - ## 0.6.0-beta.1 - 2021-04-02 + - Update `actix-web` dependency to 4.0.0 beta. - Minimum supported Rust version (MSRV) is now 1.46.0. - ## 0.5.1 - 2021-03-21 + - Correct error handling when extracting auth details from request. [#128] [#128]: https://github.com/actix/actix-extras/pull/128 - ## 0.5.0 - 2020-09-11 + - Update `actix-web` dependency to 3.0.0. - Minimum supported Rust version (MSRV) is now 1.42.0. - ## 0.4.2 - 2020-07-08 + - Update the `base64` dependency to 0.12 - AuthenticationError's status code is preserved when converting to a ResponseError - Minimize `futures` dependency @@ -91,46 +92,46 @@ [#69]: https://github.com/actix/actix-web-httpauth/pull/69 - ## 0.4.1 - 2020-02-19 + - Move repository to actix-extras - ## 0.4.0 - 2020-01-14 + - Depends on `actix-web = "^2.0"`, `actix-service = "^1.0"`, and `futures = "^0.3"` version now ([#14]) - Depends on `bytes = "^0.5"` and `base64 = "^0.11"` now [#14]: https://github.com/actix/actix-web-httpauth/pull/14 - ## 0.3.2 - 2019-07-19 + - 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 + - Multiple calls to the middleware would result in panic - ## 0.3.0 - 2019-06-05 + - Crate edition was changed to `2018`, same as `actix-web` - Depends on `actix-web = "^1.0"` version now - `WWWAuthenticate` header struct was renamed into `WwwAuthenticate` - Challenges and extractor configs are now operating with `Cow<'static, str>` types instead of `String` types - ## 0.2.0 - 2019-04-26 + - `actix-web` dependency is used without default features now [#6] - `base64` dependency version was bumped to `0.10` [#6]: https://github.com/actix/actix-web-httpauth/pull/6 - ## 0.1.0 - 2018-09-08 + - Update to `actix-web = "0.7"` version - ## 0.0.4 - 2018-07-01 + - Fix possible panic at `IntoHeaderValue` implementation for `headers::authorization::Basic` - Fix possible panic at `headers::www_authenticate::challenge::bearer::Bearer::to_bytes` call