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