Skip to content

chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.3#3102

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vitest-pool-workers-0.x
Open

chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.3#3102
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vitest-pool-workers-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 16, 2026

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vitest-pool-workers (source) 0.12.210.13.3 age confidence

Release Notes

cloudflare/workers-sdk (@​cloudflare/vitest-pool-workers)

v0.13.3

Compare Source

Patch Changes

v0.13.2

Compare Source

Patch Changes

v0.13.1

Compare Source

Patch Changes

v0.13.0

Compare Source

Minor Changes
  • #​11632 a6ddbdb Thanks @​penalosa! - Support Vitest 4 in @cloudflare/vitest-pool-workers.

    This a breaking change to the @cloudflare/vitest-pool-workers integration in order to support Vitest v4. Along with supporting Vitest v4 (and dropping support for Vitest v2 and v3), we've made a number of changes that may require changes to your tests. Our aim has been to improve stability & the foundations of @cloudflare/vitest-pool-workers as we move towards a v1 release of the package.

    We've made a codemod to make the migration easier, which will make the required changes to your config file:

    npx jscodeshift -t node_modules/@​cloudflare/vitest-pool-workers/dist/codemods/vitest-v3-to-v4.mjs vitest.config.ts

    Or, without installing the package first:

    npx jscodeshift -t https://unpkg.com/@​cloudflare/vitest-pool-workers/dist/codemods/vitest-v3-to-v4.mjs --parser=ts vitest.config.ts
    • Config API: defineWorkersProject and defineWorkersConfig from @cloudflare/vitest-pool-workers/config have been replaced with a cloudflareTest() Vite plugin exported from @cloudflare/vitest-pool-workers. The test.poolOptions.workers options are now passed directly to cloudflareTest():

      Before:

      import { defineWorkersProject } from "@​cloudflare/vitest-pool-workers/config";
      
      export default defineWorkersProject({
        test: {
          poolOptions: {
            workers: {
              wrangler: { configPath: "./wrangler.jsonc" },
            },
          },
        },
      });

      After:

      import { cloudflareTest } from "@​cloudflare/vitest-pool-workers";
      import { defineConfig } from "vitest/config";
      
      export default defineConfig({
        plugins: [
          cloudflareTest({
            wrangler: { configPath: "./wrangler.jsonc" },
          }),
        ],
      });
    • isolatedStorage & singleWorker: These have been removed in favour of a simpler isolation model that more closely matches Vitest. Storage isolation is now on a per test file basis, and you can make your test files share the same storage by using the Vitest flags --max-workers=1 --no-isolate

    • import { env, SELF } from "cloudflare:test": These have been removed in favour of import { env, exports } from "cloudflare:workers". exports.default.fetch() has the same behaviour as SELF.fetch(), except that it doesn't expose Assets. To test your assets, write an integration test using startDevWorker()

    • import { fetchMock } from "cloudflare:test": This has been removed. Instead, mock globalThis.fetch or use ecosystem libraries like MSW (recommended).

    • Vitest peer dependency: @cloudflare/vitest-pool-workers now requires vitest@^4.1.0.

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) March 16, 2026 09:58
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 16, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dotfiles-worker 60e6743 Mar 24 2026, 02:59 PM

@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 10 times, most recently from 9e1b099 to 2efb5d5 Compare March 19, 2026 13:26
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.0 chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.1 Mar 19, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 4 times, most recently from 271cd22 to ecd2d67 Compare March 20, 2026 22:39
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.1 chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.2 Mar 20, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 6 times, most recently from 8112f51 to 49d0711 Compare March 22, 2026 21:36
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 3 times, most recently from 0bdf2d2 to eb97417 Compare March 23, 2026 08:51
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.2 chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.3 Mar 23, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 6 times, most recently from 434f5f7 to b59d08e Compare March 24, 2026 14:57
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from b59d08e to 60e6743 Compare March 24, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants