1 | 0.6.0 / 2023-11-06
|
2 | ==================
|
3 |
|
4 | * Add `partitioned` option
|
5 |
|
6 | 0.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 |
|
14 | 0.4.2 / 2022-02-02
|
15 | ==================
|
16 |
|
17 | * perf: read value only when assigning in parse
|
18 | * perf: remove unnecessary regexp in parse
|
19 |
|
20 | 0.4.1 / 2020-04-21
|
21 | ==================
|
22 |
|
23 | * Fix `maxAge` option to reject invalid values
|
24 |
|
25 | 0.4.0 / 2019-05-15
|
26 | ==================
|
27 |
|
28 | * Add `SameSite=None` support
|
29 |
|
30 | 0.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 |
|
36 | 0.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 |
|
44 | 0.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 |
|
51 | 0.2.3 / 2015-10-25
|
52 | ==================
|
53 |
|
54 | * Fix cookie `Max-Age` to never be a floating point number
|
55 |
|
56 | 0.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 |
|
63 | 0.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 |
|
69 | 0.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 |
|
76 | 0.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 |
|
83 | 0.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 |
|
90 | 0.1.3 / 2015-05-19
|
91 | ==================
|
92 |
|
93 | * Reduce the scope of try-catch deopt
|
94 | * Remove argument reassignments
|
95 |
|
96 | 0.1.2 / 2014-04-16
|
97 | ==================
|
98 |
|
99 | * Remove unnecessary files from npm package
|
100 |
|
101 | 0.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 |
|
107 | 0.1.0 / 2013-05-01
|
108 | ==================
|
109 |
|
110 | * Add `decode` option
|
111 | * Add `encode` option
|
112 |
|
113 | 0.0.6 / 2013-04-08
|
114 | ==================
|
115 |
|
116 | * Ignore cookie parts missing `=`
|
117 |
|
118 | 0.0.5 / 2012-10-29
|
119 | ==================
|
120 |
|
121 | * Return raw cookie value if value unescape errors
|
122 |
|
123 | 0.0.4 / 2012-06-21
|
124 | ==================
|
125 |
|
126 | * Use encode/decodeURIComponent for cookie encoding/decoding
|
127 | - Improve server/client interoperability
|
128 |
|
129 | 0.0.3 / 2012-06-06
|
130 | ==================
|
131 |
|
132 | * Only escape special characters per the cookie RFC
|
133 |
|
134 | 0.0.2 / 2012-06-01
|
135 | ==================
|
136 |
|
137 | * Fix `maxAge` option to not throw error
|
138 |
|
139 | 0.0.1 / 2012-05-28
|
140 | ==================
|
141 |
|
142 | * Add more tests
|
143 |
|
144 | 0.0.0 / 2012-05-28
|
145 | ==================
|
146 |
|
147 | * Initial release
|