Skip to content

chore(deps-dev): bump webpack-dev-server from 5.2.6 to 6.0.0 in /datafusion/wasmtest/datafusion-wasm-app - #23868

Merged
alamb merged 1 commit into
mainfrom
dependabot/npm_and_yarn/datafusion/wasmtest/datafusion-wasm-app/webpack-dev-server-6.0.0
Jul 24, 2026
Merged

chore(deps-dev): bump webpack-dev-server from 5.2.6 to 6.0.0 in /datafusion/wasmtest/datafusion-wasm-app#23868
alamb merged 1 commit into
mainfrom
dependabot/npm_and_yarn/datafusion/wasmtest/datafusion-wasm-app/webpack-dev-server-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bumps webpack-dev-server from 5.2.6 to 6.0.0.

Release notes

Sourced from webpack-dev-server's releases.

v6.0.0

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, allowing the package to be consumed from both ESM and CommonJS without relying on require(ESM) for CommonJS consumers. (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)

... (truncated)

Changelog

Sourced from webpack-dev-server's changelog.

6.0.0

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)

... (truncated)

Commits
  • 05cb792 chore(release): new release (#5692)
  • a451839 fix: handle middleware teardown in plugin mode (#5703)
  • c2d23a7 fix: load ESM-only dependencies with native import() in the CommonJS build (#...
  • ba54764 fix: reject cross-site requests to open-editor and invalidate endpoints (#5691)
  • 2b369b3 fixup!
  • 08a0ea7 fix: ensure undefined options default to an empty object in Server constructor
  • 797b9e7 fix: handle undefined options in Server constructor
  • e90221c feat: plugin support (#5650)
  • 4c351e1 feat: support universal platform as a web target (#5690)
  • 2236aa4 chore: update http-proxy-middleware to version 4.1.1 and add tests for pathRe...
  • Additional commits viewable in compare view

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.

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.2.6 to 6.0.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v5.2.6...v6.0.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 6.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 24, 2026
@alamb
alamb added this pull request to the merge queue Jul 24, 2026
Merged via the queue into main with commit 0d8482c Jul 24, 2026
37 checks passed
@alamb
alamb deleted the dependabot/npm_and_yarn/datafusion/wasmtest/datafusion-wasm-app/webpack-dev-server-6.0.0 branch July 24, 2026 20:11
kosiew pushed a commit to kosiew/datafusion that referenced this pull request Aug 12, 2026
…fusion/wasmtest/datafusion-wasm-app (apache#23868)

Bumps
[webpack-dev-server](https://github.com/webpack/webpack-dev-server) from
5.2.6 to 6.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack-dev-server/releases">webpack-dev-server's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p>Bump Express to v5. See the <a
href="https://expressjs.com/en/guide/migrating-5.html">Express 5
migration guide</a> for the full list of breaking changes. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Bump the <code>webpack</code> peer dependency range from
<code>^5.0.0</code> to <code>^5.101.0</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Drop support for Node.js &lt; 22.15.0. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Convert the source to native ES modules. The package keeps
<code>&quot;type&quot;: &quot;module&quot;</code> and now exposes both
an ESM and a CommonJS build via the <code>exports</code> field: ESM
consumers import the native <code>lib/</code>, while CommonJS consumers
<code>require()</code> a transpiled <code>dist/</code> build, allowing
the package to be consumed from both ESM and CommonJS without relying on
<code>require(ESM)</code> for CommonJS consumers. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5674">#5674</a>)</p>
</li>
<li>
<p>Remove CLI flags. Use the <code>serve</code> command from
<code>webpack-cli</code> together with a configuration file or the
programmatic API instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>internalIP</code> and <code>internalIPSync</code>
static methods from <code>Server</code>. Resolve the local IP yourself
if you need it. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>bypass</code> option from proxy configuration. Use
the <code>router</code> or <code>context</code> options provided by
<code>http-proxy-middleware</code> instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove SockJS support. The <code>webSocketServer</code> option no
longer accepts <code>&quot;sockjs&quot;</code>; use the default
<code>&quot;ws&quot;</code> transport instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>spdy</code> dependency. Use the built-in
<code>node:http2</code> module via the <code>server</code> option for
HTTP/2 support. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>http-proxy-middleware</code> to v4. See the <a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0">http-proxy-middleware
v3 release notes</a> and <a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.0.0">v4
release notes</a> for the full list of breaking changes. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>webpack-dev-middleware</code> to v8 and sync
<code>originalUrl</code> for middleware compatibility.
<code>server.middleware.getFilenameFromUrl()</code> is now asynchronous
and resolves to <code>{ filename, extra: { stats, outputFileSystem }
}</code>. See the <a
href="https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.0.0">webpack-dev-middleware
v8 release notes</a> for details. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li>
<p>Add plugin support. <code>webpack-dev-server</code> 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
<code>MultiCompiler</code> setups with multiple independent plugin
servers. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Enable the compression middleware for HTTP/2 connections. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>colorette</code> dependency in favor of native ANSI
styling. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>chokidar</code> to v5 and extend
<code>watchFiles.options.ignored</code> to support glob string patterns
via <code>tinyglobby</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Use <code>compiler.platform</code> to determine the target
environment instead of inspecting the resolved <code>target</code>
string. Universal targets (<code>&quot;universal&quot;</code> or
<code>[&quot;web&quot;, &quot;node&quot;]</code>, where
<code>compiler.platform.universal</code> is <code>true</code> since
webpack <code>5.108.0</code>) are treated as web targets so the client
runtime is injected. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Use the WHATWG <code>URL</code> API instead of the deprecated
<code>url.parse</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Bump production dependencies, notably <code>open</code> to v11 and
<code>p-retry</code> to v8. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Reject cross-site requests to the internal <code>open-editor</code>
and <code>invalidate</code> 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
<code>Sec-Fetch-Site</code> with an
<code>Origin</code>/<code>Host</code> fallback. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5691">#5691</a>)</p>
</li>
<li>
<p>Treat loopback aliases (<code>127.0.0.1</code>, <code>::1</code>,
<code>localhost</code>) as equivalent in <code>isSameOrigin</code> so
the WebSocket client does not reject valid same-origin connections. (by
<a href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a>
in <a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Migrate the test suite from Jest to <code>node:test</code> and set up
the jsdom environment. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md">webpack-dev-server's
changelog</a>.</em></p>
<blockquote>
<h2>6.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p>Bump Express to v5. See the <a
href="https://expressjs.com/en/guide/migrating-5.html">Express 5
migration guide</a> for the full list of breaking changes. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Bump the <code>webpack</code> peer dependency range from
<code>^5.0.0</code> to <code>^5.101.0</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Drop support for Node.js &lt; 22.15.0. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Convert the source to native ES modules. The package keeps
<code>&quot;type&quot;: &quot;module&quot;</code> and now exposes both
an ESM and a CommonJS build via the <code>exports</code> field: ESM
consumers <code>import</code> the native <code>lib/</code>, while
CommonJS consumers <code>require()</code> a transpiled
<code>dist/</code> build — so the package works from both ESM and
CommonJS, including environments where <code>require(ESM)</code> is not
supported. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove CLI flags. Use the <code>serve</code> command from
<code>webpack-cli</code> together with a configuration file or the
programmatic API instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>internalIP</code> and <code>internalIPSync</code>
static methods from <code>Server</code>. Resolve the local IP yourself
if you need it. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>bypass</code> option from proxy configuration. Use
the <code>router</code> or <code>context</code> options provided by
<code>http-proxy-middleware</code> instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove SockJS support. The <code>webSocketServer</code> option no
longer accepts <code>&quot;sockjs&quot;</code>; use the default
<code>&quot;ws&quot;</code> transport instead. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>spdy</code> dependency. Use the built-in
<code>node:http2</code> module via the <code>server</code> option for
HTTP/2 support. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>http-proxy-middleware</code> to v4. See the <a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0">http-proxy-middleware
v3 release notes</a> and <a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.0.0">v4
release notes</a> for the full list of breaking changes. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>webpack-dev-middleware</code> to v8 and sync
<code>originalUrl</code> for middleware compatibility.
<code>server.middleware.getFilenameFromUrl()</code> is now asynchronous
and resolves to <code>{ filename, extra: { stats, outputFileSystem }
}</code>. See the <a
href="https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.0.0">webpack-dev-middleware
v8 release notes</a> for details. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li>
<p>Add plugin support. <code>webpack-dev-server</code> 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
<code>MultiCompiler</code> setups with multiple independent plugin
servers. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Enable the compression middleware for HTTP/2 connections. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Remove the <code>colorette</code> dependency in favor of native ANSI
styling. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Update <code>chokidar</code> to v5 and extend
<code>watchFiles.options.ignored</code> to support glob string patterns
via <code>tinyglobby</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Use <code>compiler.platform</code> to determine the target
environment instead of inspecting the resolved <code>target</code>
string. Universal targets (<code>&quot;universal&quot;</code> or
<code>[&quot;web&quot;, &quot;node&quot;]</code>, where
<code>compiler.platform.universal</code> is <code>true</code> since
webpack <code>5.108.0</code>) are treated as web targets so the client
runtime is injected. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Use the WHATWG <code>URL</code> API instead of the deprecated
<code>url.parse</code>. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Bump production dependencies, notably <code>open</code> to v11 and
<code>p-retry</code> to v8. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Reject cross-site requests to the internal <code>open-editor</code>
and <code>invalidate</code> 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
<code>Sec-Fetch-Site</code> with an
<code>Origin</code>/<code>Host</code> fallback. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5691">#5691</a>)</p>
</li>
<li>
<p>Treat loopback aliases (<code>127.0.0.1</code>, <code>::1</code>,
<code>localhost</code>) as equivalent in <code>isSameOrigin</code> so
the WebSocket client does not reject valid same-origin connections. (by
<a href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a>
in <a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
<li>
<p>Migrate the test suite from Jest to <code>node:test</code> and set up
the jsdom environment. (by <a
href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/05cb7921b2cd216f8caa74d2bdcc39b3f0d05bea"><code>05cb792</code></a>
chore(release): new release (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5692">#5692</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/a451839256733b37c8b71d15b9e22a55db3290d1"><code>a451839</code></a>
fix: handle middleware teardown in plugin mode (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5703">#5703</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/c2d23a7e9f8562c634b3f3cabf8cee18123a402b"><code>c2d23a7</code></a>
fix: load ESM-only dependencies with native import() in the CommonJS
build (#...</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/ba54764c65464b43ab695ab8e7f20ca8e6c92e8d"><code>ba54764</code></a>
fix: reject cross-site requests to open-editor and invalidate endpoints
(<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5691">#5691</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/2b369b39d537331fc44df3d3c1d62f2ac4598016"><code>2b369b3</code></a>
fixup!</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/08a0ea7e92b2f954d2ab88e4b9669a45108cf0c8"><code>08a0ea7</code></a>
fix: ensure undefined options default to an empty object in Server
constructor</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/797b9e7d780eb5202895021bbd47253774a0135d"><code>797b9e7</code></a>
fix: handle undefined options in Server constructor</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/e90221cd422dbaa71b3a870538be1c88caf98361"><code>e90221c</code></a>
feat: plugin support (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5650">#5650</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/4c351e1b45f6a0bcc5fb3ef1e6bfad2d0c4fdd8b"><code>4c351e1</code></a>
feat: support universal platform as a web target (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5690">#5690</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/2236aa4b490a0b6abfd9e234beb3da5a32da91e7"><code>2236aa4</code></a>
chore: update http-proxy-middleware to version 4.1.1 and add tests for
pathRe...</li>
<li>Additional commits viewable in <a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.6...v6.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=webpack-dev-server&package-manager=npm_and_yarn&previous-version=5.2.6&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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](https://github.com/apache/datafusion/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant