Skip to content

Latest commit

 

History

History
187 lines (150 loc) · 4.99 KB

HISTORY.md

File metadata and controls

187 lines (150 loc) · 4.99 KB

2.1.0 / 2024-01-23

  • 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 / 2021-12-16

2.0.0-rc.1 / 2020-01-23

  • 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

2.0.0-beta.3 / 2017-10-13

  • 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]

2.0.0-beta.2 / 2017-05-23

2.0.0-beta.1 / 2017-02-19

  • Drop support for Node.js 0.8
  • deps: [email protected]
    • Add sameSite option for SameSite cookie support
    • pref: enable strict mode

2.0.0-alpha.3 / 2017-02-12

  • Use Object.defineProperty instead of deprecated __define*__
  • deps: [email protected]
    • deps: keygrip@~1.0.1
  • deps: [email protected]
    • Allow colors in workers
    • Deprecated 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]

2.0.0-alpha.2 / 2016-11-10

2.0.0-alpha.1 / 2015-10-11

  • Change default cookie name to session
  • Change .populated to .isPopulated
  • Remove the key option; use name instead
  • Save all enumerable properties on req.session
    • Including _-prefixed properties
  • perf: reduce the scope of try-catch deopt
  • deps: [email protected]
    • Throw on invalid values provided to Cookie constructor
  • deps: on-headers@~1.0.1
    • perf: enable strict mode

1.4.0 / 2020-01-06

  • 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 / 2019-02-28

  • 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

1.3.2 / 2017-09-24

1.3.1 / 2017-08-27

1.3.0 / 2017-08-03

  • 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

1.2.0 / 2015-07-01

  • Make isNew non-enumerable and non-writeable
  • Make req.sessionOptions a shallow clone to override per-request
  • deps: debug@~2.2.0
  • perf: enable strict mode
  • perf: remove argument reassignments

1.1.0 / 2014-11-09

  • Fix errors setting cookies to be non-fatal
  • Use on-headers instead of writeHead patching
  • deps: [email protected]
  • deps: debug@~2.1.0

1.0.2 / 2014-05-07

  • Add name option

1.0.1 / 2014-02-24

  • Fix duplicate dependencies in package.json

1.0.0 / 2014-02-23

  • Initial release