Skip to content

Releases: expressjs/body-parser

1.13.0

15 Jun 00:42
Compare
Choose a tag to compare
  • Add statusCode property on Errors, in addition to status
  • Change type default to application/json for JSON parser
  • Change type default to application/x-www-form-urlencoded for urlencoded parser
  • Provide static require analysis
  • Use the http-errors module to generate errors
  • deps: [email protected]
    • Slight optimizations
  • deps: [email protected]
    • The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
    • Leading BOM is now removed when decoding
  • deps: on-finished@~2.3.0
    • Add defined behavior for HTTP CONNECT requests
    • Add defined behavior for HTTP Upgrade requests
    • deps: [email protected]
  • deps: [email protected]
    • Fix dropping parameters like hasOwnProperty
    • Fix various parsing edge cases
    • Parsed object now has null prototype
  • deps: raw-body@~2.1.1
  • deps: type-is@~1.6.3
    • deps: mime-types@~2.1.1
    • perf: reduce try block size
    • perf: remove bitwise operations
  • perf: enable strict mode
  • perf: remove argument reassignment
  • perf: remove delete call

1.12.4

11 May 06:01
Compare
Choose a tag to compare
  • deps: debug@~2.2.0
  • deps: [email protected]
    • Fix allowing parameters like constructor
  • deps: on-finished@~2.2.1
  • deps: raw-body@~2.0.1
  • deps: type-is@~1.6.2
    • deps: mime-types@~2.0.11

1.12.3

16 Apr 03:53
Compare
Choose a tag to compare

1.12.2

17 Mar 03:35
Compare
Choose a tag to compare

1.12.1

16 Mar 05:35
Compare
Choose a tag to compare
  • deps: debug@~2.1.3
  • deps: type-is@~1.6.1
    • deps: mime-types@~2.0.10

1.12.0

14 Feb 04:47
Compare
Choose a tag to compare
  • add debug messages
  • accept a function for the type option
  • use content-type to parse Content-Type headers
  • deps: [email protected]
    • Gracefully support enumerables on Object.prototype
  • deps: [email protected]
  • deps: type-is@~1.6.0
    • fix argument reassignment
    • fix false-positives in hasBody Transfer-Encoding check
    • support wildcard for both type and subtype (*/*)
    • deps: mime-types@~2.0.9

1.11.0

31 Jan 05:32
Compare
Choose a tag to compare
  • make internal extended: true depth limit infinity
  • deps: type-is@~1.5.6
    • deps: mime-types@~2.0.8

1.10.2

21 Jan 06:21
Compare
Choose a tag to compare

1.10.1

02 Jan 02:42
Compare
Choose a tag to compare
  • deps: on-finished@~2.2.0
  • deps: type-is@~1.5.5
    • deps: mime-types@~2.0.7

1.10.0

03 Dec 05:37
Compare
Choose a tag to compare
  • make internal extended: true array limit dynamic