Skip to content

Releases: expressjs/cookie-session

2.1.0

24 Jan 02:34
Compare
Choose a tag to compare
  • 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 deprecated req.connection
    • pref: small lookup regexp optimization

2.0.0

16 Dec 17:27
Compare
Choose a tag to compare
  • 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; use name instead
  • Remove undocumented req.session.length to free up key name
  • Remove undocumented req.sessionCookies and req.sessionKey
  • Save all enumerable properties on req.session
    • Including _-prefixed properties
  • 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" in sameSite option
    • deps: depd@~2.0.0
    • deps: keygrip@~1.1.0
    • perf: remove argument reassignment
  • 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
  • deps: on-headers@~1.0.2
    • Fix res.writeHead patch missing return value
  • 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

24 Jan 04:52
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release
  • Remove private req.session.save()
  • Remove undocumented req.session.length to free up key name
  • Remove undocumented req.sessionCookies and req.sessionKey
  • deps: [email protected]
    • Fix check for default secure option behavior
    • Fix maxAge option preventing cookie deletion
    • Support "none" in sameSite option
    • deps: depd@~2.0.0
    • deps: keygrip@~1.1.0
    • perf: remove argument reassignment
  • deps: [email protected]
  • deps: on-headers@~1.0.2
    • Fix res.writeHead patch missing return value
  • deps: [email protected]
  • perf: remove internal reference to request from session object

1.4.0

06 Jan 18:30
Compare
Choose a tag to compare
  • deps: [email protected]
    • Fix check for default secure option behavior
    • Fix maxAge option preventing cookie deletion
    • Support "none" in sameSite option
    • deps: depd@~2.0.0
    • deps: keygrip@~1.1.0

1.3.3

28 Feb 19:48
Compare
Choose a tag to compare
  • 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

2.0.0-beta.3

13 Oct 13:57
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release
  • 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
  • deps: [email protected]

1.3.2

25 Sep 04:45
Compare
Choose a tag to compare

1.3.1

27 Aug 22:22
Compare
Choose a tag to compare

1.3.0

03 Aug 19:19
Compare
Choose a tag to compare
  • 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
  • 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

24 May 05:37
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release