Workers - @cloudflare/vitest-pool-workers renamed to @cloudflare/vitest-plugin
The Workers Vitest integration package has been renamed from @cloudflare/vitest-pool-workers to @cloudflare/vitest-plugin. Existing projects must update the dependency name and imports, with automated migration available via codemod.
Version 1 of the Workers Vitest integration is published as @cloudflare/vitest-plugin ↗. The package was formerly named @cloudflare/vitest-pool-workers.
The Vitest configuration API is unchanged. Existing projects must update the dependency name, package imports, and TypeScript types entries.
To migrate automatically, run:
npmyarnpnpmnpx @cloudflare/codemods vitest:pool-workers-to-vitest-pluginyarn @cloudflare/codemods vitest:pool-workers-to-vitest-pluginpnpm @cloudflare/codemods vitest:pool-workers-to-vitest-plugin
The codemod updates your dependency, imports, and test TypeScript configuration. For manual migration steps, refer to Migrate to Vitest plugin.
For outbound request mocks in Workers tests, use the @msw/cloudflare ↗ integration. Refer to Mock outbound requests.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
DNS - Configure Advanced Custom Nameservers with nameserver sets
Nameserver sets are now available in beta for Enterprise accounts, allowing you to group custom nameserver names with Cloudflare-assigned IP addresses and assign them to multiple zones. This new approach replaces legacy custom_ns sets with reusable, immutable objects that support up to 3 IPv4 and 3 IPv6 addresses per nameserver and can leverage Advanced anycast network groups for improved resiliency.
Emergency WAF managed rule for active RCE vulnerability
Cloudflare released an emergency WAF update with a new managed rule to block exploitation of a critical remote code execution vulnerability in popular web frameworks. The Generic Rules - Remote Code Execution detection prevents attackers from executing arbitrary system commands via malicious input with invalid path sequences.
Cloudflare API MCP server sends Workers Issues as MCP Events
The Cloudflare API MCP server now exposes Workers Issues as MCP Events through webhook subscriptions, allowing agents to receive real-time notifications when production failures are detected without polling. Clients can subscribe to cloudflare.alert.workers_observability_real_time_issue scoped to an account or individual Worker.