UNPKG

3.19 kBMarkdownView Raw
10.6.0 / 2023-11-06
2==================
3
4 * Add `partitioned` option
5
60.5.0 / 2022-04-11
7==================
8
9 * Add `priority` option
10 * Fix `expires` option to reject invalid dates
11 * perf: improve default decode speed
12 * perf: remove slow string split in parse
13
140.4.2 / 2022-02-02
15==================
16
17 * perf: read value only when assigning in parse
18 * perf: remove unnecessary regexp in parse
19
200.4.1 / 2020-04-21
21==================
22
23 * Fix `maxAge` option to reject invalid values
24
250.4.0 / 2019-05-15
26==================
27
28 * Add `SameSite=None` support
29
300.3.1 / 2016-05-26
31==================
32
33 * Fix `sameSite: true` to work with draft-7 clients
34 - `true` now sends `SameSite=Strict` instead of `SameSite`
35
360.3.0 / 2016-05-26
37==================
38
39 * Add `sameSite` option
40 - Replaces `firstPartyOnly` option, never implemented by browsers
41 * Improve error message when `encode` is not a function
42 * Improve error message when `expires` is not a `Date`
43
440.2.4 / 2016-05-20
45==================
46
47 * perf: enable strict mode
48 * perf: use for loop in parse
49 * perf: use string concatenation for serialization
50
510.2.3 / 2015-10-25
52==================
53
54 * Fix cookie `Max-Age` to never be a floating point number
55
560.2.2 / 2015-09-17
57==================
58
59 * Fix regression when setting empty cookie value
60 - Ease the new restriction, which is just basic header-level validation
61 * Fix typo in invalid value errors
62
630.2.1 / 2015-09-17
64==================
65
66 * Throw on invalid values provided to `serialize`
67 - Ensures the resulting string is a valid HTTP header value
68
690.2.0 / 2015-08-13
70==================
71
72 * Add `firstPartyOnly` option
73 * Throw better error for invalid argument to parse
74 * perf: hoist regular expression
75
760.1.5 / 2015-09-17
77==================
78
79 * Fix regression when setting empty cookie value
80 - Ease the new restriction, which is just basic header-level validation
81 * Fix typo in invalid value errors
82
830.1.4 / 2015-09-17
84==================
85
86 * Throw better error for invalid argument to parse
87 * Throw on invalid values provided to `serialize`
88 - Ensures the resulting string is a valid HTTP header value
89
900.1.3 / 2015-05-19
91==================
92
93 * Reduce the scope of try-catch deopt
94 * Remove argument reassignments
95
960.1.2 / 2014-04-16
97==================
98
99 * Remove unnecessary files from npm package
100
1010.1.1 / 2014-02-23
102==================
103
104 * Fix bad parse when cookie value contained a comma
105 * Fix support for `maxAge` of `0`
106
1070.1.0 / 2013-05-01
108==================
109
110 * Add `decode` option
111 * Add `encode` option
112
1130.0.6 / 2013-04-08
114==================
115
116 * Ignore cookie parts missing `=`
117
1180.0.5 / 2012-10-29
119==================
120
121 * Return raw cookie value if value unescape errors
122
1230.0.4 / 2012-06-21
124==================
125
126 * Use encode/decodeURIComponent for cookie encoding/decoding
127 - Improve server/client interoperability
128
1290.0.3 / 2012-06-06
130==================
131
132 * Only escape special characters per the cookie RFC
133
1340.0.2 / 2012-06-01
135==================
136
137 * Fix `maxAge` option to not throw error
138
1390.0.1 / 2012-05-28
140==================
141
142 * Add more tests
143
1440.0.0 / 2012-05-28
145==================
146
147 * Initial release