http-proxy-middleware
4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed
Upgrading http-proxy-middleware From 0.3.0 to 2.0.7
53 releases in betweennotes for 52
Reading releases, release notes and advisories…
Counted from 52 of 53 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking1.0.0
- Breaking0.20.0
- Breaking0.20.0
- Breaking0.20.0
Security
3 advisories still affect 2.0.7
- http-proxy-middleware can call writeBody twice because "else if" is not usedmoderate · GHSA-4www-5p9h-95mh
- http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypassmoderate · GHSA-64mm-vxmg-q3vj
- http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failedmoderate · GHSA-9gqv-wp59-fq42
Upgrading to 2.0.10 clears them.
Fixes 1 advisory affecting 0.3.0
- Denial of service in http-proxy-middlewarehigh · GHSA-c7qv-q95q-8v27
- 0.18.0
vulnerability: Update micromatch to v3.x (npm:braces:20180219)
Release by release
2.0.7no release note
- Fixed
proxyReqWs: Catch socket errors
- Fixed
- Fixed
error handler: Add default handler to econnreset
- Fixed
- Fixed
fix-request-body: Improve content type check
- Fixed
- New
package: Optional @types/express peer dependency
- New
- Fixed
types: Fix type regression
- Fixed
fixRequestBody: Fix request body for empty JSON object requests
- Fixed
- Fixed
fixRequestBody: Fix type error
- Fixed
- Breaking
package: Drop node 10
- Breaking
8 other lines we could not sort, mostly version bumps
- 0.17.2
- 0.11.0
Improved debug logging
- 0.10.0
feat(proxyTable) - added proxyTable support for WebSockets.
- 0.8.2
fixed: onError - only writeHead if headers havent already been sent.
- 0.8.1
fixed: pathRewrite when
agentis configured - 0.8.0
Removed node-url dependency
- 0.8.0
Updated http-proxy to v1.11.2
- 0.3.2
dependency: Micromatch v2.2.0 update.
41 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.