Skip to content

chore(release): new release - #5697

Merged
bjohansebas merged 1 commit into
v5from
changeset-release/v5
Jul 2, 2026
Merged

bjohansebas merged 1 commit into
v5from
changeset-release/v5

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

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 v5, this PR will be updated.

Releases

webpack-dev-server@5.2.6

Patch Changes

  • fix: allow undefined as the Server constructor options argument again (by @bjohansebas in #5695)

    Restores accepting undefined (defaulting it to {}) for the options
    argument, so passing a webpack config's optional devServer field type-checks and works as before.

  • Protect the built-in state-changing routes (/webpack-dev-server/invalidate and /webpack-dev-server/open-editor) against cross-site request forgery. Requests are now checked with Sec-Fetch-Site (falling back to an Origin/Host comparison when it is absent), so a cross-site page can no longer trigger a rebuild or open a file in the editor. Same-origin requests, user-initiated navigations, and non-browser clients (e.g. curl) are unaffected. (by @bjohansebas in #5698)

  • Handle malformed Host and Origin header values gracefully when validating requests. (by @bjohansebas in #5699)

@bjohansebas

Copy link
Copy Markdown
Member

note for my: #5699 #5698

@github-actions
github-actions Bot force-pushed the changeset-release/v5 branch from 06714c6 to 36ff3c9 Compare July 2, 2026 17:05
@github-actions
github-actions Bot force-pushed the changeset-release/v5 branch from 36ff3c9 to 6eb3107 Compare July 2, 2026 19:22
@bjohansebas
bjohansebas merged commit 8a37b0e into v5 Jul 2, 2026
1 check passed
@bjohansebas
bjohansebas deleted the changeset-release/v5 branch July 2, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant