Skip to content

Releases: expressjs/body-parser

2.0.2

31 Oct 15:06
9c0d5ec
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

10 Sep 04:14
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

10 Sep 03:29
9e06a79
Compare
Choose a tag to compare

What's Changed

Important

  • add brotli support #406
  • Breaking Change: Node.js 18 is the minimum supported version

Details

New Contributors

Full Changelog: 1.20.2...2.0.0

1.20.3

09 Sep 23:11
1752951
Compare
Choose a tag to compare

What's Changed

Important

  • deps: qs@6.13.0
  • add depth option to customize the depth level in the parser
  • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity). Documentation

Other changes

New Contributors

Full Changelog: 1.20.2...1.20.3

2.0.0-beta.2

23 Feb 21:58
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release

This incorporates all changes after 1.19.1 up to 1.20.2.

  • Remove deprecated bodyParser() combination middleware
  • deps: debug@3.1.0
    • Add DEBUG_HIDE_DATE environment variable
    • Change timer to per-namespace instead of global
    • Change non-TTY date format
    • Remove DEBUG_FD environment variable support
    • Support 256 namespace colors
  • deps: iconv-lite@0.5.2
    • Add encoding cp720
    • Add encoding UTF-32
  • deps: raw-body@3.0.0-beta.1

1.20.2

22 Feb 01:37
Compare
Choose a tag to compare
  • Fix strict json error message on Node.js 19+
  • deps: content-type@~1.0.5
    • perf: skip value escaping when unnecessary
  • deps: raw-body@2.5.2

1.20.1

22 Feb 01:37
Compare
Choose a tag to compare
  • deps: qs@6.11.0
  • perf: remove unnecessary object clone

1.20.0

03 Apr 01:02
Compare
Choose a tag to compare
  • Fix error message for json parse whitespace in strict
  • Fix internal error when inflated body exceeds limit
  • Prevent loss of async hooks context
  • Prevent hanging when request already read
  • deps: depd@2.0.0
    • Replace internal eval usage with Function constructor
    • Use instance methods on process to check for listeners
  • deps: http-errors@2.0.0
    • deps: depd@2.0.0
    • deps: statuses@2.0.1
  • deps: on-finished@2.4.1
  • deps: qs@6.10.3
  • deps: raw-body@2.5.1
    • deps: http-errors@2.0.0

1.19.2

16 Feb 03:43
Compare
Choose a tag to compare
  • deps: bytes@3.1.2
  • deps: qs@6.9.7
    • Fix handling of __proto__ keys
  • deps: raw-body@2.4.3
    • deps: bytes@3.1.2

2.0.0-beta.1

18 Dec 03:50
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release
  • req.body is no longer always initialized to {}
    • it is left undefined unless a body is parsed
  • urlencoded parser now defaults extended to false
  • Use on-finished to determine when body read