HISTORY.md (15113B)
1 1.19.0 / 2019-04-25 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 * deps: qs@6.7.0 13 - Fix parsing array brackets after index 14 * deps: raw-body@2.4.0 15 - deps: bytes@3.1.0 16 - deps: http-errors@1.7.2 17 - deps: iconv-lite@0.4.24 18 * deps: type-is@~1.6.17 19 - deps: mime-types@~2.1.24 20 - perf: prevent internal `throw` on invalid type 21 22 1.18.3 / 2018-05-14 23 =================== 24 25 * Fix stack trace for strict json parse error 26 * deps: depd@~1.1.2 27 - perf: remove argument reassignment 28 * deps: http-errors@~1.6.3 29 - deps: depd@~1.1.2 30 - deps: setprototypeof@1.1.0 31 - deps: statuses@'>= 1.3.1 < 2' 32 * deps: iconv-lite@0.4.23 33 - Fix loading encoding with year appended 34 - Fix deprecation warnings on Node.js 10+ 35 * deps: qs@6.5.2 36 * deps: raw-body@2.3.3 37 - deps: http-errors@1.6.3 38 - deps: iconv-lite@0.4.23 39 * deps: type-is@~1.6.16 40 - deps: mime-types@~2.1.18 41 42 1.18.2 / 2017-09-22 43 =================== 44 45 * deps: debug@2.6.9 46 * perf: remove argument reassignment 47 48 1.18.1 / 2017-09-12 49 =================== 50 51 * deps: content-type@~1.0.4 52 - perf: remove argument reassignment 53 - perf: skip parameter parsing when no parameters 54 * deps: iconv-lite@0.4.19 55 - Fix ISO-8859-1 regression 56 - Update Windows-1255 57 * deps: qs@6.5.1 58 - Fix parsing & compacting very deep objects 59 * deps: raw-body@2.3.2 60 - deps: iconv-lite@0.4.19 61 62 1.18.0 / 2017-09-08 63 =================== 64 65 * Fix JSON strict violation error to match native parse error 66 * Include the `body` property on verify errors 67 * Include the `type` property on all generated errors 68 * Use `http-errors` to set status code on errors 69 * deps: bytes@3.0.0 70 * deps: debug@2.6.8 71 * deps: depd@~1.1.1 72 - Remove unnecessary `Buffer` loading 73 * deps: http-errors@~1.6.2 74 - deps: depd@1.1.1 75 * deps: iconv-lite@0.4.18 76 - Add support for React Native 77 - Add a warning if not loaded as utf-8 78 - Fix CESU-8 decoding in Node.js 8 79 - Improve speed of ISO-8859-1 encoding 80 * deps: qs@6.5.0 81 * deps: raw-body@2.3.1 82 - Use `http-errors` for standard emitted errors 83 - deps: bytes@3.0.0 84 - deps: iconv-lite@0.4.18 85 - perf: skip buffer decoding on overage chunk 86 * perf: prevent internal `throw` when missing charset 87 88 1.17.2 / 2017-05-17 89 =================== 90 91 * deps: debug@2.6.7 92 - Fix `DEBUG_MAX_ARRAY_LENGTH` 93 - deps: ms@2.0.0 94 * deps: type-is@~1.6.15 95 - deps: mime-types@~2.1.15 96 97 1.17.1 / 2017-03-06 98 =================== 99 100 * deps: qs@6.4.0 101 - Fix regression parsing keys starting with `[` 102 103 1.17.0 / 2017-03-01 104 =================== 105 106 * deps: http-errors@~1.6.1 107 - Make `message` property enumerable for `HttpError`s 108 - deps: setprototypeof@1.0.3 109 * deps: qs@6.3.1 110 - Fix compacting nested arrays 111 112 1.16.1 / 2017-02-10 113 =================== 114 115 * deps: debug@2.6.1 116 - Fix deprecation messages in WebStorm and other editors 117 - Undeprecate `DEBUG_FD` set to `1` or `2` 118 119 1.16.0 / 2017-01-17 120 =================== 121 122 * deps: debug@2.6.0 123 - Allow colors in workers 124 - Deprecated `DEBUG_FD` environment variable 125 - Fix error when running under React Native 126 - Use same color for same namespace 127 - deps: ms@0.7.2 128 * deps: http-errors@~1.5.1 129 - deps: inherits@2.0.3 130 - deps: setprototypeof@1.0.2 131 - deps: statuses@'>= 1.3.1 < 2' 132 * deps: iconv-lite@0.4.15 133 - Added encoding MS-31J 134 - Added encoding MS-932 135 - Added encoding MS-936 136 - Added encoding MS-949 137 - Added encoding MS-950 138 - Fix GBK/GB18030 handling of Euro character 139 * deps: qs@6.2.1 140 - Fix array parsing from skipping empty values 141 * deps: raw-body@~2.2.0 142 - deps: iconv-lite@0.4.15 143 * deps: type-is@~1.6.14 144 - deps: mime-types@~2.1.13 145 146 1.15.2 / 2016-06-19 147 =================== 148 149 * deps: bytes@2.4.0 150 * deps: content-type@~1.0.2 151 - perf: enable strict mode 152 * deps: http-errors@~1.5.0 153 - Use `setprototypeof` module to replace `__proto__` setting 154 - deps: statuses@'>= 1.3.0 < 2' 155 - perf: enable strict mode 156 * deps: qs@6.2.0 157 * deps: raw-body@~2.1.7 158 - deps: bytes@2.4.0 159 - perf: remove double-cleanup on happy path 160 * deps: type-is@~1.6.13 161 - deps: mime-types@~2.1.11 162 163 1.15.1 / 2016-05-05 164 =================== 165 166 * deps: bytes@2.3.0 167 - Drop partial bytes on all parsed units 168 - Fix parsing byte string that looks like hex 169 * deps: raw-body@~2.1.6 170 - deps: bytes@2.3.0 171 * deps: type-is@~1.6.12 172 - deps: mime-types@~2.1.10 173 174 1.15.0 / 2016-02-10 175 =================== 176 177 * deps: http-errors@~1.4.0 178 - Add `HttpError` export, for `err instanceof createError.HttpError` 179 - deps: inherits@2.0.1 180 - deps: statuses@'>= 1.2.1 < 2' 181 * deps: qs@6.1.0 182 * deps: type-is@~1.6.11 183 - deps: mime-types@~2.1.9 184 185 1.14.2 / 2015-12-16 186 =================== 187 188 * deps: bytes@2.2.0 189 * deps: iconv-lite@0.4.13 190 * deps: qs@5.2.0 191 * deps: raw-body@~2.1.5 192 - deps: bytes@2.2.0 193 - deps: iconv-lite@0.4.13 194 * deps: type-is@~1.6.10 195 - deps: mime-types@~2.1.8 196 197 1.14.1 / 2015-09-27 198 =================== 199 200 * Fix issue where invalid charset results in 400 when `verify` used 201 * deps: iconv-lite@0.4.12 202 - Fix CESU-8 decoding in Node.js 4.x 203 * deps: raw-body@~2.1.4 204 - Fix masking critical errors from `iconv-lite` 205 - deps: iconv-lite@0.4.12 206 * deps: type-is@~1.6.9 207 - deps: mime-types@~2.1.7 208 209 1.14.0 / 2015-09-16 210 =================== 211 212 * Fix JSON strict parse error to match syntax errors 213 * Provide static `require` analysis in `urlencoded` parser 214 * deps: depd@~1.1.0 215 - Support web browser loading 216 * deps: qs@5.1.0 217 * deps: raw-body@~2.1.3 218 - Fix sync callback when attaching data listener causes sync read 219 * deps: type-is@~1.6.8 220 - Fix type error when given invalid type to match against 221 - deps: mime-types@~2.1.6 222 223 1.13.3 / 2015-07-31 224 =================== 225 226 * deps: type-is@~1.6.6 227 - deps: mime-types@~2.1.4 228 229 1.13.2 / 2015-07-05 230 =================== 231 232 * deps: iconv-lite@0.4.11 233 * deps: qs@4.0.0 234 - Fix dropping parameters like `hasOwnProperty` 235 - Fix user-visible incompatibilities from 3.1.0 236 - Fix various parsing edge cases 237 * deps: raw-body@~2.1.2 238 - Fix error stack traces to skip `makeError` 239 - deps: iconv-lite@0.4.11 240 * deps: type-is@~1.6.4 241 - deps: mime-types@~2.1.2 242 - perf: enable strict mode 243 - perf: remove argument reassignment 244 245 1.13.1 / 2015-06-16 246 =================== 247 248 * deps: qs@2.4.2 249 - Downgraded from 3.1.0 because of user-visible incompatibilities 250 251 1.13.0 / 2015-06-14 252 =================== 253 254 * Add `statusCode` property on `Error`s, in addition to `status` 255 * Change `type` default to `application/json` for JSON parser 256 * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser 257 * Provide static `require` analysis 258 * Use the `http-errors` module to generate errors 259 * deps: bytes@2.1.0 260 - Slight optimizations 261 * deps: iconv-lite@0.4.10 262 - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails 263 - Leading BOM is now removed when decoding 264 * deps: on-finished@~2.3.0 265 - Add defined behavior for HTTP `CONNECT` requests 266 - Add defined behavior for HTTP `Upgrade` requests 267 - deps: ee-first@1.1.1 268 * deps: qs@3.1.0 269 - Fix dropping parameters like `hasOwnProperty` 270 - Fix various parsing edge cases 271 - Parsed object now has `null` prototype 272 * deps: raw-body@~2.1.1 273 - Use `unpipe` module for unpiping requests 274 - deps: iconv-lite@0.4.10 275 * deps: type-is@~1.6.3 276 - deps: mime-types@~2.1.1 277 - perf: reduce try block size 278 - perf: remove bitwise operations 279 * perf: enable strict mode 280 * perf: remove argument reassignment 281 * perf: remove delete call 282 283 1.12.4 / 2015-05-10 284 =================== 285 286 * deps: debug@~2.2.0 287 * deps: qs@2.4.2 288 - Fix allowing parameters like `constructor` 289 * deps: on-finished@~2.2.1 290 * deps: raw-body@~2.0.1 291 - Fix a false-positive when unpiping in Node.js 0.8 292 - deps: bytes@2.0.1 293 * deps: type-is@~1.6.2 294 - deps: mime-types@~2.0.11 295 296 1.12.3 / 2015-04-15 297 =================== 298 299 * Slight efficiency improvement when not debugging 300 * deps: depd@~1.0.1 301 * deps: iconv-lite@0.4.8 302 - Add encoding alias UNICODE-1-1-UTF-7 303 * deps: raw-body@1.3.4 304 - Fix hanging callback if request aborts during read 305 - deps: iconv-lite@0.4.8 306 307 1.12.2 / 2015-03-16 308 =================== 309 310 * deps: qs@2.4.1 311 - Fix error when parameter `hasOwnProperty` is present 312 313 1.12.1 / 2015-03-15 314 =================== 315 316 * deps: debug@~2.1.3 317 - Fix high intensity foreground color for bold 318 - deps: ms@0.7.0 319 * deps: type-is@~1.6.1 320 - deps: mime-types@~2.0.10 321 322 1.12.0 / 2015-02-13 323 =================== 324 325 * add `debug` messages 326 * accept a function for the `type` option 327 * use `content-type` to parse `Content-Type` headers 328 * deps: iconv-lite@0.4.7 329 - Gracefully support enumerables on `Object.prototype` 330 * deps: raw-body@1.3.3 331 - deps: iconv-lite@0.4.7 332 * deps: type-is@~1.6.0 333 - fix argument reassignment 334 - fix false-positives in `hasBody` `Transfer-Encoding` check 335 - support wildcard for both type and subtype (`*/*`) 336 - deps: mime-types@~2.0.9 337 338 1.11.0 / 2015-01-30 339 =================== 340 341 * make internal `extended: true` depth limit infinity 342 * deps: type-is@~1.5.6 343 - deps: mime-types@~2.0.8 344 345 1.10.2 / 2015-01-20 346 =================== 347 348 * deps: iconv-lite@0.4.6 349 - Fix rare aliases of single-byte encodings 350 * deps: raw-body@1.3.2 351 - deps: iconv-lite@0.4.6 352 353 1.10.1 / 2015-01-01 354 =================== 355 356 * deps: on-finished@~2.2.0 357 * deps: type-is@~1.5.5 358 - deps: mime-types@~2.0.7 359 360 1.10.0 / 2014-12-02 361 =================== 362 363 * make internal `extended: true` array limit dynamic 364 365 1.9.3 / 2014-11-21 366 ================== 367 368 * deps: iconv-lite@0.4.5 369 - Fix Windows-31J and X-SJIS encoding support 370 * deps: qs@2.3.3 371 - Fix `arrayLimit` behavior 372 * deps: raw-body@1.3.1 373 - deps: iconv-lite@0.4.5 374 * deps: type-is@~1.5.3 375 - deps: mime-types@~2.0.3 376 377 1.9.2 / 2014-10-27 378 ================== 379 380 * deps: qs@2.3.2 381 - Fix parsing of mixed objects and values 382 383 1.9.1 / 2014-10-22 384 ================== 385 386 * deps: on-finished@~2.1.1 387 - Fix handling of pipelined requests 388 * deps: qs@2.3.0 389 - Fix parsing of mixed implicit and explicit arrays 390 * deps: type-is@~1.5.2 391 - deps: mime-types@~2.0.2 392 393 1.9.0 / 2014-09-24 394 ================== 395 396 * include the charset in "unsupported charset" error message 397 * include the encoding in "unsupported content encoding" error message 398 * deps: depd@~1.0.0 399 400 1.8.4 / 2014-09-23 401 ================== 402 403 * fix content encoding to be case-insensitive 404 405 1.8.3 / 2014-09-19 406 ================== 407 408 * deps: qs@2.2.4 409 - Fix issue with object keys starting with numbers truncated 410 411 1.8.2 / 2014-09-15 412 ================== 413 414 * deps: depd@0.4.5 415 416 1.8.1 / 2014-09-07 417 ================== 418 419 * deps: media-typer@0.3.0 420 * deps: type-is@~1.5.1 421 422 1.8.0 / 2014-09-05 423 ================== 424 425 * make empty-body-handling consistent between chunked requests 426 - empty `json` produces `{}` 427 - empty `raw` produces `new Buffer(0)` 428 - empty `text` produces `''` 429 - empty `urlencoded` produces `{}` 430 * deps: qs@2.2.3 431 - Fix issue where first empty value in array is discarded 432 * deps: type-is@~1.5.0 433 - fix `hasbody` to be true for `content-length: 0` 434 435 1.7.0 / 2014-09-01 436 ================== 437 438 * add `parameterLimit` option to `urlencoded` parser 439 * change `urlencoded` extended array limit to 100 440 * respond with 413 when over `parameterLimit` in `urlencoded` 441 442 1.6.7 / 2014-08-29 443 ================== 444 445 * deps: qs@2.2.2 446 - Remove unnecessary cloning 447 448 1.6.6 / 2014-08-27 449 ================== 450 451 * deps: qs@2.2.0 452 - Array parsing fix 453 - Performance improvements 454 455 1.6.5 / 2014-08-16 456 ================== 457 458 * deps: on-finished@2.1.0 459 460 1.6.4 / 2014-08-14 461 ================== 462 463 * deps: qs@1.2.2 464 465 1.6.3 / 2014-08-10 466 ================== 467 468 * deps: qs@1.2.1 469 470 1.6.2 / 2014-08-07 471 ================== 472 473 * deps: qs@1.2.0 474 - Fix parsing array of objects 475 476 1.6.1 / 2014-08-06 477 ================== 478 479 * deps: qs@1.1.0 480 - Accept urlencoded square brackets 481 - Accept empty values in implicit array notation 482 483 1.6.0 / 2014-08-05 484 ================== 485 486 * deps: qs@1.0.2 487 - Complete rewrite 488 - Limits array length to 20 489 - Limits object depth to 5 490 - Limits parameters to 1,000 491 492 1.5.2 / 2014-07-27 493 ================== 494 495 * deps: depd@0.4.4 496 - Work-around v8 generating empty stack traces 497 498 1.5.1 / 2014-07-26 499 ================== 500 501 * deps: depd@0.4.3 502 - Fix exception when global `Error.stackTraceLimit` is too low 503 504 1.5.0 / 2014-07-20 505 ================== 506 507 * deps: depd@0.4.2 508 - Add `TRACE_DEPRECATION` environment variable 509 - Remove non-standard grey color from color output 510 - Support `--no-deprecation` argument 511 - Support `--trace-deprecation` argument 512 * deps: iconv-lite@0.4.4 513 - Added encoding UTF-7 514 * deps: raw-body@1.3.0 515 - deps: iconv-lite@0.4.4 516 - Added encoding UTF-7 517 - Fix `Cannot switch to old mode now` error on Node.js 0.10+ 518 * deps: type-is@~1.3.2 519 520 1.4.3 / 2014-06-19 521 ================== 522 523 * deps: type-is@1.3.1 524 - fix global variable leak 525 526 1.4.2 / 2014-06-19 527 ================== 528 529 * deps: type-is@1.3.0 530 - improve type parsing 531 532 1.4.1 / 2014-06-19 533 ================== 534 535 * fix urlencoded extended deprecation message 536 537 1.4.0 / 2014-06-19 538 ================== 539 540 * add `text` parser 541 * add `raw` parser 542 * check accepted charset in content-type (accepts utf-8) 543 * check accepted encoding in content-encoding (accepts identity) 544 * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed 545 * deprecate `urlencoded()` without provided `extended` option 546 * lazy-load urlencoded parsers 547 * parsers split into files for reduced mem usage 548 * support gzip and deflate bodies 549 - set `inflate: false` to turn off 550 * deps: raw-body@1.2.2 551 - Support all encodings from `iconv-lite` 552 553 1.3.1 / 2014-06-11 554 ================== 555 556 * deps: type-is@1.2.1 557 - Switch dependency from mime to mime-types@1.0.0 558 559 1.3.0 / 2014-05-31 560 ================== 561 562 * add `extended` option to urlencoded parser 563 564 1.2.2 / 2014-05-27 565 ================== 566 567 * deps: raw-body@1.1.6 568 - assert stream encoding on node.js 0.8 569 - assert stream encoding on node.js < 0.10.6 570 - deps: bytes@1 571 572 1.2.1 / 2014-05-26 573 ================== 574 575 * invoke `next(err)` after request fully read 576 - prevents hung responses and socket hang ups 577 578 1.2.0 / 2014-05-11 579 ================== 580 581 * add `verify` option 582 * deps: type-is@1.2.0 583 - support suffix matching 584 585 1.1.2 / 2014-05-11 586 ================== 587 588 * improve json parser speed 589 590 1.1.1 / 2014-05-11 591 ================== 592 593 * fix repeated limit parsing with every request 594 595 1.1.0 / 2014-05-10 596 ================== 597 598 * add `type` option 599 * deps: pin for safety and consistency 600 601 1.0.2 / 2014-04-14 602 ================== 603 604 * use `type-is` module 605 606 1.0.1 / 2014-03-20 607 ================== 608 609 * lower default limits to 100kb