chore(release): new release - #2406
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
6 times, most recently
from
September 23, 2026 10:38
6c779e5 to
4ee071a
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
9 times, most recently
from
September 26, 2026 15:28
8edb030 to
c4f9ffd
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 26, 2026 19:00
c4f9ffd to
00d20ab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
webpack-dev-middleware@8.4.0
Minor Changes
Post build events to the page the way webpack-dev-server's client does —
webpackInvalid,webpackProgress,webpackOk,webpackStillOk,webpackWarnings,webpackErrors,webpackCloseandwebpackHotUpdate<hash>— so a plugin or a framework's dev tooling can follow a build without reaching into the client (by @alexander-akait in #2425)Carry the browser runtime's events over a WebSocket with the client
transport=wsoption, or over a transport of your own, and reuse the built-in two fromwebpack-dev-middleware/client/sseandwebpack-dev-middleware/client/ws(by @alexander-akait in #2421)Choose how hot module replacement events reach the clients with
hot.transport: Server-Sent Events (the default), a WebSocket, or a transport of your own (by @alexander-akait in #2420)progressnow takes"circular"and"linear"as well as a boolean, the same values as webpack-dev-server'sclient.progress."circular"is the badge this package has always shown, and whattruestill selects;"linear"renders a thin bar across the top of the viewport (by @alexander-akait in #2426)A custom
hot.transportnow needs only four methods —onConnect,publish,publishToandclose.handlerandhasClientsbecame optional: without ahandlera request on the endpoint's path is answered426 Upgrade Required, and withouthasClientsa payload is built and the transport decides for itself inpublish. A transport that implements all six keeps working unchanged (by @alexander-akait in #2427)Patch Changes
Bound the internal url and
Rangeheader caches, which grew for the life of the process and were never released, even byclose(). (by @alexander-akait in #2405)Say
connectedwhichever transport the client used, rather than only Server-Sent Events (by @alexander-akait in #2423)Move focus into the error overlay when it opens, keep it on the navigation while paging through problems, and give it back to whatever the page had focused — a control inside an open shadow root included — when it closes, and give its frame an accessible name (by @alexander-akait in #2423)
Validate options with a precompiled schema to cut ~155ms from startup. (by @alexander-akait in #2413)
Do not reload a page that is already navigating away, and reload the nearest ancestor that has a url of its own when the app runs in an
about:blankiframe (by @alexander-akait in #2425)Give an
overlay.runtimeErrorsfilter the rejected value througherror.cause, so a rejection carrying a plain object rather than anErrorcan still be judged on what it carries (by @alexander-akait in #2425)Keep an uncaught runtime error in the overlay when a build succeeds — a successful compilation says nothing about an error the page threw on its own, and it used to dismiss one raised moments earlier by an entry that threw while it was still evaluating. A rebuild still clears it, since that replaces the code the error came from (by @alexander-akait in #2424)
Make the two client transports behave alike: neither logs a raw connection error, and neither reports anything after being closed (by @alexander-akait in #2423)