github cloudflare/workers-sdk @cloudflare/vitest-plugin@1.9.0

one hour ago

Minor Changes

  • #16174 629f135 Thanks @james-elicx! - Remove the dependency on wrangler

    The Vitest plugin no longer depends on wrangler. Reading the Wrangler configuration file, generating Miniflare options, loading local variables and serving the Pages ASSETS binding now use shared workers-sdk packages that are bundled into the plugin. Installing the plugin no longer installs wrangler as well. If your project runs the wrangler CLI (for example wrangler types), add wrangler to your own devDependencies.

Patch Changes

  • #17031 95fd4c2 Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-19

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17043 4f5b118 Thanks @petebacondarwin! - Update Undici to 7.30.2 to include upstream security fixes

    This patch includes six upstream security fixes covering caching, redirects, and Subresource Integrity verification. Update the shared Undici dependency and matching types together so affected packages ship the patched version.

  • #17035 1b563db 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 getPlatformProxy and remote bindings in Wrangler, the Cloudflare Vite plugin, and the Vitest integration. Tokens still need permission to update the named Worker.

  • Updated dependencies [8712fc5, 95fd4c2, 95fd4c2, 8f45554, 4f5b118, 8f45554]:

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.