Skip to content

Update dependency @cloudflare/vitest-plugin to v1.5.0 - #300

Merged
admdly merged 1 commit into
mainfrom
renovate/cloudflare-vitest-plugin-1.x
Nov 5, 2026
Merged

admdly merged 1 commit into
mainfrom
renovate/cloudflare-vitest-plugin-1.x

Conversation

@renovate

@renovate renovate Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vitest-plugin (source) 1.4.12 → 1.5.0 age confidence

Release Notes

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

v1.5.0

Compare Source

Minor Changes
  • #​16424 1598fd3 Thanks @​edmundhung! - Promote experimental.newConfig to a stable config option

    The experimental experimental.newConfig option is now the stable config option. Pass config: true to cloudflareTest() to load your Worker's bindings, entrypoint and compatibility settings from cloudflare.config.ts in the project root, or pass the path of a cloudflare.config.ts elsewhere:

    cloudflareTest({ config: true });
    cloudflareTest({ config: "./worker/cloudflare.config.ts" });

    config can't be combined with wrangler. miniflare options are merged over the Worker from cloudflare.config.ts, with miniflare values taking precedence. Config functions receive Vitest's mode as ctx.mode, which defaults to test and can be changed with --mode.

    If you're moving from experimental.newConfig, secrets are now read from Vite's envDir instead of the directory containing cloudflare.config.ts, and remote bindings authenticate with cf instead of Wrangler.

Patch Changes
  • #​16642 d38cb02 Thanks @​dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-02

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #​16623 51bbf8b Thanks @​petebacondarwin! - Deprecate shared tooling helper exports from Miniflare

    Miniflare continues to export getNodeCompat, NodeJSCompatMode, and getFreshSourceMapSupport for compatibility. These exports are deprecated and now use the implementations in @cloudflare/workers-utils. Add a dependency on that package and replace the Miniflare imports with:

    import {
      getNodeCompat,
      type NodeJSCompatMode,
    } from "@cloudflare/workers-utils/node-compat";
    import { getFreshSourceMapSupport } from "@cloudflare/workers-utils/sourcemap";

    Wrangler and the Cloudflare Vite and Vitest plugins now use the shared helpers directly. The helpers retain their behavior and can be imported without loading the Workers runtime.

    The deprecated Miniflare exports will be removed in a later release, allowing downstream tools such as cf to migrate and release independently first.

  • Updated dependencies [d38cb02, d38cb02, 51bbf8b, e5b1798]:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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.


Summary by cubic

Updates @cloudflare/vitest-plugin to 1.5.0. This promotes the experimental config option to stable and updates the default compatibility date to 2026-11-02.

If you used experimental.newConfig, replace it with config: true or a path to a cloudflare.config.ts. Secrets are now read from Vite's envDir, and remote bindings authenticate with cf instead of Wrangler.

Written for commit b055f9c. Summary will update on new commits.

Turn on auto-fix

@admdly
admdly merged commit 280b56a into main Nov 5, 2026
9 checks passed
@admdly
admdly deleted the renovate/cloudflare-vitest-plugin-1.x branch November 5, 2026 19:08
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.

1 participant