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