HISTORY.md (5354B)
1 2.4.0 / 2019-04-17 2 ================== 3 4 * deps: bytes@3.1.0 5 - Add petabyte (`pb`) support 6 * deps: http-errors@1.7.2 7 - Set constructor name when possible 8 - deps: setprototypeof@1.1.1 9 - deps: statuses@'>= 1.5.0 < 2' 10 * deps: iconv-lite@0.4.24 11 - Added encoding MIK 12 13 2.3.3 / 2018-05-08 14 ================== 15 16 * deps: http-errors@1.6.3 17 - deps: depd@~1.1.2 18 - deps: setprototypeof@1.1.0 19 - deps: statuses@'>= 1.3.1 < 2' 20 * deps: iconv-lite@0.4.23 21 - Fix loading encoding with year appended 22 - Fix deprecation warnings on Node.js 10+ 23 24 2.3.2 / 2017-09-09 25 ================== 26 27 * deps: iconv-lite@0.4.19 28 - Fix ISO-8859-1 regression 29 - Update Windows-1255 30 31 2.3.1 / 2017-09-07 32 ================== 33 34 * deps: bytes@3.0.0 35 * deps: http-errors@1.6.2 36 - deps: depd@1.1.1 37 * perf: skip buffer decoding on overage chunk 38 39 2.3.0 / 2017-08-04 40 ================== 41 42 * Add TypeScript definitions 43 * Use `http-errors` for standard emitted errors 44 * deps: bytes@2.5.0 45 * deps: iconv-lite@0.4.18 46 - Add support for React Native 47 - Add a warning if not loaded as utf-8 48 - Fix CESU-8 decoding in Node.js 8 49 - Improve speed of ISO-8859-1 encoding 50 51 2.2.0 / 2017-01-02 52 ================== 53 54 * deps: iconv-lite@0.4.15 55 - Added encoding MS-31J 56 - Added encoding MS-932 57 - Added encoding MS-936 58 - Added encoding MS-949 59 - Added encoding MS-950 60 - Fix GBK/GB18030 handling of Euro character 61 62 2.1.7 / 2016-06-19 63 ================== 64 65 * deps: bytes@2.4.0 66 * perf: remove double-cleanup on happy path 67 68 2.1.6 / 2016-03-07 69 ================== 70 71 * deps: bytes@2.3.0 72 - Drop partial bytes on all parsed units 73 - Fix parsing byte string that looks like hex 74 75 2.1.5 / 2015-11-30 76 ================== 77 78 * deps: bytes@2.2.0 79 * deps: iconv-lite@0.4.13 80 81 2.1.4 / 2015-09-27 82 ================== 83 84 * Fix masking critical errors from `iconv-lite` 85 * deps: iconv-lite@0.4.12 86 - Fix CESU-8 decoding in Node.js 4.x 87 88 2.1.3 / 2015-09-12 89 ================== 90 91 * Fix sync callback when attaching data listener causes sync read 92 - Node.js 0.10 compatibility issue 93 94 2.1.2 / 2015-07-05 95 ================== 96 97 * Fix error stack traces to skip `makeError` 98 * deps: iconv-lite@0.4.11 99 - Add encoding CESU-8 100 101 2.1.1 / 2015-06-14 102 ================== 103 104 * Use `unpipe` module for unpiping requests 105 106 2.1.0 / 2015-05-28 107 ================== 108 109 * deps: iconv-lite@0.4.10 110 - Improved UTF-16 endianness detection 111 - Leading BOM is now removed when decoding 112 - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails 113 114 2.0.2 / 2015-05-21 115 ================== 116 117 * deps: bytes@2.1.0 118 - Slight optimizations 119 120 2.0.1 / 2015-05-10 121 ================== 122 123 * Fix a false-positive when unpiping in Node.js 0.8 124 125 2.0.0 / 2015-05-08 126 ================== 127 128 * Return a promise without callback instead of thunk 129 * deps: bytes@2.0.1 130 - units no longer case sensitive when parsing 131 132 1.3.4 / 2015-04-15 133 ================== 134 135 * Fix hanging callback if request aborts during read 136 * deps: iconv-lite@0.4.8 137 - Add encoding alias UNICODE-1-1-UTF-7 138 139 1.3.3 / 2015-02-08 140 ================== 141 142 * deps: iconv-lite@0.4.7 143 - Gracefully support enumerables on `Object.prototype` 144 145 1.3.2 / 2015-01-20 146 ================== 147 148 * deps: iconv-lite@0.4.6 149 - Fix rare aliases of single-byte encodings 150 151 1.3.1 / 2014-11-21 152 ================== 153 154 * deps: iconv-lite@0.4.5 155 - Fix Windows-31J and X-SJIS encoding support 156 157 1.3.0 / 2014-07-20 158 ================== 159 160 * Fully unpipe the stream on error 161 - Fixes `Cannot switch to old mode now` error on Node.js 0.10+ 162 163 1.2.3 / 2014-07-20 164 ================== 165 166 * deps: iconv-lite@0.4.4 167 - Added encoding UTF-7 168 169 1.2.2 / 2014-06-19 170 ================== 171 172 * Send invalid encoding error to callback 173 174 1.2.1 / 2014-06-15 175 ================== 176 177 * deps: iconv-lite@0.4.3 178 - Added encodings UTF-16BE and UTF-16 with BOM 179 180 1.2.0 / 2014-06-13 181 ================== 182 183 * Passing string as `options` interpreted as encoding 184 * Support all encodings from `iconv-lite` 185 186 1.1.7 / 2014-06-12 187 ================== 188 189 * use `string_decoder` module from npm 190 191 1.1.6 / 2014-05-27 192 ================== 193 194 * check encoding for old streams1 195 * support node.js < 0.10.6 196 197 1.1.5 / 2014-05-14 198 ================== 199 200 * bump bytes 201 202 1.1.4 / 2014-04-19 203 ================== 204 205 * allow true as an option 206 * bump bytes 207 208 1.1.3 / 2014-03-02 209 ================== 210 211 * fix case when length=null 212 213 1.1.2 / 2013-12-01 214 ================== 215 216 * be less strict on state.encoding check 217 218 1.1.1 / 2013-11-27 219 ================== 220 221 * add engines 222 223 1.1.0 / 2013-11-27 224 ================== 225 226 * add err.statusCode and err.type 227 * allow for encoding option to be true 228 * pause the stream instead of dumping on error 229 * throw if the stream's encoding is set 230 231 1.0.1 / 2013-11-19 232 ================== 233 234 * dont support streams1, throw if dev set encoding 235 236 1.0.0 / 2013-11-17 237 ================== 238 239 * rename `expected` option to `length` 240 241 0.2.0 / 2013-11-15 242 ================== 243 244 * republish 245 246 0.1.1 / 2013-11-15 247 ================== 248 249 * use bytes 250 251 0.1.0 / 2013-11-11 252 ================== 253 254 * generator support 255 256 0.0.3 / 2013-10-10 257 ================== 258 259 * update repo 260 261 0.0.2 / 2013-09-14 262 ================== 263 264 * dump stream on bad headers 265 * listen to events after defining received and buffers 266 267 0.0.1 / 2013-09-14 268 ================== 269 270 * Initial release