github cloudflare/workers-sdk @cloudflare/vite-plugin@1.70.2

one hour ago

Patch Changes

  • #17082 ae2a49f Thanks @petebacondarwin! - Keep deferred imports alive after their originating request ends

    Retain the module runner's RPC operation until its result is retrieved and cleaned up. This prevents subsequent requests from hanging on a cached import when the first request returns early or its client disconnects.

  • #17130 8849c83 Thanks @petebacondarwin! - Respect WRANGLER_LOG_PATH set after importing the plugin in vite.config.ts

    Require Wrangler 4.168.0 or newer, which resolves the debug log path on first use. A path set in the Vite configuration body now selects the configured log file.

  • #17012 2f74598 Thanks @petebacondarwin! - Update the local runtime and default compatibility date to November 18

    Update Miniflare to 5.20261118.0-beta for workerd 1.20261118.1 and align Workers types, Wrangler, and the shared compatibility-date helpers. Projects without an explicit compatibility date now use 2026-11-18.

  • #17054 02fb0d4 Thanks @petebacondarwin! - Update the local Workers runtime to the November 19 release

    Use Miniflare 5.20261119.0-beta, workerd 1.20261119.1 and the matching Workers types. Update the default compatibility date to November 19 through workers-utils and require Wrangler 4.166.0 or newer. Use the matching released authentication and CLI helpers so remote bindings also consume the Undici 7.30.2 fixes.

  • #17130 8849c83 Thanks @petebacondarwin! - Update the local runtime and default compatibility date to November 23

    Use Miniflare 5.20261123.1-beta, workerd 1.20261123.1 and the matching Workers types. The default compatibility date advances to November 23. Local Stream bindings support caption retrieval and video customer codes; R2 pagination uses UTF-8 key order, and KV bulk reads preserve metadata for stored JSON nulls.

  • #17049 8fb66eb Thanks @petebacondarwin! - Update the plugin build and bundle shared declaration dependencies

    Use tsdown 0.22.14 for the plugin and retained remote bindings package, and keep shared SDK types bundled in the published plugin declarations. Validate the declarations from a consumer project without workspace development dependencies.

  • #17083 ce239be Thanks @petebacondarwin! - Update Undici to 7.30.2 in the bundled remote bindings support

    Consume the upstream security fixes in remote binding requests. The Miniflare and Wrangler runtime copies will update separately through their next published releases.

  • #17054 02fb0d4 Thanks @petebacondarwin! - Fix remote bindings authentication with API tokens scoped to an individual Worker

    Remote bindings now create preview sessions through the Worker-scoped endpoint. When the response includes a usable exchange URL, its hostname is used without account-wide Workers subdomain access; otherwise, the existing account subdomain lookup or registration is used. This applies to remote bindings in the Cloudflare Vite plugin. Tokens still need permission to update the named Worker.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.