Skip to content

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

Merged
Fluf22 merged 3 commits intochore/renovateBaseBranchfrom
renovate/cloudflare-vitest-pool-workers-0.x
Mar 23, 2026
Merged

chore(deps): update dependency @cloudflare/vitest-pool-workers to v0.13.3#6113
Fluf22 merged 3 commits intochore/renovateBaseBranchfrom
renovate/cloudflare-vitest-pool-workers-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 15, 2026

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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

v0.12.21

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, 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 requested a review from a team as a code owner March 15, 2026 02:39
@renovate renovate bot requested review from eric-zaharia and morganleroi and removed request for a team March 15, 2026 02:39
@algolia-bot
Copy link
Copy Markdown
Collaborator

algolia-bot commented Mar 15, 2026

✔️ Code generated!

Name Link
🪓 Triggered by cf470283651833a93addeba0b77a5e30411b7552
🍃 Generated commit 25718c9a242db0df8cc2586848397e2f52027d91
🌲 Generated branch generated/renovate/cloudflare-vitest-pool-workers-0.x
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 2460

@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 13 times, most recently from fcc049f to 6620b1b Compare March 20, 2026 18:56
@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.3 Mar 20, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 11 times, most recently from 0c9c002 to f06eff1 Compare March 22, 2026 01:17
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 4 times, most recently from a4c4e4a to 19b8769 Compare March 23, 2026 06:45
@renovate renovate bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 19b8769 to bcd4733 Compare March 23, 2026 07:03
@Fluf22 Fluf22 mentioned this pull request Mar 23, 2026
5 tasks
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 23, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Fluf22 Fluf22 merged commit 35a193c into chore/renovateBaseBranch Mar 23, 2026
13 checks passed
@Fluf22 Fluf22 deleted the renovate/cloudflare-vitest-pool-workers-0.x branch March 23, 2026 18:33
algolia-bot added a commit that referenced this pull request Mar 23, 2026
…13.3 (#6113) (generated)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants