Download Latest Version v4.0.0 source code.tar.gz (1.0 MB)
Email in envelope

Get an email when there's a new version of http-proxy-middleware

Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-05 13.1 kB
v4.0.0 source code.tar.gz 2026-05-05 1.0 MB
v4.0.0 source code.zip 2026-05-05 1.1 MB
Totals: 3 Items   2.1 MB 1

Notable changes

  • Switched proxy from http-proxy to httpxy ✨ This replaces a long-standing core dependency and brings in many upstream fixes and behavior improvements documented by the httpxy project: https://github.com/unjs/httpxy/issues/2.

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

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

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

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

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

Many thanks to everyone who helped make this release possible. 🙏

What's Changed

New Contributors

Full Changelog: https://github.com/chimurai/http-proxy-middleware/compare/v3.0.5...v4.0.0

Source: README.md, updated 2026-05-05