Skip to content

[CHORE] Update dependency webpack-dev-server to v6 - #1148

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

[CHORE] Update dependency webpack-dev-server to v6#1148
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/webpack-dev-server-6.x

Conversation

@renovate

@renovate renovate Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
webpack-dev-server 5.2.66.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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • Between 02:00 AM and 08:59 AM (* 2-8 * * *)

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

Rebasing: Whenever PR is behind base branch, 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 Component: Tooling Changes to development tools - not the game itself label Jul 24, 2026
@renovate

renovate Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 8 workspace projects
✓ Lockfile passes supply-chain policies (verified 2m ago)
Progress: resolved 1, reused 0, downloaded 0, added 0
.                                        | [WARN] deprecated eslint@9.39.5
pandora-server-directory                 | [WARN] deprecated prom-client@15.1.3
Progress: resolved 96, reused 0, downloaded 0, added 0
Progress: resolved 108, reused 0, downloaded 0, added 0
Progress: resolved 109, reused 0, downloaded 0, added 0
Progress: resolved 370, reused 0, downloaded 0, added 0
Progress: resolved 477, reused 0, downloaded 0, added 0
Progress: resolved 548, reused 0, downloaded 0, added 0
Progress: resolved 728, reused 0, downloaded 0, added 0
Progress: resolved 799, reused 0, downloaded 0, added 0
Progress: resolved 835, reused 0, downloaded 0, added 0
Progress: resolved 955, reused 0, downloaded 0, added 0
Progress: resolved 1263, reused 0, downloaded 0, added 0
[WARN] 5 deprecated subdependencies found: @xmldom/xmldom@0.8.14, glob@10.5.0, glob@7.2.3, inflight@1.0.6, whatwg-encoding@3.1.1
Progress: resolved 1263, reused 0, downloaded 0, added 0, done
[ERR_PNPM_PEER_DEP_ISSUES] Unmet peer dependencies

✕ unmet peer webpack-dev-server
  Installed: 6.0.0
  Wanted:
    "^4.8.0 || 5.x":
      @pmmmwh/react-refresh-webpack-plugin@0.6.2
hint: To disable failing on peer dependency issues, add the following to pnpm-workspace.yaml in your project root:

  strictPeerDependencies: false

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated dependency update.

@Jomshir98
Jomshir98 marked this pull request as draft July 24, 2026 21:23
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 9 times, most recently from 9179f20 to c2b4398 Compare July 31, 2026 05:52
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 14 times, most recently from a974d2d to 8ced4f1 Compare August 8, 2026 04:47
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 3 times, most recently from 46140b3 to c37c018 Compare August 10, 2026 05:21
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 14 times, most recently from 6db710f to 20e12da Compare August 21, 2026 18:06
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 11 times, most recently from 7c9a3f5 to 3b5e3a4 Compare August 29, 2026 02:50
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch 3 times, most recently from cd7e82f to 5f057cb Compare September 2, 2026 02:48
@renovate
renovate Bot force-pushed the renovate/webpack-dev-server-6.x branch from 5f057cb to 77474f6 Compare September 2, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Tooling Changes to development tools - not the game itself

Development

Successfully merging this pull request may close these issues.

0 participants