You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
2.7 KiB

  1. 0.4.1 / 2020-04-21
  2. ==================
  3. * Fix `maxAge` option to reject invalid values
  4. 0.4.0 / 2019-05-15
  5. ==================
  6. * Add `SameSite=None` support
  7. 0.3.1 / 2016-05-26
  8. ==================
  9. * Fix `sameSite: true` to work with draft-7 clients
  10. - `true` now sends `SameSite=Strict` instead of `SameSite`
  11. 0.3.0 / 2016-05-26
  12. ==================
  13. * Add `sameSite` option
  14. - Replaces `firstPartyOnly` option, never implemented by browsers
  15. * Improve error message when `encode` is not a function
  16. * Improve error message when `expires` is not a `Date`
  17. 0.2.4 / 2016-05-20
  18. ==================
  19. * perf: enable strict mode
  20. * perf: use for loop in parse
  21. * perf: use string concatination for serialization
  22. 0.2.3 / 2015-10-25
  23. ==================
  24. * Fix cookie `Max-Age` to never be a floating point number
  25. 0.2.2 / 2015-09-17
  26. ==================
  27. * Fix regression when setting empty cookie value
  28. - Ease the new restriction, which is just basic header-level validation
  29. * Fix typo in invalid value errors
  30. 0.2.1 / 2015-09-17
  31. ==================
  32. * Throw on invalid values provided to `serialize`
  33. - Ensures the resulting string is a valid HTTP header value
  34. 0.2.0 / 2015-08-13
  35. ==================
  36. * Add `firstPartyOnly` option
  37. * Throw better error for invalid argument to parse
  38. * perf: hoist regular expression
  39. 0.1.5 / 2015-09-17
  40. ==================
  41. * Fix regression when setting empty cookie value
  42. - Ease the new restriction, which is just basic header-level validation
  43. * Fix typo in invalid value errors
  44. 0.1.4 / 2015-09-17
  45. ==================
  46. * Throw better error for invalid argument to parse
  47. * Throw on invalid values provided to `serialize`
  48. - Ensures the resulting string is a valid HTTP header value
  49. 0.1.3 / 2015-05-19
  50. ==================
  51. * Reduce the scope of try-catch deopt
  52. * Remove argument reassignments
  53. 0.1.2 / 2014-04-16
  54. ==================
  55. * Remove unnecessary files from npm package
  56. 0.1.1 / 2014-02-23
  57. ==================
  58. * Fix bad parse when cookie value contained a comma
  59. * Fix support for `maxAge` of `0`
  60. 0.1.0 / 2013-05-01
  61. ==================
  62. * Add `decode` option
  63. * Add `encode` option
  64. 0.0.6 / 2013-04-08
  65. ==================
  66. * Ignore cookie parts missing `=`
  67. 0.0.5 / 2012-10-29
  68. ==================
  69. * Return raw cookie value if value unescape errors
  70. 0.0.4 / 2012-06-21
  71. ==================
  72. * Use encode/decodeURIComponent for cookie encoding/decoding
  73. - Improve server/client interoperability
  74. 0.0.3 / 2012-06-06
  75. ==================
  76. * Only escape special characters per the cookie RFC
  77. 0.0.2 / 2012-06-01
  78. ==================
  79. * Fix `maxAge` option to not throw error
  80. 0.0.1 / 2012-05-28
  81. ==================
  82. * Add more tests
  83. 0.0.0 / 2012-05-28
  84. ==================
  85. * Initial release