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.6.0

This commit is contained in:
Rob Ede 2022-03-15 16:29:37 +00:00
parent 2d63973654
commit 010a905dca
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
4 changed files with 17 additions and 15 deletions

View File

@ -2,21 +2,23 @@
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
## 0.6.0 - 2022-03-15
### Added ### Added
- `SessionMiddleware`, a middleware to provide support for saving/updating/deleting session state against a pluggable storage backend (see `SessionStore` trait) [#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] - `CookieSessionStore`, a cookie-based backend to store session state. [#212]
- `RedisActorSessionStore`, a Redis-based backend to store session state powered by `actix-redis` [#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] - `RedisSessionStore`, a Redis-based backend to store session state powered by `redis-rs`. [#212]
- Add TLS support for Redis via `RedisSessionStore` [#212] - Add TLS support for Redis via `RedisSessionStore`. [#212]
- Implement `SessionExt` for `ServiceResponse` [#212] - Implement `SessionExt` for `ServiceResponse`. [#212]
### Changed ### Changed
- Rename `UserSession` to `SessionExt` [#212] - Rename `UserSession` to `SessionExt`. [#212]
### Removed ### Removed
- `CookieSession` has been removed in favour of `CookieSessionStore`, a storage backend for `SessionMiddleware` [#212] - `CookieSession`; replaced with `CookieSessionStore`, a storage backend for `SessionMiddleware`. [#212]
- `Session::set_session` has been removed. Use `Session::insert` to modify the session state. [#212] - `Session::set_session`; use `Session::insert` to modify the session state. [#212]
[#212]: https://github.com/actix/actix-extras/pull/212 [#212]: https://github.com/actix/actix-extras/pull/212

View File

@ -1,11 +1,11 @@
[package] [package]
name = "actix-session" name = "actix-session"
version = "0.5.0" version = "0.6.0"
authors = [ authors = [
"Nikolay Kim <fafhrd91@gmail.com>", "Nikolay Kim <fafhrd91@gmail.com>",
"Luca Palmieri <rust@lpalmieri.com>", "Luca Palmieri <rust@lpalmieri.com>",
] ]
description = "Sessions for Actix Web" description = "Session management for Actix Web"
keywords = ["http", "web", "framework", "async", "session"] keywords = ["http", "web", "framework", "async", "session"]
homepage = "https://actix.rs" homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-extras.git" repository = "https://github.com/actix/actix-extras.git"

View File

@ -3,9 +3,9 @@
> Session management for Actix Web applications. > Session management for Actix Web applications.
[![crates.io](https://img.shields.io/crates/v/actix-session?label=latest)](https://crates.io/crates/actix-session) [![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) ![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 ## Documentation & Resources

View File

@ -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 //! 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 //! parses its content, performs some processing and returns a response. The outcome is only