Skip to content

Latest commit

 

History

History
463 lines (270 loc) · 15.3 KB

File metadata and controls

463 lines (270 loc) · 15.3 KB

Changelog

v0.5.5

compare changes

🩹 Fixes

  • Retain relative protocol in redirect location header (#156)
  • Force connection: close on chunked upstream requests (#158)

🏡 Chore

✅ Tests

  • Add regression test to ensure url embed preservation (#155)

❤️ Contributors

v0.5.4

compare changes

🩹 Fixes

  • types: Declare pathname on ProxyTargetDetailed (#152)
  • Preserve transfer-encoding on chunked DELETE/OPTIONS (#153)

🏡 Chore

🤖 CI

  • Add ecosystem test for http-proxy-middleware (#142)

❤️ Contributors

v0.5.3

compare changes

🩹 Fixes

  • utils: Revert trailing slash preservation in joinURL (3b5f8b0)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.5.2

compare changes

🚀 Enhancements

  • Derive host from hostname for plain object targets and bracket IPv6 literals (#136)
  • Forward target URL as the 4th argument in error events (#135)

🩹 Fixes

  • Preserve trailing slash when proxying root path to a sub-path target (#137)

🏡 Chore

❤️ Contributors

v0.5.1

compare changes

🚀 Enhancements

  • server: listeningCallback (#127)

🩹 Fixes

  • Use agents: false for ws upgrade (#129)
  • Do not set undefined values for headers (#130)

🏡 Chore

❤️ Contributors

v0.5.0

compare changes

🔥 Performance

  • ⚠️ Keep-alive, request body stream and faster proxyFetch (#124)

🏡 Chore

  • Apply automated updates (04aaaba)

⚠️ Breaking Changes

  • ⚠️ Keep-alive, request body stream and faster proxyFetch (#124)

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.4.0

compare changes

🚀 Enhancements

  • Http/2 listener support (#102)
  • fetch: Add proxyFetch options for timeout, xfwd, changeOrigin, agent, followRedirects, HTTPS, and path merging (efa9711)

🩹 Fixes

  • web-incoming: Close downstream stream when upstream SSE aborts (#103)
  • Handle relative Location URLs in redirect rewriting (#20, #104)
  • web-outgoing: Handle invalid response header characters gracefully (#106)
  • web-incoming: Remove deprecated req.abort() and req.on("aborted") (#107)
  • web-outgoing: Handle object target in redirect host rewrite (#108)
  • web-incoming: Remove deprecated req.on('aborted') listener (#110)
  • ws: Skip writing to closed socket on non-upgrade response (#114)
  • web-incoming: Guard req.socket access in error handler (#112)
  • web-incoming: Defer pipe until socket connects (#111)
  • server: Catch synchronous exceptions in middleware passes (#109)
  • web-incoming: Emit econnreset on client disconnect (#115)
  • ws: Handle response stream errors on failed WS upgrade (#116)
  • web-outgoing: Include HTTP 303 in redirect location rewriting (#119)
  • web-outgoing: Skip empty header names (#121)
  • ssl: Prevent undefined target values from overwriting ssl options (#118)
  • utils: Preserve target URL query string in path merging (#117)
  • middleware: Do not append duplicate x-forwarded-* header values (#120)
  • web-outgoing: Strip transfer-encoding on 204/304 (#122)
  • web-incoming: Use isSSL regex for consistent https/wss protocol checks (#123)
  • ws: Preserve wss:// protocol and fix error handling in proxyUpgrade (cb01605)

📦 Build

🏡 Chore

⚠️ Breaking Changes

❤️ Contributors

v0.3.1

compare changes

🚀 Enhancements

  • Standalone proxyUpgrade util (#100)

🏡 Chore

  • Apply automated updates (d8c97ee)

✅ Tests

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.3.0

compare changes

🚀 Enhancements

  • proxyFetch (#98)
  • web-incoming: Implement native followRedirects support (d3d7f39)

🩹 Fixes

  • proxy: Ensure leading slash on toProxy outgoing path (7759c94)
  • server: Emit proxy error when listener exists, reject only when unhandled (c9d2c51)
  • web-incoming: Destroy request socket on timeout (40105be)
  • utils: Preserve multiple consecutive slashes in request URL (18e4d0d)
  • web-incoming: Abort proxy request when client disconnects (a5d4996)
  • ws: Handle client socket errors before upstream upgrade (aebb5c6)

💅 Refactors

  • ⚠️ Remove legacy node Url support (b2e6c92)

🏡 Chore

✅ Tests

🤖 CI

⚠️ Breaking Changes

  • ⚠️ Remove legacy node Url support (b2e6c92)

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.2.2

compare changes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.2.1

compare changes

🌊 Types

  • Make httpxy's server event type map generic (#97)

🏡 Chore

❤️ Contributors

v0.2.0

compare changes

💅 Refactors

  • ⚠️ Code improvements (#78)

🌊 Types

  • Implement typed proxy server event (#95, #96)

🏡 Chore

  • Update dev dependencies (81f5e57)
  • Migrate to oxfmt and oxlint (edd6cff)

✅ Tests

  • Port tests from node-http-proxy (#88)

⚠️ Breaking Changes

  • ⚠️ Code improvements (#78)

❤️ Contributors

v0.1.7

compare changes

🩹 Fixes

  • Preserve double slashes in url (#70)

🏡 Chore

❤️ Contributors

v0.1.6

compare changes

🩹 Fixes

  • Omit outgoing port when not required (#65)

📖 Documentation

  • Remove unsupported followRedirects option (#66)
  • Improve example (#16)

🏡 Chore

❤️ Contributors

v0.1.5

compare changes

🩹 Fixes

  • Handle client close event (#8)

🏡 Chore

❤️ Contributors

v0.1.4

compare changes

🩹 Fixes

  • Presrve search params from parsed url (8bbaacc)
  • Add target pathname currectly (#6)

💅 Refactors

  • Fix typo in defineProxyMiddleware (#4)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Jonasolesen
  • Gacek1123

v0.1.3

compare changes

🩹 Fixes

  • Presrve search params from parsed url (8bbaacc)

💅 Refactors

  • Fix typo in defineProxyMiddleware (#4)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Gacek1123

v0.1.2

compare changes

🩹 Fixes

  • Presrve search params from parsed url (8bbaacc)

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.1.1

🚀 Enhancements

🩹 Fixes

  • createProxyServer options is optional (75d8e93)

💅 Refactors

📖 Documentation

🏡 Chore

❤️ Contributors