changelogs.md


jkohrman/cookie-parse

Repository  -  API  -  Source

0.4.0

December 26, 2016
  • Add parser support for non key-value pair cookie flags
    • parse now returns HttpOnly: 'true' instead of skipping

0.3.1

May 26, 2016
  • Fix sameSite: true to work with draft-7 clients
    • true now sends SameSite=Strict instead of SameSite

0.3.0

May 26, 2016
  • 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

May 20, 2016
  • perf: enable strict mode
    • perf: use for loop in parse
    • perf: use string concatination for serialization

0.2.3

October 25, 2015
  • Fix cookie Max-Age to never be a floating point number

0.2.2

September 17, 2015
  • 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

September 17, 2015
  • Throw on invalid values provided to serialize
    • Ensures the resulting string is a valid HTTP header value

0.2.0

August 13, 2015
  • Add firstPartyOnly option
    • Throw better error for invalid argument to parse
    • perf: hoist regular expression

0.1.5

September 17, 2015
  • 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

September 17, 2015
  • 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.1.3

May 19, 2015
  • Reduce the scope of try-catch deopt
    • Remove argument reassignments

0.1.2

April 16, 2014
  • Remove unnecessary files from npm package

0.1.1

February 23, 2014
  • Fix bad parse when cookie value contained a comma
    • Fix support for maxAge of 0

0.1.0

May 1, 2013
  • Add decode option
    • Add encode option

0.0.6

April 8, 2013
  • Ignore cookie parts missing =

0.0.5

October 29, 2012
  • Return raw cookie value if value unescape errors

0.0.4

June 21, 2012
  • Use encode/decodeURIComponent for cookie encoding/decoding
    • Improve server/client interoperability

0.0.3

June 6, 2012
  • Only escape special characters per the cookie RFC

0.0.2

June 1, 2012
  • Fix maxAge option to not throw error

0.0.1

May 28, 2012
  • Add more tests

0.0.0

May 28, 2012
  • Initial release