blob: 5bd648542ccf915e78a1b1fc574bdc33009a7e4c [file] [log] [blame] [view]
Yang Guo4fd355c2019-09-19 08:59:0310.3.1 / 2016-05-26
2==================
3
4 * Fix `sameSite: true` to work with draft-7 clients
5 - `true` now sends `SameSite=Strict` instead of `SameSite`
6
70.3.0 / 2016-05-26
8==================
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
150.2.4 / 2016-05-20
16==================
17
18 * perf: enable strict mode
19 * perf: use for loop in parse
20 * perf: use string concatination for serialization
21
220.2.3 / 2015-10-25
23==================
24
25 * Fix cookie `Max-Age` to never be a floating point number
26
270.2.2 / 2015-09-17
28==================
29
30 * Fix regression when setting empty cookie value
31 - Ease the new restriction, which is just basic header-level validation
32 * Fix typo in invalid value errors
33
340.2.1 / 2015-09-17
35==================
36
37 * Throw on invalid values provided to `serialize`
38 - Ensures the resulting string is a valid HTTP header value
39
400.2.0 / 2015-08-13
41==================
42
43 * Add `firstPartyOnly` option
44 * Throw better error for invalid argument to parse
45 * perf: hoist regular expression
46
470.1.5 / 2015-09-17
48==================
49
50 * Fix regression when setting empty cookie value
51 - Ease the new restriction, which is just basic header-level validation
52 * Fix typo in invalid value errors
53
540.1.4 / 2015-09-17
55==================
56
57 * Throw better error for invalid argument to parse
58 * Throw on invalid values provided to `serialize`
59 - Ensures the resulting string is a valid HTTP header value
60
610.1.3 / 2015-05-19
62==================
63
64 * Reduce the scope of try-catch deopt
65 * Remove argument reassignments
66
670.1.2 / 2014-04-16
68==================
69
70 * Remove unnecessary files from npm package
71
720.1.1 / 2014-02-23
73==================
74
75 * Fix bad parse when cookie value contained a comma
76 * Fix support for `maxAge` of `0`
77
780.1.0 / 2013-05-01
79==================
80
81 * Add `decode` option
82 * Add `encode` option
83
840.0.6 / 2013-04-08
85==================
86
87 * Ignore cookie parts missing `=`
88
890.0.5 / 2012-10-29
90==================
91
92 * Return raw cookie value if value unescape errors
93
940.0.4 / 2012-06-21
95==================
96
97 * Use encode/decodeURIComponent for cookie encoding/decoding
98 - Improve server/client interoperability
99
1000.0.3 / 2012-06-06
101==================
102
103 * Only escape special characters per the cookie RFC
104
1050.0.2 / 2012-06-01
106==================
107
108 * Fix `maxAge` option to not throw error
109
1100.0.1 / 2012-05-28
111==================
112
113 * Add more tests
114
1150.0.0 / 2012-05-28
116==================
117
118 * Initial release