Packages

http-proxy-middleware

4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed

Upgrading http-proxy-middleware From 2.0.12 to 3.0.6

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.12Latest4.2.2

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0

Security

Release by release

  1. 3.0.6

    6 Jun 20264 fixes
    • Fixed

      types: Fix Logger type

    • Fixed

      fixRequestBody: Support text/plain

    • Fixed

      error-response-plugin: Sanitize input

    • Fixed

      router: Harden proxy-table matching

  2. 3.0.5

    10 Apr 20251 fix
    • Fixed

      fixRequestBody: Check readableLength

  3. 3.0.4

    9 Apr 20251 new · 4 fixes
    • New

      types: Export Plugin type

    • Fixed

      fixRequestBody: Support multipart/form-data

    • Fixed

      websocket: Handle errors in handleUpgrade

    • Fixed

      fixRequestBody: Prevent multiple .write() calls

    • Fixed

      fixRequestBody: Handle invalid request

  4. 3.0.3

    6 Oct 20241 fix
    • Fixed

      pathFilter: Handle errors

  5. 3.0.2

    3 Sep 20241 fix
    • Fixed

      logger-plugin: Handle undefined protocol and hostname

  6. 3.0.1

    31 Aug 20244 fixes
    • Fixed

      type: Fix RequestHandler return type

    • Fixed

      logger-plugin: Fix missing target port

    • Fixed

      logger-plugin: Log target port when router option is used

    • Fixed

      fix-request-body: Support '+json' content-type suffix

  7. 3.0.0

    Migration needed1 Apr 20241 new · 1 fix
    • Breaking

      Read the v3 in Discussions or MIGRATION.md to see what the breaking changes are and how you can migrate them.

    • Breaking

      package: Drop node 12

    • New

      typescript: Type improvements

    • Fixed

      logger-plugin: Fix next.js url logging (baseUrl not supported)

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