Packages

express

5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed

Upgrading express From 4.16.3 to 4.20.0

13 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.16.3Newest 4.x4.22.3Latest5.3.0
  1. 4.16.3yours
  2. 9 releases
  3. 4.19.0security
  4. 1 release
  5. 4.19.2security
  6. 4.20.0target

Before you upgrade

Tick each one off as you go
  • Deprecated4.20.0

Security

Release by release

  1. 4.20.0

    Deprecation10 Sep 20245 new · 1 fix
    • Deprecated

      Deprecate res.clearCookie accepting options.maxAge and options.expires

    • New

      Document beta releases expectations

    • New

      Add a Threat Model

    • New

      Add CodeQL (SAST)

    • New

      Add support Node.js@22 in the CI

    • New

      Add OSSF Scorecard badge

    • Fixed

      Fix link variable use in attribution section of CODE OF CONDUCT

  2. 4.19.1

    20 Mar 20242 fixes
    • Fixed

      Fix ci after location patch

    • Fixed

      Fixed un-edited version in history.md for 4.19.0

  3. 4.19.0

    Security fix20 Mar 20241 new
  4. 4.18.3

    29 Feb 20243 fixes
    • Fixed

      Fix routing requests without method

    • Fixed

      Parameter str is not described in JSDoc

    • Fixed

      Fix favicon-related bug in cookie-sessions example

  5. 4.18.2

    8 Oct 20221 fix
    • Fixed

      Fix regression routing a large stack in a single route

  6. 4.18.1

    29 Apr 20221 fix
    • Fixed

      Fix hanging on large stack of sync routes

  7. 4.18.0

    25 Apr 20221 new
    • New

      Add "root" option to res.download

26 other lines we could not sort, mostly version bumps
  • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)

    4.20.0
  • Remove link renderization in html while using res.redirect

    4.20.0
  • 4.19.2 Staging

    4.20.0
  • Remove duplicate location test for data uri

    4.20.0
  • Cut down on duplicated CI runs

    4.20.0
  • Assign captain of encodeurl

    4.20.0
  • Nominate jonchurch as repo captain for http-errors, expressjs.com, morgan, cors, body-parser

    4.20.0
  • Skip QUERY method test

    4.20.0
  • Ignore ETAG query test on 21 and 22, reuse skip util

    4.20.0
  • List and sort all projects, add captains

    4.20.0

22 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.