4 * Fix `maxAge` option to reject invalid values
9 * Add `SameSite=None` support
14 * Fix `sameSite: true` to work with draft-7 clients
15 - `true` now sends `SameSite=Strict` instead of `SameSite`
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`
28 * perf: enable strict mode
29 * perf: use for loop in parse
30 * perf: use string concatination for serialization
35 * Fix cookie `Max-Age` to never be a floating point number
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
47 * Throw on invalid values provided to `serialize`
48 - Ensures the resulting string is a valid HTTP header value
53 * Add `firstPartyOnly` option
54 * Throw better error for invalid argument to parse
55 * perf: hoist regular expression
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
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
74 * Reduce the scope of try-catch deopt
75 * Remove argument reassignments
80 * Remove unnecessary files from npm package
85 * Fix bad parse when cookie value contained a comma
86 * Fix support for `maxAge` of `0`
97 * Ignore cookie parts missing `=`
102 * Return raw cookie value if value unescape errors
107 * Use encode/decodeURIComponent for cookie encoding/decoding
108 - Improve server/client interoperability
113 * Only escape special characters per the cookie RFC
118 * Fix `maxAge` option to not throw error