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