Repository navigation
[vite-plugin] Version v1 maintenance release - #17383
Conversation
commit: |
There was a problem hiding this comment.
✅ Approved — This is a standard version-packaging pull request. All four changesets are correctly classified as patch releases, and the package versions match the generated changelogs.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
Overall risk: Medium
This pull request publishes @cloudflare/vite-plugin 1.72.0 → 1.72.1 and @cloudflare/workers-shared 0.20.1 → 0.20.2, which is private. It removes the four consumed changesets, and the changelog entries match them.
| PR | Risk | Summary |
|---|---|---|
| #17380 | Medium | Four changes: |
- Bumps the pinned
wsdependency to 8.23.1 for GHSA-37g9-w4hg-h9qr. - Updates the bundled Wrangler, Miniflare and workerd versions and the compatibility date.
- Forwards the HTTP response when a WebSocket upgrade is rejected.
- Merges repeated
_headerspath blocks the same way production does.
All four are bug fixes or dependency updates, so patch is the right classification. |
The risk is Medium because the update raises the minimum Wrangler peer-dependency version and the bundled runtime versions.
Reviewed commit: cbe61bfd
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 vite-plugin-v1, this PR will be updated.
Releases
@cloudflare/vite-plugin@1.72.1
Patch Changes
#17380
f51bd35Thanks @workers-devprod! - Bumpwsto 8.23.1 to address GHSA-37g9-w4hg-h9qrGHSA-37g9-w4hg-h9qr (high severity) reports a memory-exhaustion DoS in
ws@>=8.0.0 <8.23.0: a malicious peer can flood the other side with ping frames while not reading, forcing it to buffer the automatic pong replies until the process runs out of memory. The plugin pinswsexactly, so this updates it to the patched 8.23.1.#17380
f51bd35Thanks @workers-devprod! - Forward HTTP responses to rejected WebSocket upgrades invite devandvite previewPreviously, the connection could close before clients received an HTTP response. When Vite receives a rejection response from the local Workers runtime, it now sends the status code, headers, and body to the client before closing the connection.
#17380
f51bd35Thanks @workers-devprod! - Apply the headers of every_headersblock for a repeated Workers Static Assets pathWorkers Static Assets local development now merges repeated path blocks like production: repeated header names are combined in file order, and
!unsets are applied before all assignments for that path, even when the unset appears in a later block.When multiple distinct paths match a request, local development now applies those rules in sorted path-key order rather than file order, matching the production deploy pipeline. This also applies to the experimental
_headerssupport in Vite dev, so it agrees with Vite preview.#17380
f51bd35Thanks @workers-devprod! - Update to the December 3 Workers SDK releaseThe plugin now uses Wrangler 4.171.0 (and requires at least that version as a peer dependency), Miniflare 5.20261201.0-beta with workerd 1.20261201.1, and
@cloudflare/workers-utils0.61.0. This brings in the 2026-12-01 compatibility date, local Workflowcreate()andcreateBatch()errors that match production, and theContent-Encodingand connection cleanup fixes for rejected WebSocket upgrades.@cloudflare/workers-shared@0.20.2
Patch Changes
#17380
f51bd35Thanks @workers-devprod! - Apply the headers of every_headersblock for a repeated Workers Static Assets pathWorkers Static Assets local development now merges repeated path blocks like production: repeated header names are combined in file order, and
!unsets are applied before all assignments for that path, even when the unset appears in a later block.When multiple distinct paths match a request, local development now applies those rules in sorted path-key order rather than file order, matching the production deploy pipeline. This also applies to the experimental
_headerssupport in Vite dev, so it agrees with Vite preview.