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…
- 2
- changes to make
- 0
- advisories fixed
- 2
- new
- 16
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking3.0.0
Security
1 advisory still affects 3.0.6
- http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`high · GHSA-gcq2-9pq2-cxqm
Upgrading to 3.0.7 clears it.
Release by release
- Fixed
types: Fix Logger type
- Fixed
fixRequestBody: Support text/plain
- Fixed
error-response-plugin: Sanitize input
- Fixed
router: Harden proxy-table matching
- Fixed
- Fixed
fixRequestBody: Check readableLength
- Fixed
- 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
- New
- Fixed
pathFilter: Handle errors
- Fixed
- Fixed
logger-plugin: Handle undefined protocol and hostname
- Fixed
- 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
- Fixed
- 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)
- Breaking
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.