Skip to content

Commit bf41b4c

Browse files
committed
prepare actix-session release 0.6.1
1 parent 449abd6 commit bf41b4c

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

actix-session/CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Unreleased - 2021-xx-xx
44

55

6+
## 0.6.1 - 2022-03-21
7+
- No significant changes since `0.6.0`.
8+
9+
610
## 0.6.0 - 2022-03-15
711
### Added
812
- `SessionMiddleware`, a middleware to provide support for saving/updating/deleting session state against a pluggable storage backend (see `SessionStore` trait). [#212]

actix-session/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-session"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = [
55
"Nikolay Kim <[email protected]>",
66
"Luca Palmieri <[email protected]>",

actix-session/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
> Session management for Actix Web applications.
44
55
[![crates.io](https://img.shields.io/crates/v/actix-session?label=latest)](https://crates.io/crates/actix-session)
6-
[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.6.0)](https://docs.rs/actix-session/0.6.0)
6+
[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.6.1)](https://docs.rs/actix-session/0.6.1)
77
![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-session)
8-
[![Dependency Status](https://deps.rs/crate/actix-session/0.6.0/status.svg)](https://deps.rs/crate/actix-session/0.6.0)
8+
[![Dependency Status](https://deps.rs/crate/actix-session/0.6.1/status.svg)](https://deps.rs/crate/actix-session/0.6.1)
99

1010

1111
## Documentation & Resources

actix-session/src/lib.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
//! influenced by the provided inputs (i.e. the request content) and whatever state the server
66
//! queries while performing its processing.
77
//!
8-
//! Stateless systems are easier to reason about, but they are not quite as powerful as we need them to
9-
//! be - e.g. how do you authenticate a user? The user would be forced to authenticate **for every
10-
//! single request**. That is, for example, how 'Basic' Authentication works. While it may work for
11-
//! a machine user (i.e. an API client), it is impractical for a person—you do not want a login
12-
//! prompt on every single page you navigate to!
8+
//! Stateless systems are easier to reason about, but they are not quite as powerful as we need them
9+
//! to be - e.g. how do you authenticate a user? The user would be forced to authenticate **for
10+
//! every single request**. That is, for example, how 'Basic' Authentication works. While it may
11+
//! work for a machine user (i.e. an API client), it is impractical for a person—you do not want a
12+
//! login prompt on every single page you navigate to!
1313
//!
1414
//! There is a solution - **sessions**. Using sessions the server can attach state to a set of
1515
//! requests coming from the same client. They are built on top of cookies - the server sets a

actix-session/src/middleware.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,14 @@ pub enum SessionLength {
190190
pub enum CookieContentSecurity {
191191
/// The cookie content is encrypted when using `CookieContentSecurity::Private`.
192192
///
193-
/// Encryption guarantees confidentiality and integrity: the client cannot
194-
/// tamper with the cookie content nor decode it, as long as the encryption key remains
195-
/// confidential.
193+
/// Encryption guarantees confidentiality and integrity: the client cannot tamper with the
194+
/// cookie content nor decode it, as long as the encryption key remains confidential.
196195
Private,
197196

198197
/// The cookie content is signed when using `CookieContentSecurity::Signed`.
199198
///
200-
/// Signing guarantees integrity, but it doesn't ensure confidentiality: the client
201-
/// cannot tamper with the cookie content, but they can read it.
199+
/// Signing guarantees integrity, but it doesn't ensure confidentiality: the client cannot
200+
/// tamper with the cookie content, but they can read it.
202201
Signed,
203202
}
204203

0 commit comments

Comments
 (0)