Skip to content

Releases: pillarjs/cookies

0.9.1

02 Jan 02:59
Compare
Choose a tag to compare
  • Fix incorrectly disallowing equals sign in cookie value

0.9.0

29 Dec 03:38
Compare
Choose a tag to compare
  • 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

0.8.0

12 Oct 03:21
Compare
Choose a tag to compare
  • Fix check for default secure option behavior
  • Fix maxAge option preventing cookie deletion
  • Support "none" in sameSite option
  • deps: depd@~2.0.0
    • Replace internal eval usage with Function constructor
    • Use instance methods on process to check for listeners
  • deps: keygrip@~1.1.0
    • Use tsscmp module for timing-safe signature verification

0.7.3

05 Nov 01:27
Compare
Choose a tag to compare
  • deps: keygrip@~1.0.3
    • perf: enable strict mode

0.7.2

10 Sep 03:05
Compare
Choose a tag to compare
  • deps: depd@~1.1.2
  • perf: remove argument reassignment

0.7.1

27 Aug 03:24
Compare
Choose a tag to compare
  • deps: depd@~1.1.1
    • Remove unnecessary Buffer loading
  • deps: keygrip@~1.0.2
    • perf: improve comparison speed

0.7.0

19 Feb 17:33
Compare
Choose a tag to compare
  • Add sameSite option for SameSite cookie support
  • pref: enable strict mode

0.6.2

13 Nov 07:44
Compare
Choose a tag to compare
  • Fix keys deprecation message
  • deps: keygrip@~1.0.1

0.6.1

12 Aug 18:28
Compare
Choose a tag to compare
  • Fix regression in 0.6.0 for array of strings in keys option

0.6.0

01 Mar 02:04
Compare
Choose a tag to compare
  • Add secure constructor option for secure connection checking
  • Change constructor to signature new Cookies(req, res, [options])
    • Replace new Cookies(req, res, key) with new Cookies(req, res, {'keys': keys})
  • Change prototype construction for proper "constructor" property
  • Deprecate secureProxy option in .set; use secure option instead
    • If secure: true throws even over SSL, use the secure constructor option