Packages

express

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

Your version

4.5.0

5 Jul 2014Where it was published

4.22.3 is the newest release of 4.x.

In short

2 deprecated6 new3 fixed3 changed4 internal

  • Deprecated

    Deprecate things with depd module

  • Deprecated

    Deprecate req.host -- use req.hostname instead

Security

Fixes 1 advisory that affected 4.4.5

2 advisories affect 4.5.0; 4.20.0 fixes them

Release note

  • Add deprecation message to non-plural req.accepts*

  • Add deprecation message to res.send(body, status)

  • Add deprecation message to res.vary()

  • Add headers option to res.sendfile

    • use to set headers on successful file transfer

  • Add mergeParams option to Router

    • merges req.params from parent routes

  • Add req.hostname -- correct name for what req.host returns

  • Deprecated

    Deprecate things with depd module

  • Deprecated

    Deprecate req.host -- use req.hostname instead

  • Fix behavior when handling request without routes

  • Fix handling when route.all is only route

  • Invoke router.param() only when route matches

  • Restore req.params after invoking router

  • Use finalhandler for final response handling

  • Use media-typer to alter content-type charset

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.