Packages

http-proxy-middleware

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

Upgrading http-proxy-middleware From 0.0.1 to 4.2.2

81 releases in betweennotes for 77

Reading releases, release notes and advisories…

Other targets from 0.0.1Newest 0.x0.21.0Clears its advisory2.0.7
  1. 0.0.1yours
  2. 4 releases
  3. 0.1.0major
  4. 0.2.0major
  5. 0.3.0major
  6. 2 releases
  7. 0.4.0major
  8. 0.5.0major
  9. 0.6.0major
  10. 0.7.0major
  11. 0.8.0major
  12. 2 releases
  13. 0.9.0major
  14. 1 release
  15. 0.10.0major
  16. 0.11.0major
  17. 0.12.0major
  18. 0.13.0major
  19. 0.14.0major
  20. 0.15.0major
  21. 2 releases
  22. 0.16.0major
  23. 0.17.0major
  24. 4 releases
  25. 0.18.0security
  26. 0.19.0major
  27. 2 releases
  28. 0.20.0major
  29. 0.21.0major
  30. 1.0.0major
  31. 13 releases
  32. 2.0.0major
  33. 12 releases
  34. 3.0.0major
  35. 9 releases
  36. 4.0.0major
  37. 4 releases
  38. 4.2.2target
10+
changes to make
1
advisory fixed
41+
new
58+
fixes

Counted from 77 of 81 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking2.0.0
  • Breaking1.0.0
  • Breaking0.20.0
  • Breaking0.20.0
  • Breaking0.20.0

Security

Fixes 1 advisory affecting 0.0.1

Release by release

  1. 4.2.2

    15 Nov 20263 fixes
    • Fixed

      stringifyFormData: Fix missing close-delimiter

    • Fixed

      stringifyFormData: Improve multipart boundary validation

    • Fixed

      htt-proxy-middleware: Harden ws upgrade()

  2. 4.2.1

    24 Oct 20262 fixes
    • Fixed

      loggerPlugin: Fix logging url with query string

    • Fixed

      fixRequestBody: Wait for request stream to end

  3. 4.2.0

    4 Jul 20262 new
    • New

      types: Export OnProxyEvent type

    • New

      debug-proxy-errors-plugin: Diagnostic message for POST + bodyParser + ECONNRESET error

  4. 4.1.1

    14 Jun 20261 fix
    • Fixed

      fixRequestBody: Harden form-data stringification

  5. 4.1.0

    6 Jun 20264 new · 6 fixes
    • New

      definePlugin: Helper function to create plugins

    • New

      router: Add 'res' and 'options' to router function

    • New

      pathRewrite: Add 'res' and 'options' to custom pathRewrite function

    • New

      zstd: Support zstd compression in responseInterceptor and fixRequestBody

  6. 4.0.0

    Migration needed5 May 20261 new
    • Breaking

      ESM-only package 💣 http-proxy-middleware now ships as native ES modules only. CommonJS require() usage is no longer supported, so imports should use ESM syntax.

    • Breaking

      Updated Node.js support policy 💣 Dropped Node.js 14, 16, 18, and 20. New minimum supported runtime is Node.js 22.15.0

    • Breaking

      Removed legacyCreateProxyMiddleware() 💣 The legacy compatibility wrapper has been removed as part of API cleanup. Use createProxyMiddleware() directly.

    • New

      Added IPv6 literal support ✨ target and forward now support literal IPv6 URLs, for example: http://[::1]:3000.

  7. 3.0.7 – 3.0.113 releases, nothing new or fixed in the notes

  8. 3.0.6

    6 Jun 20263 fixes
    • Fixed

      types: Fix Logger type

    • Fixed

      fixRequestBody: Support text/plain

    • Fixed

      error-response-plugin: Sanitize input

11 other lines we could not sort, mostly version bumps
  • Switched proxy from http-proxy to httpxy ✨ (#1160) This replaces a long-standing core dependency and brings in many upstream fixes and behavior improvements documented by the httpxy project: #2

    4.0.0
  • Experimental Hono support 🧪 Added createHonoProxyMiddleware() for Hono apps, including dedicated subpath support via http-proxy-middleware/hono.

    4.0.0
  • bug(websocket): memory leak when option 'ws:true' is used. (2bf1f93) (julbra)

    0.17.2
  • Improved debug logging

    0.11.0
  • feat(proxyTable) - added proxyTable support for WebSockets.

    0.10.0
  • fixed: onError - only writeHead if headers havent already been sent.

    0.8.2
  • fixed: pathRewrite when agent is configured

    0.8.1
  • Removed node-url dependency

    0.8.0
  • Updated http-proxy to v1.11.2

    0.8.0
  • dependency: Micromatch v2.2.0 update.

    0.3.2

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