Releases: expressjs/cookie-session
Releases · expressjs/cookie-session
2.1.0
- Fix loading sessions with special keys
- deps: [email protected]
- Add
partitioned
option for CHIPS support - Add
priority
option for Priority cookie support - Fix accidental cookie name/value truncation when given invalid chars
- Fix
maxAge
option to reject invalid values - Remove quotes from returned quoted cookie value
- Use
req.socket
over deprecatedreq.connection
- pref: small lookup regexp optimization
- Add
2.0.0
- Change default cookie name to
session
- Change
.populated
to.isPopulated
- Create new session for all types of invalid sessions
- Drop support for Node.js 0.8
- Remove private
req.session.save()
- Remove the
key
option; usename
instead - Remove undocumented
req.session.length
to free up key name - Remove undocumented
req.sessionCookies
andreq.sessionKey
- Save all enumerable properties on
req.session
- Including
_
-prefixed properties
- Including
- Use
Object.defineProperty
instead of deprecated__define*__
- Use
safe-buffer
for improved Buffer API - deps: [email protected]
- Fix check for default
secure
option behavior - Fix
maxAge
option preventing cookie deletion - Support
"none"
insameSite
option - deps: depd@~2.0.0
- deps: keygrip@~1.1.0
- perf: remove argument reassignment
- Fix check for default
- deps: [email protected]
- Add
DEBUG_HIDE_DATE
- Add 256 color mode support
- Enable / disable namespaces dynamically
- Make millisecond timer namespace-specific
- Remove
DEBUG_FD
support - Use
Date#toISOString()
when output is not a TTY
- Add
- deps: on-headers@~1.0.2
- Fix
res.writeHead
patch missing return value
- Fix
- deps: [email protected]
- perf: reduce the scope of try-catch deopt
- perf: remove internal reference to request from session object
2.0.0-rc.1
- Remove private
req.session.save()
- Remove undocumented
req.session.length
to free up key name - Remove undocumented
req.sessionCookies
andreq.sessionKey
- deps: [email protected]
- Fix check for default
secure
option behavior - Fix
maxAge
option preventing cookie deletion - Support
"none"
insameSite
option - deps: depd@~2.0.0
- deps: keygrip@~1.1.0
- perf: remove argument reassignment
- Fix check for default
- deps: [email protected]
- deps: on-headers@~1.0.2
- Fix
res.writeHead
patch missing return value
- Fix
- deps: [email protected]
- perf: remove internal reference to request from session object
1.4.0
- deps: [email protected]
- Fix check for default
secure
option behavior - Fix
maxAge
option preventing cookie deletion - Support
"none"
insameSite
option - deps: depd@~2.0.0
- deps: keygrip@~1.1.0
- Fix check for default
1.3.3
- deps: [email protected]
- deps: depd@~1.1.2
- deps: keygrip@~1.0.3
- perf: remove argument reassignment
- deps: on-headers@~1.0.2
- Fix
res.writeHead
patch missing return value
- Fix
2.0.0-beta.3
- deps: [email protected]
- deps: depd@~1.1.1
- deps: keygrip@~1.0.2
- deps: [email protected]
- Add
DEBUG_HIDE_DATE
- Add 256 color mode support
- Enable / disable namespaces dynamically
- Make millisecond timer namespace-specific
- Remove
DEBUG_FD
support - Use
Date#toISOString()
when output is not a TTY
- Add
- deps: [email protected]
1.3.2
- deps: [email protected]
1.3.1
- deps: [email protected]
- deps: depd@~1.1.1
- deps: keygrip@~1.0.2
1.3.0
- deps: [email protected]
- Add
sameSite
option for SameSite cookie support - Throw on invalid values provided to
Cookie
constructor - deps: keygrip@~1.0.1
- pref: enable strict mode
- Add
- deps: [email protected]
- Allow colors in workers
- Deprecate
DEBUG_FD
environment variable set to 3 or higher - Fix error when running under React Native
- Use same color for same namespace
- deps: [email protected]
- deps: on-headers@~1.0.1
- perf: enable strict mode
2.0.0-beta.2
- Create new session for all types of invalid sessions
- Use
safe-buffer
for improved Buffer API - deps: [email protected]
- Fix
DEBUG_MAX_ARRAY_LENGTH
- deps: [email protected]
- Fix