Skip to content

Bump webpack-dev-server from 4.15.2 to 5.2.1 - #70322

Closed
dependabot[bot] wants to merge 2 commits into
trunkfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.1
Closed

dependabot[bot] wants to merge 2 commits into
trunkfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 5, 2025 •

Copy link
Copy Markdown
Contributor

Bumps webpack-dev-server from 4.15.2 to 5.2.1.

Release notes

Sourced from webpack-dev-server's releases.

v5.2.1

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

v5.2.0

5.2.0 (2024-12-11)

Features

  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)

Bug Fixes

  • speed up initial client bundling (145b5d0)

v5.1.0

5.1.0 (2024-09-03)

Features

  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#5267) (6509a3f)

Bug Fixes

v5.0.4

5.0.4 (2024-03-19)

... (truncated)

Changelog

Sourced from webpack-dev-server's changelog.

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

5.2.0 (2024-12-11)

Features

  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)

Bug Fixes

  • speed up initial client bundling (145b5d0)

5.1.0 (2024-09-03)

Features

  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#5267) (6509a3f)

Bug Fixes

5.0.4 (2024-03-19)

Bug Fixes

... (truncated)

Commits
  • 0d22a08 chore(release): 5.2.1
  • 6045b1e chore(deps): update (#5444)
  • ffd0b86 fix: take the first network found instead of the last one, this restores the ...
  • 9ea7b08 ci: update dependency-review-action (#5442)
  • 5c9378b Merge commit from fork
  • d2575ad Merge commit from fork
  • 8c1abc9 fix: prevent overlay for errors caught by React error boundaries (#5431)
  • 5a39c70 ci: update codecov/codecov-action to v5 (#5406)
  • 55220a8 chore(deps-dev): bump the dependencies group across 1 directory with 4 update...
  • 09f6f8e chore(deps): bump the dependencies group across 1 directory with 2 updates (#...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 5, 2025
@dependabot
dependabot Bot requested review from ajitbohra, gziolo, nerrad and ntwb as code owners June 5, 2025 02:25
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 5, 2025
@dependabot
dependabot Bot requested a review from ryanwelcher as a code owner June 5, 2025 02:25
@github-actions

github-actions Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 8.59 MB

compressed-size-action

@desrosj

desrosj commented Jun 5, 2025

Copy link
Copy Markdown
Member

@dependabot rebase.

@github-actions

github-actions Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @Copilot.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: Copilot.

Co-authored-by: desrosj <desrosj@git.wordpress.org>
Co-authored-by: lgladdy <lgladdy@git.wordpress.org>
Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/webpack-dev-server-5.2.1 branch from 6021108 to feee0b8 Compare June 5, 2025 12:40
@lgladdy

lgladdy commented Jun 10, 2025

Copy link
Copy Markdown

@desrosj Is there anything I can do to help get this merged and in the next release? We've got a few dependabots upstream depending on this one being merged.

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Jun 10, 2025
@desrosj

desrosj commented Jun 10, 2025

Copy link
Copy Markdown
Member

@lgladdy This one needs testing and a review of the release notes/change log for the package. I am not as familiar with the Webpack parts of the build process, so just making sure everything works as expected with no bugs or strange side effects.

@desrosj

desrosj commented Nov 20, 2025

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Nov 20, 2025

Copy link
Copy Markdown
Contributor Author

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@peterwilsoncc

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.15.2 to 5.2.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.15.2...v5.2.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/webpack-dev-server-5.2.1 branch from feee0b8 to 887886b Compare January 13, 2026 01:54
@peterwilsoncc

Copy link
Copy Markdown
Contributor

The migration guide for version 5 lists a couple of backward compatibility changes.

A couple of options have been refactored so that will probably need a dev note for anyone applying customisations.

I'm not sure how to test this short of merging and getting from @next which doesn't seem great.

@desrosj

desrosj commented Jun 13, 2026

Copy link
Copy Markdown
Member

@copilot It seems that Dependabot is unable to rebase this PR. Can you rebase these changes against the latest commit to the BASE branch?

…arn/webpack-dev-server-5.2.1

# Conflicts:
#	package-lock.json

Copilot AI commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

@copilot It seems that Dependabot is unable to rebase this PR. Can you rebase these changes against the latest commit to the BASE branch?

Done — merged the latest trunk into this branch and regenerated package-lock.json to resolve the conflict (webpack-dev-server resolves to 5.2.4 from the ^5.2.1 range). The branch is now up to date with trunk.

Copilot AI requested a review from desrosj June 13, 2026 16:11
@github-actions

Copy link
Copy Markdown

Flaky tests detected in ea60309.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/27471996263
📝 Reported issues:

@gziolo
gziolo removed their request for review June 17, 2026 10:13
@ntsekouras

Copy link
Copy Markdown
Contributor

This was updated in #80347

@ntsekouras ntsekouras closed this Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/webpack-dev-server-5.2.1 branch November 16, 2026 13:46
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 [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants