From c52ea7a5d2901bc0f154dafa2df3a6ca4135089c Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 9 Jul 2022 19:03:28 +0100 Subject: [PATCH] prepare actix-session release 0.7.0 --- actix-identity/Cargo.toml | 4 ++-- actix-limitation/Cargo.toml | 2 +- actix-session/CHANGES.md | 3 +++ actix-session/Cargo.toml | 2 +- actix-session/README.md | 5 ++--- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/actix-identity/Cargo.toml b/actix-identity/Cargo.toml index a6ca7690e..b0081715e 100644 --- a/actix-identity/Cargo.toml +++ b/actix-identity/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" [dependencies] actix-service = "2" -actix-session = "0.6.2" # update to 0.7 with release of -session +actix-session = "0.7" actix-utils = "3" actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies"] } @@ -33,6 +33,6 @@ tracing = { version = "0.1.30", default-features = false, features = ["log"] } [dev-dependencies] actix-http = "3" actix-web = { version = "4", default_features = false, features = ["macros", "cookies", "secure-cookies"] } -actix-session = { version = "0.6.2", features = ["redis-rs-session", "cookie-session"] } # update to 0.7 with release of -session +actix-session = { version = "0.7", features = ["redis-rs-session", "cookie-session"] } uuid = { version = "1", features = ["v4"] } reqwest = { version = "0.11", default_features = false, features = ["cookies", "json"] } diff --git a/actix-limitation/Cargo.toml b/actix-limitation/Cargo.toml index 912b7c161..64596fffc 100644 --- a/actix-limitation/Cargo.toml +++ b/actix-limitation/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0" edition = "2018" [dependencies] -actix-session = "0.5" +actix-session = "0.7" actix-utils = "3" actix-web = { version = "4", default-features = false } diff --git a/actix-session/CHANGES.md b/actix-session/CHANGES.md index 2f2391f01..3ebd19cbd 100644 --- a/actix-session/CHANGES.md +++ b/actix-session/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2021-xx-xx + + +## 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] diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index d5f1f1da3..2d4555f8d 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-session" -version = "0.6.2" +version = "0.7.0" authors = [ "Nikolay Kim ", "Luca Palmieri ", diff --git a/actix-session/README.md b/actix-session/README.md index dc771e6c2..c9aceceb9 100644 --- a/actix-session/README.md +++ b/actix-session/README.md @@ -3,10 +3,9 @@ > Session management for Actix Web applications. [![crates.io](https://img.shields.io/crates/v/actix-session?label=latest)](https://crates.io/crates/actix-session) -[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.6.2)](https://docs.rs/actix-session/0.6.2) +[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.7.0)](https://docs.rs/actix-session/0.7.0) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-session) -[![Dependency Status](https://deps.rs/crate/actix-session/0.6.2/status.svg)](https://deps.rs/crate/actix-session/0.6.2) - +[![Dependency Status](https://deps.rs/crate/actix-session/0.7.0/status.svg)](https://deps.rs/crate/actix-session/0.7.0) ## Documentation & Resources