1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

prepare actix-session release 0.7.0

This commit is contained in:
Rob Ede 2022-07-09 19:03:28 +01:00
parent b1cea64795
commit c52ea7a5d2
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
5 changed files with 9 additions and 7 deletions

View File

@ -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"] }

View File

@ -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 }

View File

@ -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]

View File

@ -1,6 +1,6 @@
[package]
name = "actix-session"
version = "0.6.2"
version = "0.7.0"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Luca Palmieri <rust@lpalmieri.com>",

View File

@ -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