From 010a905dca1d460c4d76c2bfe1ef72012c07c32f Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 15 Mar 2022 16:29:37 +0000 Subject: [PATCH] prepare actix-session release 0.6.0 --- actix-session/CHANGES.md | 22 ++++++++++++---------- actix-session/Cargo.toml | 4 ++-- actix-session/README.md | 4 ++-- actix-session/src/lib.rs | 2 +- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/actix-session/CHANGES.md b/actix-session/CHANGES.md index 76a4bdd2f..22155699c 100644 --- a/actix-session/CHANGES.md +++ b/actix-session/CHANGES.md @@ -2,21 +2,23 @@ ## Unreleased - 2021-xx-xx + +## 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] -- `RedisSessionStore`, a Redis-based backend to store session state powered by `redis-rs` [#212] -- Add TLS support for Redis via `RedisSessionStore` [#212] -- Implement `SessionExt` for `ServiceResponse` [#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] +- `RedisActorSessionStore`, a Redis-based backend to store session state powered by `actix-redis`. [#212] +- `RedisSessionStore`, a Redis-based backend to store session state powered by `redis-rs`. [#212] +- Add TLS support for Redis via `RedisSessionStore`. [#212] +- Implement `SessionExt` for `ServiceResponse`. [#212] ### Changed -- Rename `UserSession` to `SessionExt` [#212] +- Rename `UserSession` to `SessionExt`. [#212] ### Removed -- `CookieSession` has been removed in favour of `CookieSessionStore`, a storage backend for `SessionMiddleware` [#212] -- `Session::set_session` has been removed. Use `Session::insert` to modify the session state. [#212] - +- `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 diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index b6841a3aa..dfebec723 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "actix-session" -version = "0.5.0" +version = "0.6.0" authors = [ "Nikolay Kim ", "Luca Palmieri ", ] -description = "Sessions for Actix Web" +description = "Session management for Actix Web" keywords = ["http", "web", "framework", "async", "session"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-extras.git" diff --git a/actix-session/README.md b/actix-session/README.md index d21f9f623..88323be39 100644 --- a/actix-session/README.md +++ b/actix-session/README.md @@ -3,9 +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.5.0)](https://docs.rs/actix-session/0.5.0) +[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.6.0)](https://docs.rs/actix-session/0.6.0) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-session) -[![Dependency Status](https://deps.rs/crate/actix-session/0.5.0/status.svg)](https://deps.rs/crate/actix-session/0.5.0) +[![Dependency Status](https://deps.rs/crate/actix-session/0.6.0/status.svg)](https://deps.rs/crate/actix-session/0.6.0) ## Documentation & Resources diff --git a/actix-session/src/lib.rs b/actix-session/src/lib.rs index b5ac90486..4ae8c7c12 100644 --- a/actix-session/src/lib.rs +++ b/actix-session/src/lib.rs @@ -1,4 +1,4 @@ -//! Session management for Actix Web +//! Session management for Actix Web. //! //! The HTTP protocol, at a first glance, is stateless: the client sends a request, the server //! parses its content, performs some processing and returns a response. The outcome is only