Skip to content

chore(deps): bump http-proxy-middleware from 4.1.1 to 4.2.1 - #3878

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/http-proxy-middleware-4.2.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/http-proxy-middleware-4.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps http-proxy-middleware from 4.1.1 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

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
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Low Risk
Patch-level dependency bump with no app code changes; minor proxy logging and request-body handling fixes could affect existing proxy routes slightly.

Overview
Bumps http-proxy-middleware from 4.1.1 to 4.2.1 in packages/api and packages/app, with yarn.lock updated accordingly.

The resolved version pulls in httpxy 0.5.6 (was 0.5.3). Upstream 4.2.x changes are mostly typing/docs and two behavior fixes—fixRequestBody waiting for the request stream to end and loggerPlugin logging URLs with query strings correctly—that may affect proxied POST traffic and debug logging wherever createProxyMiddleware is used (e.g. ClickHouse proxy and app API rewrites).

No application source changes; dependency versions only.

Reviewed by Cursor Bugbot for commit 85ab3a4. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 4.1.1 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@v4.1.1...v4.2.1)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 4.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner December 1, 2026 18:22
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2026
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hyperdx-oss Ready Ready Preview Dec 1, 2026 6:28pm UTC
hyperdx-storybook Ready Ready Preview Dec 1, 2026 6:28pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 85ab3a4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Duplicate code analysis

No new duplicate code introduced by this PR.


jscpd compared this branch against origin/main
across app, api and common-utils. Only new clones are listed; the codebase
currently holds 109 in total (1.10%).
Run yarn dupes locally to reproduce, or yarn dupes:all for the full picture.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

PR Review

✅ No issues found.

@github-actions github-actions Bot added the review/tier-1 Trivial — auto-merge candidate once CI passes label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

🟢 Tier 1 — Trivial

Docs, images, lock files, a dependency bump, or an automated release. No functional code changes detected.

Why this tier:

  • Bot author: dependabot[bot]

Additional context: spans packages but only 4 prod lines — under the 100-line cross-layer bar

Review process: Auto-merge once CI passes. No human review required.
SLA: Resolves automatically.

Stats
  • Production files changed: 2
  • Production lines changed: 4
  • Branch: dependabot/npm_and_yarn/http-proxy-middleware-4.2.1
  • Author: dependabot[bot]

To override this classification, remove the review/tier-1 label and apply a different review/tier-* label. Manual overrides are preserved on subsequent pushes.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Deep Review

✅ No critical issues found.

This is a Dependabot patch bump of http-proxy-middleware (4.1.1 → 4.2.1, transitive httpxy 0.5.3 → 0.5.6) touching only packages/api/package.json, packages/app/package.json, and yarn.lock. No source code changed. The lockfile is internally consistent: a single deduped http-proxy-middleware@npm:4.2.1 descriptor with no stale 4.1.1 entry, both packages moved identically from ^4.0.0 to ^4.2.1, and checksums are updated.

Reviewers traced every behavioral change in the version range against the two library consumers and found no concrete regression:

  • fix(fixRequestBody) is inert here. packages/api/src/routers/api/clickhouseProxy.ts does not use the library's fixRequestBody; it writes a pre-captured buffer via its own writeProxyBody inside on.proxyReq, so the request-stream-end fix cannot interact with it.
  • SSRF / path-injection defenses are unaffected. validateAndSanitizePath runs inside the app's pathRewrite callback and the /test guard uses fetch, not the proxy library — neither depends on library internals a patch bump would alter.
  • The HttpProxyMiddlewareError refactor is the only change reaching live code (the on.error handler). It is defensively handled (err.message fallback; noteTransportError reads err.code guardedly) and its load-bearing contract is covered by an existing integration test.

Reviewers (3): correctness, security, reliability.

Testing gaps:

  • Confirm clickhouseProxy.int.test.ts and clickhouseProxyOutcome.int.test.ts run in CI against the resolved 4.2.1 / httpxy 0.5.6 — they are the only guard that the error-handling refactor still delivers the raw system errno in err.code to on.error, which classifyProxyFailure relies on for upstream_unavailable / upstream_timeout SLI categorization.
  • No regression test asserts the pathRewrite contract (that it still receives the full raw request path, including encoded query characters) after the upgrade; this is a pre-existing coverage gap, not introduced by this PR.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

E2E Test Results

✅ All tests passed • 486 passed • 1 skipped • 1087s

Status Count
✅ Passed 486
❌ Failed 0
⚠️ Flaky 11
⏭️ Skipped 1

Tests ran across 4 shards in parallel.

View full report →

@dependabot @github

dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3880.

@dependabot dependabot Bot closed this Dec 1, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/http-proxy-middleware-4.2.1 branch December 1, 2026 19:08

This branch was successfully deployed

2 active deployments
Preview – hyperdx-oss — 85ab3a42 Deployed Dec 1, 2026 by vercel[bot]
Preview – hyperdx-storybook — 85ab3a42 Deployed Dec 1, 2026 by vercel[bot]
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 review/tier-1 Trivial — auto-merge candidate once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants