Skip to content

@cloudflare/vite-plugin@1.72.1

Latest

Choose a tag to compare

@workers-devprod workers-devprod released this 04 Dec 17:58
· 498 commits to main since this release
Immutable release. Only release title and notes can be modified.
b3237b1

Patch Changes

  • #17380 f51bd35 Thanks @workers-devprod! - Bump ws to 8.23.1 to address GHSA-37g9-w4hg-h9qr

    GHSA-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 pins ws exactly, so this updates it to the patched 8.23.1.

  • #17380 f51bd35 Thanks @workers-devprod! - Forward HTTP responses to rejected WebSocket upgrades in vite dev and vite preview

    Previously, 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 f51bd35 Thanks @workers-devprod! - Apply the headers of every _headers block for a repeated Workers Static Assets path

    Workers 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 _headers support in Vite dev, so it agrees with Vite preview.

  • #17380 f51bd35 Thanks @workers-devprod! - Update to the December 3 Workers SDK release

    The 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-utils 0.61.0. This brings in the 2026-12-01 compatibility date, local Workflow create() and createBatch() errors that match production, and the Content-Encoding and connection cleanup fixes for rejected WebSocket upgrades.