Skip to content

Commit 5f77b7a

Browse files
committed
mark 0.12.2
1 parent ea29bbc commit 5f77b7a

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Unreleased
22

3+
# 0.12.2
4+
5+
- Ensure `set_expiry` mutates `Max-Age`. #191
6+
7+
This addresses a bug where using `set_expiry` on a session with no initial expiry time would not add the Max-age attribute to the cookie leading to an inconsitency between the cookie and the database.
8+
39
# 0.12.1
410

511
**Important Security Update**

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [".", "memory-store", "tower-sessions-core"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.12.1"
6+
version = "0.12.2"
77
edition = "2021"
88
authors = ["Max Countryman <[email protected]>"]
99
license = "MIT"
@@ -40,10 +40,10 @@ signed = ["tower-cookies/signed"]
4040
private = ["tower-cookies/private"]
4141

4242
[workspace.dependencies]
43-
tower-sessions = { version = "=0.12.1", path = ".", default-features = false }
43+
tower-sessions = { version = "=0.12.2", path = ".", default-features = false }
4444

45-
tower-sessions-core = { version = "=0.12.1", path = "tower-sessions-core", default-features = false }
46-
tower-sessions-memory-store = { version = "=0.12.1", path = "memory-store" }
45+
tower-sessions-core = { version = "=0.12.2", path = "tower-sessions-core", default-features = false }
46+
tower-sessions-memory-store = { version = "=0.12.2", path = "memory-store" }
4747

4848
async-trait = "0.1.74"
4949
parking_lot = { version = "0.12.1", features = ["serde"] }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ To use the crate in your project, add the following to your `Cargo.toml` file:
8282

8383
```toml
8484
[dependencies]
85-
tower-sessions = "0.12.1"
85+
tower-sessions = "0.12.2"
8686
```
8787

8888
## 🤸 Usage

0 commit comments

Comments
 (0)