Skip to content

build: update dependency http-proxy-middleware to v4 (main)#33174

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-http-proxy-middleware-4-x
May 13, 2026
Merged

build: update dependency http-proxy-middleware to v4 (main)#33174
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-http-proxy-middleware-4-x

Conversation

@angular-robot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
http-proxy-middleware 3.0.54.0.0 age adoption passing confidence

  • If you want to rebase/retry this PR, check this box

Release Notes

chimurai/http-proxy-middleware (http-proxy-middleware)

v4.0.0

Compare Source

  • 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
  • chore(package.json): node ^22.15.0 (#​1218)
  • refactor(package): subpath 'http-proxy-middleware/hono' (#​1220)
  • chore: node 26 support

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels May 13, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the http-proxy-middleware dependency from version 3.0.5 to 4.0.0 in the root package.json and the Angular DevKit package. A review comment highlights that this major version upgrade introduces a significant breaking change regarding Node.js support, requiring version 22.15.0 or higher, which may conflict with the project's current support for Node.js 18 and 20.

Comment thread package.json
"globals": "17.6.0",
"http-proxy": "^1.18.1",
"http-proxy-middleware": "3.0.5",
"http-proxy-middleware": "4.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Updating http-proxy-middleware to v4 introduces a significant breaking change regarding Node.js version support. According to the release notes and the package's engines field, v4 requires Node.js ^22.15.0 || >=24.0.0. This is a very restrictive requirement that will likely break the build for many users and CI environments still running on Node.js 18 or 20 (which are currently supported by Angular 19). Please verify if this project is ready to enforce Node.js 22.15.0 as the minimum version.

See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/main-http-proxy-middleware-4-x branch from a164c0f to 06eac0b Compare May 13, 2026 08:51
@alan-agius4 alan-agius4 merged commit c6d1d5d into angular:main May 13, 2026
34 checks passed
@alan-agius4
Copy link
Copy Markdown
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the ng-renovate/main-http-proxy-middleware-4-x branch May 13, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants