Skip to content

dev: bump http-proxy-middleware from 3.0.7 to 4.2.1 - #8087

Merged
PavelJankoski merged 2 commits into
v3.37from
dependabot/npm_and_yarn/http-proxy-middleware-4.2.1
Nov 4, 2026
Merged

PavelJankoski merged 2 commits into
v3.37from
dependabot/npm_and_yarn/http-proxy-middleware-4.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps http-proxy-middleware from 3.0.7 to 4.2.1.

Release notes

Sourced from http-proxy-middleware's releases.

v4.2.1

What's Changed

Full Changelog: chimurai/http-proxy-middleware@v4.2.0...v4.2.1

v4.2.0

What's Changed

New Contributors

Full Changelog: chimurai/http-proxy-middleware@v4.1.1...v4.2.0

v4.1.1

What's Changed

... (truncated)

Changelog

Sourced from http-proxy-middleware's changelog.

v4.2.1

  • fix(loggerPlugin): fix logging url with query string
  • fix(fixRequestBody): wait for request stream to end

v4.2.0

  • feat(types): export OnProxyEvent type
  • feat(debug-proxy-errors-plugin): diagnostic message for POST + bodyParser + ECONNRESET error
  • chore(package.json): update to httpxy v0.5.4

v4.1.1

  • fix(fixRequestBody): harden form-data stringification

v4.1.0

  • feat(definePlugin): helper function to create plugins
  • chore(package.json): update to httpxy@0.5.3
  • fix(ipv6): preserve credentials when normalizing bracketed IPv6 target string
  • fix(ipv6): unspecified IPv6 target hostname (::)
  • fix(response-interceptor): reduce responseInterceptor buffer churn
  • fix(ws): handle multi-server upgrade subscription and safe proxy shutdown
  • feat(router): add 'res' and 'options' to router function
  • feat(pathRewrite): add 'res' and 'options' to custom pathRewrite function
  • fix(responseInterceptor): prevent trailer/content-length conflict
  • feat(zstd): support zstd compression in responseInterceptor and fixRequestBody
  • fix(responseInterceptor): handle bodyless responses (HEAD/1xx/204/304) with content-encoding
  • fix(router): harden proxy-table matching

v4.0.0

  • fix(types): fix Logger type
  • fix(error-response-plugin): sanitize input
  • feat: drop node v14/v16/v18 [BREAKING CHANGE]
  • refactor: replace http-proxy w/ httpxy
  • chore: remove legacyCreateProxyMiddleware() [BREAKING CHANGE]
  • ci: migrate from jest to vitest
  • chore(package.json): esm only [BREAKING CHANGE]
  • chore(package.json): bump to httpxy 0.5.0 (#1183)
  • chore(package.json): drop node20 [BREAKING CHANGE] (#1179)
  • refactor: remove deprecated url.parse() (#1176)
  • fix(fixRequestBody): support content-encoding on request body (#1142)
  • fix: prevent TypeError when ws enabled but server is undefined (#1163)
  • fix: applyPathRewrite logs old req.url instead of rewritten path (#1157)
  • feat(hono): support for hono with createHonoProxyMiddleware
  • feat(ipv6): support literal IPv6 addresses in target and forward options (ie. "http://[::1]:8000")
  • chore(package.json): bump httpxy to ^0.5.1
  • fix(logger-plugin): support ipv6 host and handle undefined protocol/host
  • ci(publish.yml): pin github.triggering_actor

... (truncated)

Commits
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 2, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 2, 2026 23:04
@dependabot dependabot Bot added the javascript Pull requests that update Javascript code label Nov 2, 2026
@dependabot
dependabot Bot requested a review from mjamescompton November 2, 2026 23:04
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 3.0.7 to 4.2.1.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v3.0.7...v4.2.1)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 4.2.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/http-proxy-middleware-4.2.1 branch from 8636ff3 to dd70b29 Compare November 4, 2026 13:30
http-proxy-middleware 4 is ESM-only. webpack-cli first tries to load
the config as native ESM, which failed on the JSON import of
package.json and left the half-loaded http-proxy-middleware module
behind, so the CommonJS fallback could not require it either. Add the
JSON import attribute so the config loads as ESM.

Also pass the response interceptor via `on.proxyRes`. The legacy
`onProxyRes` option is ignored since http-proxy-middleware 3, which
together with `selfHandleResponse` made proxied API requests of the
development server hang.
@PavelJankoski
PavelJankoski force-pushed the dependabot/npm_and_yarn/http-proxy-middleware-4.2.1 branch from 7f033bd to 95ead86 Compare November 4, 2026 14:09
@PavelJankoski
PavelJankoski merged commit 76c722f into v3.37 Nov 4, 2026
13 checks passed
@PavelJankoski
PavelJankoski deleted the dependabot/npm_and_yarn/http-proxy-middleware-4.2.1 branch November 4, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant