Packages

body-parser

2.4.0 · 22 Oct 2026MIT201.6M / weekRepositoryHomepagenpmAtom feed

Upgrading body-parser From 1.3.1 to 1.4.0

1 release in betweenevery note read

Other targets from 1.3.1Newest 1.x, Clears its 3 advisories1.20.9Latest2.4.0
  1. 1.3.1yours
  2. 1.4.0target
2
changes to make
0
advisories fixed
3
new
0
fixes

Before you upgrade

Tick each one off as you go
  • deprecated1.4.0
  • deprecated1.4.0

Security

Release by release

  1. 1.4.0

    Deprecation19 Jun 20143 new
    • deprecated

      Deprecate bodyParser() middleware; use .json() and .urlencoded() as needed

    • deprecated

      Deprecate urlencoded() without provided extended option

    • new

      Add text parser

    • new

      Add raw parser

    • new

      Support gzip and deflate bodies

4 other lines we could not sort, mostly version bumps
  • Check accepted charset in content-type (accepts utf-8)

    1.4.0
  • Check accepted encoding in content-encoding (accepts identity)

    1.4.0
  • lazy-load urlencoded parsers

    1.4.0
  • Parsers split into files for reduced mem usage

    1.4.0

1 internal line (docs, tests, tooling) left out.