http-proxy-middleware
4.2.2 · 15 Nov 2026MIT30.6M / weekRepositoryHomepagenpmAtom feed
Upgrading http-proxy-middleware From 0.5.0 to 4.2.2
70 releases in betweennotes for 69
Reading releases, release notes and advisories…
Counted from 69 of 70 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.5.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
- Fixed
stringifyFormData: Fix missing close-delimiter
- Fixed
stringifyFormData: Improve multipart boundary validation
- Fixed
htt-proxy-middleware: Harden ws upgrade()
- Fixed
- Fixed
loggerPlugin: Fix logging url with query string
- Fixed
fixRequestBody: Wait for request stream to end
- Fixed
- New
types: Export OnProxyEvent type
- New
debug-proxy-errors-plugin: Diagnostic message for POST + bodyParser + ECONNRESET error
- New
- Fixed
fixRequestBody: Harden form-data stringification
- Fixed
- 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
- New
- Breaking
ESM-only package 💣
http-proxy-middlewarenow ships as native ES modules only. CommonJSrequire()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. UsecreateProxyMiddleware()directly. - New
Added IPv6 literal support ✨
targetandforwardnow support literal IPv6 URLs, for example:http://[::1]:3000.
- Breaking
3.0.7 – 3.0.113 releases, nothing new or fixed in the notes
- Fixed
types: Fix Logger type
- Fixed
fixRequestBody: Support text/plain
- Fixed
error-response-plugin: Sanitize input
- Fixed
9 other lines we could not sort, mostly version bumps
- 4.0.0
- 4.0.0
Experimental Hono support 🧪 Added
createHonoProxyMiddleware()for Hono apps, including dedicated subpath support viahttp-proxy-middleware/hono. - 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
224 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.