Skip to content

Commit 52ac565

Browse files
authored
chore(*) release 3.0 (#92)
### Fixed - Lock releasing is a lot more robust now ### Added - Add idletime setting (thanks @Tieske), see `session.cookie.idletime` - Add support for Cookie prefixes `__Host-` and `__Secure-` on Cookie name (see: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-05#section-4.1.3) ### Changed - The whole codebase was refactored and simplified, especially implementing new storage adapters is now a lot easier - Redis and Memcached `spinlockwait` was changed from microseconds to milliseconds and default is set to `150` milliseconds, - Redis and Memcache will only release locks that current session instance holds - DSHM `session_dshm_store` was renamed to `session_dshm_region` - BASE64 encoding now strips the padding
1 parent 0a82227 commit 52ac565

File tree

17 files changed

+1586
-1209
lines changed

17 files changed

+1586
-1209
lines changed

Changes.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to `lua-resty-session` will be documented in this file.
44

5+
## [3.0] - 2020-03-27
6+
### Fixed
7+
- Lock releasing is a lot more robust now
8+
9+
### Added
10+
- Add idletime setting (thanks @Tieske), see `session.cookie.idletime`
11+
- Add support for Cookie prefixes `__Host-` and `__Secure-` on Cookie
12+
name (see: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-05#section-4.1.3)
13+
14+
### Changed
15+
- The whole codebase was refactored and simplified, especially implementing
16+
new storage adapters is now a lot easier
17+
- Redis and Memcached `spinlockwait` was changed from microseconds to milliseconds and default
18+
is set to `150` milliseconds,
19+
- Redis and Memcache will only release locks that current session instance holds
20+
- DSHM `session_dshm_store` was renamed to `session_dshm_region`
21+
- BASE64 encoding now strips the padding
22+
523
## [2.26] - 2020-02-11
624
### Added
725
- Add support for `SameSite=None` (#83) (thanks @bodewig)

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 – 2019, Aapo Talvensaari
1+
Copyright (c) 2014 – 2020, Aapo Talvensaari
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.md

+212-167
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)