1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-29 18:40:51 +00:00

update changes for actix-session

This commit is contained in:
Nikolay Kim 2019-12-06 11:24:25 +06:00
parent fbead137f0
commit 7dd676439c
2 changed files with 16 additions and 9 deletions

View file

@ -1,12 +1,19 @@
# Changes
## [0.3.0-alpha.3] - 2019-12-xx
* Add access to the session from RequestHead for use of session from guard methods
* Migrate to `std::future`
* Migrate to `actix-web` 2.0
## [0.2.0] - 2019-07-08
* Enhanced ``actix-session`` to facilitate state changes. Use ``Session.renew()``
at successful login to cycle a session (new key/cookie but keeps state).
Use ``Session.purge()`` at logout to invalid a session cookie (and remove
from redis cache, if applicable).
* Add access to the session from RequestHead for use of session from guard methods
* Enhanced ``actix-session`` to facilitate state changes. Use ``Session.renew()``
at successful login to cycle a session (new key/cookie but keeps state).
Use ``Session.purge()`` at logout to invalid a session cookie (and remove
from redis cache, if applicable).
## [0.1.1] - 2019-06-03

View file

@ -1,6 +1,6 @@
[package]
name = "actix-session"
version = "0.3.0-alpha.2"
version = "0.3.0-alpha.3"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Session for actix web framework."
readme = "README.md"
@ -24,8 +24,8 @@ default = ["cookie-session"]
cookie-session = ["actix-web/secure-cookies"]
[dependencies]
actix-web = "2.0.0-alpha.2"
actix-service = "1.0.0-alpha.2"
actix-web = "2.0.0-alpha.3"
actix-service = "1.0.0-alpha.3"
bytes = "0.5.2"
derive_more = "0.99.2"
futures = "0.3.1"
@ -34,4 +34,4 @@ serde_json = "1.0"
time = "0.1.42"
[dev-dependencies]
actix-rt = "1.0.0-alpha.2"
actix-rt = "1.0.0-alpha.3"