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

Patch Changes

  • #16793 fea323a Thanks @vicb! - Bump capnp-es to 0.0.17

    This release fixes 3 issues. See the release notes for details.

  • #16683 6f29f97 Thanks @jamesopstad! - Stop persisting account selections made by cf and the Cloudflare Vite and Vitest plugins

    Profiles continue to select credentials rather than accounts. If the active credentials can access one account, it is selected automatically. If they can access multiple accounts, cf and the Vite and Vitest plugins reuse the selection while running but ask again the next time they start. Configure accountId in cloudflare.config.ts or set the CLOUDFLARE_ACCOUNT_ID environment variable to avoid repeated prompts.

    Wrangler's existing persistent account selection remains unchanged.

  • #16648 56459a5 Thanks @dario-piotrowicz! - Update bundled third-party dependencies with known security fixes

    Local development and Workers Vitest tests now include security fixes for their bundled dependencies. Local browser rendering also includes security fixes for browser downloads, archive extraction, and proxy support.

    Miniflare and Wrangler now require Node.js 22.12.0 or later, matching the supported runtime range of the new browser installer.

  • #16746 abf924e Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-06

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

  • #16792 de10016 Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-09

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

  • #15693 307a69a Thanks @ghostwriternr! - Dispose Miniflare when a Vitest runtime fails to start

    Previously, a Miniflare instance whose startup failed was never disposed, so anything it had already started kept running. If disposal also fails, the original startup error is still reported.

  • #16699 cd24b27 Thanks @matingathani! - Fix vi.mock() factories failing under Vitest 5.1

    Mock factories in vi.mock() now work when running tests with Vitest 5.1 and later. Previously, any test file that used a mock factory failed during import with asyncLocalStorage.disable() is not implemented.

  • Updated dependencies [fea323a, a589d23, 56459a5, fe69809, abf924e, de10016, abf924e, de10016, 2fb01e7, dee7a1d, dc4e093, cff83d0, 3ef2afd, 4112820, 66bc0d6, cff83d0, 9b6582c, c64fdfb, 4112820]:

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.