@cloudflare/vitest-plugin
1.4.6 · 20 Oct 2026MIT624.2k / weekRepositoryHomepagenpmAtom feed
Latest releases
All 40 releases1.4.6
20 Oct 2026Dispose Workflow step results and introspection modifiers after use
Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries.
Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation.
Fail with an error instead of hanging when local dev requests can't work under Bun
Bun's
fetch()ignores the undicidispatcherthat Miniflare routes requests through (oven-sh/bun#39247). Under Bun,createTestHarness()'sserver.fetch()andserver.getWorker()'sfetch(),email()andscheduled()now throw aUserError, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws aUserError. Each of these used to hang with no error.server.getWorker().getEnv()andgetExport()keep working under Bun.
Patch Changes
Dispose Workflow step results and introspection modifiers after use
Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries.
Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation.
Fail with an error instead of hanging when local dev requests can't work under Bun
Bun's
fetch()ignores the undicidispatcherthat Miniflare routes requests through (oven-sh/bun#39247). Under Bun,createTestHarness()'sserver.fetch()andserver.getWorker()'sfetch(),email()andscheduled()now throw aUserError, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws aUserError. Each of these used to hang with no error.server.getWorker().getEnv()andgetExport()keep working under Bun.
1.4.5
19 Oct 2026Fix test runs slowing down file after file, and stalling, with
isolate: falseWith
isolate: false, Vitest hands a worker's module runner to the pool again for every test file the worker runs, and the pool wrapped the runner's module fetches in one more layer each time, so imports got slower with every file until runs stalled. The pool now patches each module runner once.
Patch Changes
Fix test runs slowing down file after file, and stalling, with
isolate: falseWith
isolate: false, Vitest hands a worker's module runner to the pool again for every test file the worker runs, and the pool wrapped the runner's module fetches in one more layer each time, so imports got slower with every file until runs stalled. The pool now patches each module runner once.
1.4.4
16 Oct 2026Only updates dependencies:miniflare 5.20261012.1-betawrangler 4.151.1
1.4.3
15 Oct 2026Fix V8 coverage failing with Vitest 5.0.4
Tests using V8 coverage with Vitest 5.0.4 no longer fail with an assertion error during teardown.
Fix Workers tests failing with Vitest's filesystem module cache
This supports Vitest 4.1's
test.experimental.fsModuleCacheand Vitest 5'stest.fsModuleCache.
1.4.1 – 1.4.22 releases that only update dependenciesminiflare 5.20261012.0-betawrangler 4.151.0Show each
Dependency tracking · free for 3 projects
Know when your own dependencies move
@cloudflare/vitest-plugin shipped a new major in the last 12 months, among 40 releases. Inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 21 Oct 2026. Releases and advisories last read 21 Oct 2026.