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