Packages

express

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

Upgrading express From 4.1.2 to 4.2.0

1 release in betweenevery note read

Other targets from 4.1.2Newest 4.x4.22.3Clears its 3 advisories4.20.0Latest5.3.0
  1. 4.1.2yours
  2. 4.2.0target
3
changes to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Deprecated4.2.0
  • Deprecated4.2.0
  • Deprecated4.2.0

Security

3 advisories still affect 4.2.0

Upgrading to 4.20.0 clears them.

Release by release

  1. 4.2.0

    Deprecation12 May 20141 new · 1 fix
    • Deprecated

      Deprecate app.del() -- use app.delete() instead

    • Deprecated

      Deprecate res.json(obj, status) -- use res.json(status, obj) instead

    • Deprecated

      Deprecate res.jsonp(obj, status) -- use res.jsonp(status, obj) instead

    • New

      Support PURGE method

    • Fixed

      Fix req.next when inside router instance

2 other lines we could not sort, mostly version bumps
  • Include ETag header in HEAD requests

    4.2.0
  • Keep previous Content-Type for res.jsonp

    4.2.0

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