Skip to content

Releases: jshttp/cookie

0.4.0

16 May 03:25
Compare
Choose a tag to compare
  • Add SameSite=None support

0.3.1

27 May 04:22
Compare
Choose a tag to compare
  • Fix sameSite: true to work with draft-7 clients
    • true now sends SameSite=Strict instead of SameSite

0.3.0

26 May 21:21
Compare
Choose a tag to compare
  • Add sameSite option
    • Replaces firstPartyOnly option, never implemented by browsers
  • Improve error message when encode is not a function
  • Improve error message when expires is not a Date

0.2.4

21 May 00:29
Compare
Choose a tag to compare
  • perf: enable strict mode
  • perf: use for loop in parse
  • perf: use string concatination for serialization

0.2.3

09 Nov 03:10
Compare
Choose a tag to compare
  • Fix cookie Max-Age to never be a floating point number

0.2.2

17 Sep 20:39
Compare
Choose a tag to compare
  • Fix regression when setting empty cookie value
    • Ease the new restriction, which is just basic header-level validation
  • Fix typo in invalid value errors

0.2.1

17 Sep 17:07
Compare
Choose a tag to compare
  • Throw on invalid values provided to serialize
    • Ensures the resulting string is a valid HTTP header value

0.1.5

17 Sep 20:38
Compare
Choose a tag to compare
  • Fix regression when setting empty cookie value
    • Ease the new restriction, which is just basic header-level validation
  • Fix typo in invalid value errors

0.1.4

17 Sep 17:07
Compare
Choose a tag to compare
  • Throw better error for invalid argument to parse
  • Throw on invalid values provided to serialize
    • Ensures the resulting string is a valid HTTP header value

0.2.0

14 Aug 05:14
Compare
Choose a tag to compare
  • Add firstPartyOnly option
  • Throw better error for invalid argument to parse
  • perf: hoist regular expression