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.

123 lines
2.6 KiB

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