Skip to content

chore(deps): update dependency webpack-dev-server to v6 - #5723

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/webpack-dev-server-6.x
Open

chore(deps): update dependency webpack-dev-server to v6#5723
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/webpack-dev-server-6.x

Conversation

@renovate

@renovate renovate Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
webpack-dev-server ^5.0.0^6.0.0 age confidence

Release Notes

webpack/webpack-dev-server (webpack-dev-server)

v6.0.0

Compare Source

Major Changes
  • Bump Express to v5. See the Express 5 migration guide for the full list of breaking changes. (by @​bjohansebas in #​5674)

  • Bump the webpack peer dependency range from ^5.0.0 to ^5.101.0. (by @​bjohansebas in #​5674)

  • Drop support for Node.js < 22.15.0. (by @​bjohansebas in #​5674)

  • Convert the source to native ES modules. The package keeps "type": "module" and now exposes both an ESM and a CommonJS build via the exports field: ESM consumers import the native lib/, while CommonJS consumers require() a transpiled dist/ build — so the package works from both ESM and CommonJS, including environments where require(ESM) is not supported. (by @​bjohansebas in #​5674)

  • Remove CLI flags. Use the serve command from webpack-cli together with a configuration file or the programmatic API instead. (by @​bjohansebas in #​5674)

  • Remove the internalIP and internalIPSync static methods from Server. Resolve the local IP yourself if you need it. (by @​bjohansebas in #​5674)

  • Remove the bypass option from proxy configuration. Use the router or context options provided by http-proxy-middleware instead. (by @​bjohansebas in #​5674)

  • Remove SockJS support. The webSocketServer option no longer accepts "sockjs"; use the default "ws" transport instead. (by @​bjohansebas in #​5674)

  • Remove the spdy dependency. Use the built-in node:http2 module via the server option for HTTP/2 support. (by @​bjohansebas in #​5674)

  • Update http-proxy-middleware to v4. See the http-proxy-middleware v3 release notes and v4 release notes for the full list of breaking changes. (by @​bjohansebas in #​5674)

  • Update webpack-dev-middleware to v8 and sync originalUrl for middleware compatibility. server.middleware.getFilenameFromUrl() is now asynchronous and resolves to { filename, extra: { stats, outputFileSystem } }. See the webpack-dev-middleware v8 release notes for details. (by @​bjohansebas in #​5674)

Minor Changes
  • Add plugin support. webpack-dev-server can now be used as a webpack plugin, integrating with the compiler lifecycle without explicitly passing a compiler, preventing multiple server starts on recompilation, ensuring clean shutdown, and supporting MultiCompiler setups with multiple independent plugin servers. (by @​bjohansebas in #​5674)

  • Enable the compression middleware for HTTP/2 connections. (by @​bjohansebas in #​5674)

  • Remove the colorette dependency in favor of native ANSI styling. (by @​bjohansebas in #​5674)

  • Update chokidar to v5 and extend watchFiles.options.ignored to support glob string patterns via tinyglobby. (by @​bjohansebas in #​5674)

  • Use compiler.platform to determine the target environment instead of inspecting the resolved target string. Universal targets ("universal" or ["web", "node"], where compiler.platform.universal is true since webpack 5.108.0) are treated as web targets so the client runtime is injected. (by @​bjohansebas in #​5674)

  • Use the WHATWG URL API instead of the deprecated url.parse. (by @​bjohansebas in #​5674)

Patch Changes
  • Bump production dependencies, notably open to v11 and p-retry to v8. (by @​bjohansebas in #​5674)

  • Reject cross-site requests to the internal open-editor and invalidate endpoints. They performed state-changing actions (opening a file in the editor, forcing a recompilation) on any GET request, so a page the developer visited could trigger them. They now require a same-origin request, validated via Sec-Fetch-Site with an Origin/Host fallback. (by @​bjohansebas in #​5691)

  • Treat loopback aliases (127.0.0.1, ::1, localhost) as equivalent in isSameOrigin so the WebSocket client does not reject valid same-origin connections. (by @​bjohansebas in #​5674)

  • Migrate the test suite from Jest to node:test and set up the jsdom environment. (by @​bjohansebas in #​5674)

  • Update webpack-cli to v7.0.2. (by @​bjohansebas in #​5674)


Configuration

📅 Schedule: (in timezone Europe/Oslo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jul 13, 2026
@renovate
renovate Bot requested a review from a team as a code owner July 13, 2026 05:09
@renovate renovate Bot added the slack PRs and issues with this label will be pushed to Slack label Jul 13, 2026
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.38%. Comparing base (3d7a169) to head (0e23ff9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5723   +/-   ##
=======================================
  Coverage   70.37%   70.38%           
=======================================
  Files         349      349           
  Lines       16680    16680           
  Branches     2613     2613           
=======================================
+ Hits        11739    11740    +1     
+ Misses       4393     4392    -1     
  Partials      548      548           

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 3 times, most recently from 376027f to 78186b2 Compare July 14, 2026 10:36
@pramod-cog

Copy link
Copy Markdown
Contributor

/gemini review

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

Copy link
Copy Markdown
Contributor

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 upgrades webpack-dev-server to ^6.0.0 in the examples directory and updates the lockfile accordingly. The reviewer correctly identified a potential peer dependency conflict, noting that webpack-dev-server v6 requires webpack to be at least ^5.101.0, whereas the current configuration allows ^5.76.0. It is recommended to apply the suggested update to webpack to prevent installation warnings or resolution failures.

Comment thread examples/package.json
Comment on lines 47 to +49
"webpack": "^5.76.0",
"webpack-cli": "^7.0.0",
"webpack-dev-server": "^5.0.0",
"webpack-dev-server": "^6.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

Updating webpack-dev-server to ^6.0.0 introduces a peer dependency requirement of webpack: ^5.101.0 (as noted in the release notes and transitive dependencies like webpack-dev-middleware@8). The current webpack version is set to ^5.76.0, which allows older versions that do not satisfy this requirement and will cause peer dependency resolution warnings or failures during installation. Please update webpack to at least ^5.101.0 to ensure compatibility.

Suggested change
"webpack": "^5.76.0",
"webpack-cli": "^7.0.0",
"webpack-dev-server": "^5.0.0",
"webpack-dev-server": "^6.0.0",
"webpack": "^5.101.0",
"webpack-cli": "^7.0.0",
"webpack-dev-server": "^6.0.0",

@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 4 times, most recently from 897db34 to 18f641b Compare July 17, 2026 10:50
@renovate renovate Bot changed the title chore(deps): update dependency webpack-dev-server to v6 chore(deps): update dependency webpack-dev-server to v6 - autoclosed Jul 21, 2026
@renovate renovate Bot closed this Jul 21, 2026
@renovate
renovate Bot deleted the renovate/webpack-dev-server-6.x branch July 21, 2026 06:06
@renovate renovate Bot changed the title chore(deps): update dependency webpack-dev-server to v6 - autoclosed chore(deps): update dependency webpack-dev-server to v6 Jul 21, 2026
@renovate renovate Bot reopened this Jul 21, 2026
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 12 times, most recently from 4137ef8 to 5ce52ff Compare July 28, 2026 07:56
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 9 times, most recently from 60deace to a59f59b Compare August 3, 2026 23:36
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 5 times, most recently from c4199d2 to e5c756a Compare August 10, 2026 23:59
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch from e5c756a to 0e23ff9 Compare August 11, 2026 13:53
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 slack PRs and issues with this label will be pushed to Slack

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant