mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
f4bcebdecd
* allow user to set the cookie HttpOnly policy for the redis session Signed-off-by: Bart Willems <bwillems@protonmail.com>
89 lines
1.7 KiB
Markdown
89 lines
1.7 KiB
Markdown
# Changes
|
|
|
|
## [Unreleased]
|
|
|
|
* Added `cookie_http_only` functionality to RedisSession builder, setting this
|
|
to false allows JavaScript to access cookies. Defaults to true.
|
|
|
|
## [0.9.0-alpha.1]
|
|
|
|
* Update `actix` to 0.10.0-alpha.2
|
|
|
|
* Update `actix-session` to 0.4.0-alpha.1
|
|
|
|
* Update `actix-web` to 3.0.0-alpha.1
|
|
|
|
* Update `time` to 0.2.9
|
|
|
|
## [0.8.1] 2020-02-18
|
|
|
|
* Move `env_logger` dependency to dev-dependencies and update to 0.7
|
|
|
|
* Update `actix_web` to 2.0.0 from 2.0.0-rc
|
|
|
|
* Move repository to actix-extras
|
|
|
|
## [0.8.0] 2019-12-20
|
|
|
|
* Release
|
|
|
|
## [0.8.0-alpha.1] 2019-12-16
|
|
|
|
* Migrate to actix 0.9
|
|
|
|
## 0.7 (2019-09-25)
|
|
|
|
* added cache_keygen functionality to RedisSession builder, enabling support for
|
|
customizable cache key creation
|
|
|
|
|
|
## 0.6.1 (2019-07-19)
|
|
|
|
* remove ClonableService usage
|
|
|
|
* added comprehensive tests for session workflow
|
|
|
|
|
|
## 0.6.0 (2019-07-08)
|
|
|
|
* actix-web 1.0.0 compatibility
|
|
|
|
* Upgraded logic that evaluates session state, including new SessionStatus field,
|
|
and introduced ``session.renew()`` and ``session.purge()`` functionality.
|
|
Use ``renew()`` to cycle the session key at successful login. ``renew()`` keeps a
|
|
session's state while replacing the old cookie and session key with new ones.
|
|
Use ``purge()`` at logout to invalidate the session cookie and remove the
|
|
session's redis cache entry.
|
|
|
|
|
|
|
|
## 0.5.1 (2018-08-02)
|
|
|
|
* Use cookie 0.11
|
|
|
|
|
|
## 0.5.0 (2018-07-21)
|
|
|
|
* Session cookie configuration
|
|
|
|
* Actix/Actix-web 0.7 compatibility
|
|
|
|
|
|
## 0.4.0 (2018-05-08)
|
|
|
|
* Actix web 0.6 compatibility
|
|
|
|
## 0.3.0 (2018-04-10)
|
|
|
|
* Actix web 0.5 compatibility
|
|
|
|
## 0.2.0 (2018-02-28)
|
|
|
|
* Use resolver actor from actix
|
|
|
|
* Use actix web 0.5
|
|
|
|
## 0.1.0 (2018-01-23)
|
|
|
|
* First release
|