chore(deps): bump @cloudflare/vitest-plugin from 1.8.1 to 1.9.2
Bumps @cloudflare/vitest-plugin from 1.8.1 to 1.9.2.
Release notes
Sourced from @cloudflare/vitest-plugin's releases.
@cloudflare/vitest-plugin@1.9.2Patch Changes
- Updated dependencies [
3d228ba]:
@cloudflare/vitest-plugin@1.9.1Patch Changes
#17070
657179dThanks@dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#16879
5970e6aThanks@edmundhung! - Throw fromreadD1Migrations()when the migrations directory doesn't existPassing options with a missing
migrationsDirused to return no migrations, so a typo silently applied nothing. It now throws "No migrations present at …", as Wrangler does. Passing a directory path that doesn't exist throws the same error. A migrations directory that can't be read now also throws when you pass options, and both forms name the directory in the error.#17108
65f6f33Thanks@Hebilicious! - Resolve the runner'svitest/workerimport from the plugin, not from the project rootThe runner is a virtual module,
/index.mjs, so Vite resolved itsvitest/workerimport from the project root. When the root could not resolvevitest, as in a pnpm workspace whose root package does not depend on it, no test file ran and Workers threwNo such module "vitest/worker". When a parent directory had anothervitestversion, the runner loaded that version and Vitest failed to find the runner. The plugin now resolvesvitest/workerfrom its own package, so the runner uses the same Vitest as the pool.Updated dependencies [
657179d,657179d,7afc49c,086706d,5b45f32,00413bb,5bc7dba,086706d]:
@cloudflare/vitest-plugin@1.9.0Minor Changes
#16174
629f135Thanks@james-elicx! - Remove the dependency onwranglerThe Vitest plugin no longer depends on
wrangler. Reading the Wrangler configuration file, generating Miniflare options, loading local variables and serving the PagesASSETSbinding now use shared workers-sdk packages that are bundled into the plugin. Installing the plugin no longer installswrangleras well. If your project runs thewranglerCLI (for examplewrangler types), addwranglerto your owndevDependencies.Patch Changes
#17031
95fd4c2Thanks@dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-19Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#17043
4f5b118Thanks@petebacondarwin! - Update Undici to 7.30.2 to include upstream security fixesThis patch includes six upstream security fixes covering caching, redirects, and Subresource Integrity verification. Update the shared Undici dependency and matching types together so affected packages ship the patched version.
#17035
1b563dbThanks@petebacondarwin! - Fix remote bindings authentication with API tokens scoped to an individual WorkerRemote bindings now create preview sessions through the Worker-scoped endpoint. When the response includes a usable exchange URL, its hostname is used without account-wide Workers subdomain access; otherwise, the existing account subdomain lookup or registration is used. This applies to
getPlatformProxyand remote bindings in Wrangler, the Cloudflare Vite plugin, and the Vitest integration. Tokens still need permission to update the named Worker.Updated dependencies [
8712fc5,95fd4c2,95fd4c2,8f45554,4f5b118,8f45554]:
@cloudflare/vitest-plugin@1.8.5Patch Changes
... (truncated)
Changelog
Sourced from @cloudflare/vitest-plugin's changelog.
1.9.2
Patch Changes
- Updated dependencies [
3d228ba]:1.9.1
Patch Changes
#17070
657179dThanks@dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#16879
5970e6aThanks@edmundhung! - Throw fromreadD1Migrations()when the migrations directory doesn't existPassing options with a missing
migrationsDirused to return no migrations, so a typo silently applied nothing. It now throws "No migrations present at …", as Wrangler does. Passing a directory path that doesn't exist throws the same error. A migrations directory that can't be read now also throws when you pass options, and both forms name the directory in the error.#17108
65f6f33Thanks@Hebilicious! - Resolve the runner'svitest/workerimport from the plugin, not from the project rootThe runner is a virtual module,
/index.mjs, so Vite resolved itsvitest/workerimport from the project root. When the root could not resolvevitest, as in a pnpm workspace whose root package does not depend on it, no test file ran and Workers threwNo such module "vitest/worker". When a parent directory had anothervitestversion, the runner loaded that version and Vitest failed to find the runner. The plugin now resolvesvitest/workerfrom its own package, so the runner uses the same Vitest as the pool.Updated dependencies [
657179d,657179d,7afc49c,086706d,5b45f32,00413bb,5bc7dba,086706d]:1.9.0
Minor Changes
#16174
629f135Thanks@james-elicx! - Remove the dependency onwranglerThe Vitest plugin no longer depends on
wrangler. Reading the Wrangler configuration file, generating Miniflare options, loading local variables and serving the PagesASSETSbinding now use shared workers-sdk packages that are bundled into the plugin. Installing the plugin no longer installswrangleras well. If your project runs thewranglerCLI (for examplewrangler types), addwranglerto your owndevDependencies.Patch Changes
#17031
95fd4c2Thanks@dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-19Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#17043
4f5b118Thanks@petebacondarwin! - Update Undici to 7.30.2 to include upstream security fixesThis patch includes six upstream security fixes covering caching, redirects, and Subresource Integrity verification. Update the shared Undici dependency and matching types together so affected packages ship the patched version.
#17035
1b563dbThanks@petebacondarwin! - Fix remote bindings authentication with API tokens scoped to an individual WorkerRemote bindings now create preview sessions through the Worker-scoped endpoint. When the response includes a usable exchange URL, its hostname is used without account-wide Workers subdomain access; otherwise, the existing account subdomain lookup or registration is used. This applies to
getPlatformProxyand remote bindings in Wrangler, the Cloudflare Vite plugin, and the Vitest integration. Tokens still need permission to update the named Worker.Updated dependencies [
8712fc5,95fd4c2,95fd4c2,8f45554,4f5b118,8f45554]:
... (truncated)
Commits
4dff55aVersion Packages (#17135)3d228ba[miniflare] List Durable Object IDs only by class name (#17133)1af3c3aVersion Packages (#17097)65f6f33[vitest-plugin] Resolve the runner's vitest/worker import from the plugin (#1...5970e6a[workers-utils] Share D1 migration reading and applying with the Vitest plugi...27b3f71Version Packages (#17027)629f135[vitest-plugin] Remove wrangler dependency (#16174)eac12d1Fix type errors in tests and Vitest config (#17046)5b44e5eVersion Packages (#16978)6750663[wrangler] Migrate all remaining tsup builds to tsdown (#14578)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @cloudflare/vitest-plugin from 1.8.1 to 1.9.2. The plugin no longer depends on wrangler, so wrangler is no longer installed transitively and @cloudflare/workers-types is no longer a peer dependency.
- If you run
wranglerCLI commands (for examplewrangler types), addwranglerto your owndevDependencies. - Includes fixes for remote bindings auth with Worker-scoped tokens, D1 migrations now throwing on a missing migrations directory, and
vitest/workerresolving from the plugin instead of the project root.