Packages

express

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

Upgrading express From 3.18.3 to 4.20.0

101 releases in betweennotes for 98

Reading releases, release notes and advisories…

Other targets from 3.18.3Newest 3.x3.21.2Latest5.3.0
4.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 3.18.3yours
  2. 13 releases
  3. 4.0.0major
  4. 57 releases
  5. 4.13.0breaking
  6. 25 releases
  7. 4.19.0security
  8. 1 release
  9. 4.19.2security
  10. 4.20.0target
19+
changes to make
4
advisories fixed
41+
new
67+
fixes

Counted from 98 of 101 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking4.13.0
  • Breaking4.13.0
  • Breaking4.13.0
  • Breaking4.13.0
  • Breaking4.13.0
  • Deprecated4.20.0
  • Deprecated4.11.0
  • Deprecated4.11.0
  • Deprecated4.11.0
  • Deprecated4.8.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

65 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

268 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.