Packages

express

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

Upgrading express From 4.5.1 to 4.6.0

1 release in betweenevery note read

Other targets from 4.5.1Newest 4.x4.22.3Clears its 2 advisories4.20.0Latest5.3.0
  1. 4.5.1yours
  2. 4.6.0target
1
change to make
0
advisories fixed
4
new
2
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated4.6.0

Security

2 advisories still affect 4.6.0

Upgrading to 4.20.0 clears them.

Release by release

  1. 4.6.0

    Deprecation12 Jul 20144 new · 2 fixes
    • Deprecated

      Deprecate res.redirect(url, status) -- use res.redirect(status, url) instead

    • New

      Add explicit "Rosetta Flash JSONP abuse" protection

    • New

      Support non-string path in app.use(path, fn)

    • New

      router: Speed up standard app.use(fn)

    • New

      Fix arguments reassign deopt in some res methods

    • Fixed

      Fix res.send(status, num) to send num as json (not error)

    • Fixed

      router: Fix optimization on router exit

4 other lines we could not sort, mostly version bumps
  • Accept multiple callbacks to app.use()

    4.6.0
  • Catch errors in multiple req.param(name, fn) handlers

    4.6.0
  • Remove unnecessary escaping when res.jsonp returns JSON response

    4.6.0
  • router: Refactor location of try blocks

    4.6.0

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