Releases: expressjs/body-parser
Releases Β· expressjs/body-parser
2.0.2
What's Changed
- fix: update package.json engines field to reflect minimum supported node version by @Phillip9587 in #541
- fix: remove brotli support check by @Phillip9587 in #542
- fix: remove unpipe package and use native unpipe method by @Phillip9587 in #543
- Remove unused devDependency
methods
by @Phillip9587 in #548 - ci: updated github actions ci workflow by @Phillip9587 in #546
New Contributors
- @Phillip9587 made their first contribution in #541
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- Fix defaulting to extended url parsing by @blakeembrey in #536
- Release: 2.0.1 by @UlisesGascon in #537
New Contributors
- @blakeembrey made their first contribution in #536
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
Important
- add brotli support #406
- Breaking Change: Node.js 18 is the minimum supported version
Details
- chore: add support for OSSF scorecard reporting by @inigomarquinez in #522
- ci: fix errors in ci github action for node 8 and 9 by @inigomarquinez in #523
- fix: pin to node@22.4.1 by @wesleytodd in #527
- deps: qs@6.12.3 by @melikhov-dev in #521
- Drop support for less than LTS node versions in v2 by @wesleytodd in #528
- Also use the qs module for the simple parser by @papandreou in #387
raw-body@3
by @wesleytodd in #529- urlencoded: Support iso-8859-1, utf8 sentinel, and numeric entities by @papandreou in #326
- Added support for brotli ('br') content-encoding by @danielgindi in #406
- Add OSSF Scorecard badge by @bjohansebas in #531
- Linter by @UlisesGascon in #534
- Release: 1.20.3 by @UlisesGascon in #535
New Contributors
- @inigomarquinez made their first contribution in #522
- @wesleytodd made their first contribution in #527
- @melikhov-dev made their first contribution in #521
- @papandreou made their first contribution in #387
- @danielgindi made their first contribution in #406
- @bjohansebas made their first contribution in #531
- @UlisesGascon made their first contribution in #534
Full Changelog: 1.20.2...2.0.0
1.20.3
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 now32
(previously wasInfinity
). Documentation
Other changes
- chore: add support for OSSF scorecard reporting by @inigomarquinez in #522
- ci: fix errors in ci github action for node 8 and 9 by @inigomarquinez in #523
- fix: pin to node@22.4.1 by @wesleytodd in #527
- deps: qs@6.12.3 by @melikhov-dev in #521
- Add OSSF Scorecard badge by @bjohansebas in #531
- Linter by @UlisesGascon in #534
- Release: 1.20.3 by @UlisesGascon in #535
New Contributors
- @inigomarquinez made their first contribution in #522
- @melikhov-dev made their first contribution in #521
- @bjohansebas made their first contribution in #531
- @UlisesGascon made their first contribution in #534
Full Changelog: 1.20.2...1.20.3
2.0.0-beta.2
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
- Add
- deps: iconv-lite@0.5.2
- Add encoding cp720
- Add encoding UTF-32
- deps: raw-body@3.0.0-beta.1
1.20.2
- 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
- deps: qs@6.11.0
- perf: remove unnecessary object clone
1.20.0
- 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 withFunction
constructor - Use instance methods on
process
to check for listeners
- Replace internal
- 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
- deps: bytes@3.1.2
- deps: qs@6.9.7
- Fix handling of
__proto__
keys
- Fix handling of
- deps: raw-body@2.4.3
- deps: bytes@3.1.2
2.0.0-beta.1
req.body
is no longer always initialized to{}
- it is left
undefined
unless a body is parsed
- it is left
urlencoded
parser now defaultsextended
tofalse
- Use
on-finished
to determine when body read