Skip to content

chore(deps): update dependency @cloudflare/vite-plugin to v1.31.0#171

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vite-plugin-1.x-lockfile
Open

chore(deps): update dependency @cloudflare/vite-plugin to v1.31.0#171
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vite-plugin-1.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Nov 27, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vite-plugin (source) 1.14.21.31.0 age confidence

Release Notes

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

v1.31.0

Compare Source

Minor Changes
  • #​13011 b9b7e9d Thanks @​ruifigueira! - Add experimental headful browser rendering support for local development

    Experimental: This feature may be removed or changed without notice.

    When developing locally with the Browser Rendering API, you can enable headful (visible) mode via the X_BROWSER_HEADFUL environment variable to see the browser while debugging:

    X_BROWSER_HEADFUL=true wrangler dev
    X_BROWSER_HEADFUL=true vite dev

    Note: when using @cloudflare/playwright, two Chrome windows may appear — the initial blank page and the one created by browser.newPage(). This is expected behavior due to how Playwright handles browser contexts via CDP.

  • #​13051 d5bffde Thanks @​dario-piotrowicz! - Update getLocalWorkerdCompatibilityDate to return today's date

    The re-exported getLocalWorkerdCompatibilityDate function from @cloudflare/vite-plugin previously resolved the workerd compatibility date by traversing the local miniflare installation, which was unreliable in some package manager setups. It now simply returns today's date. The function is also marked as deprecated — callers should just use today's date instead, for example like so: new Date().toISOString().slice(0, 10)

Patch Changes
  • #​13125 f76652c Thanks @​kayluhb! - Fix SyntaxError when SSR-transformed module ends with a single-line comment

    When module code ends with a // comment (e.g. //# sourceMappingURL=... preserved by vite-plus), the closing } of the async wrapper in runInlinedModule was absorbed into the comment, causing SyntaxError: Unexpected end of input. Adding a newline before the closing brace prevents this.

  • #​13188 110002c Thanks @​shulaoda! - Normalize the return value of getAssetsDirectory() with vite.normalizePath() to ensure assets.directory in the output wrangler.json always uses forward slashes

  • Updated dependencies [9c4035b, 5d29055, fb67a18, d5bffde, ab44870, 48d83ca, b2f53ea, b9b7e9d, 14e72eb, 4dc94fd, b2f53ea, d5bffde, 48d83ca]:

    • wrangler@​4.80.0
    • miniflare@​4.20260401.0

v1.30.3

Compare Source

Patch Changes
  • #​13111 f214760 Thanks @​dependabot! - Add missing connect key to WorkerEntrypoint and DurableObject key lists in the runner worker

    The connect method was added to the WorkerEntrypoint and DurableObject types in workerd 1.20260329.1 but was missing from the WORKER_ENTRYPOINT_KEYS and DURABLE_OBJECT_KEYS arrays used for RPC property access in the Vite plugin runner worker. This caused the compile-time exhaustiveness check to fail with the updated workers-types.

  • Updated dependencies [ffbc268, 9eff028, ed20a9b, f214760, 746858a, 9aad27f, 1fc5518, b539dc7, 9282493, a532eea, cd0e971, d4c6158, 2565b1d]:

    • wrangler@​4.79.0
    • miniflare@​4.20260329.0

v1.30.2

Compare Source

Patch Changes

v1.30.1

Compare Source

Patch Changes
  • #​12851 86a40f0 Thanks @​jamesopstad! - Fix a bug that prevented using subpath imports for additional module types

    You can now use subpath imports for additional module types (.html, .txt, .sql, .bin, .wasm) by defining them in your package.json imports field:

    // package.json
    {
      "imports": {
        "#templates/page": "./src/templates/page.html"
      }
    }
    import page from "#templates/page";
    
    export default {
      fetch() {
        return new Response(page, {
          headers: { "Content-Type": "text/html" },
        });
      },
    } satisfies ExportedHandler;
  • Updated dependencies [593c4db, b8f3309, 451dae3, 5aaaab2, 5aaaab2, f8516dd, 9c9fe30, 379f2a2, c2e9163, 6a6449e, 9a1cf29, 875da60]:

    • wrangler@​4.77.0
    • miniflare@​4.20260317.2

v1.30.0

Compare Source

Minor Changes
  • #​12848 ce48b77 Thanks @​emily-shen! - Enable local explorer by default

    This ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting /cdn-cgi/explorer during local development.

    Note: this feature is still experimental, and can be disabled by setting the env var X_LOCAL_EXPLORER=false.

Patch Changes
  • #​12942 4f7fd79 Thanks @​jamesopstad! - Avoid splicing into the middleware stack for Vite versions other than v6

    Previously, the plugin spliced its pre-middleware into the Vite middleware stack relative to viteCachedTransformMiddleware. In Vite 8, this middleware can be omitted in some scenarios, which would cause the splice to fail. The plugin now registers pre-middleware using server.middlewares.use() directly, which places it in the correct position for Vite 7+. For Vite 6, the middleware is moved to the correct position in a post hook.

  • Updated dependencies [782df44, 3c988e2, 62545c9, d028ffb, cb71403, 71ab981, 3a1c149, 7c3c6c6, ce48b77, 8729f3d]:

v1.29.1

Compare Source

Patch Changes
  • #​12936 cff91ff Thanks @​jamesopstad! - Select the appropriate vite/module-runner implementation during dev based on the user's Vite version

    The plugin now builds against Vite 8 and ships two bundled copies of vite/module-runner: one from Vite 8 and one from Vite 7.1.12 (the last version before a breaking change to the module runner in Vite 7.2.0). At dev server startup, the correct implementation is selected based on the user's installed Vite version. This is Vite 8's module runner for users on Vite >= 7.2.0, and the legacy module runner for users on older versions.

  • Updated dependencies [c9b3184, 13df6c7, df0d112, 81ee98e, c600ce0, f509d13, 3b81fc6, 0a7fef9]:

    • wrangler@​4.75.0
    • miniflare@​4.20260317.0

v1.29.0

Compare Source

Minor Changes
  • #​12885 12505c9 Thanks @​edmundhung! - Add Vite 8 to the supported peer dependency range

    The package now lists Vite 8 in its peer dependency range, so installs with Vite 8 no longer show a peer dependency warning.

Patch Changes
  • #​12859 876108a Thanks @​dario-piotrowicz! - Fix crash when plugins send HMR events before runner initialization

    Previously, if another Vite plugin (such as vite-plugin-vue-devtools) sent HMR events during configureServer before the Cloudflare plugin had initialized its runner, the dev server would crash with AssertionError: The WebSocket is undefined. The environment's WebSocket send operations are now deferred until the runner is fully initialized, allowing early HMR events to be handled gracefully.

  • Updated dependencies [ade0aed, 2b9a186, 65f1092, 7b0d8f5, 351e1e1, 2b9a186]:

    • miniflare@​4.20260312.1
    • wrangler@​4.74.0

v1.28.0

Compare Source

Minor Changes
Patch Changes
  • #​12834 64edac7 Thanks @​jamesopstad! - Warn when the assets field is provided for auxiliary Workers

    Auxiliary Workers do not support static assets. Previously, the assets field was silently ignored but we now warn if it is used.

  • #​12794 b980af6 Thanks @​aron-cf! - Fix Sandbox SDK preview URL WebSocket routing

    When using Sandbox SDK preview URLs, WebSocket requests using the vite-hmr protocol could be dropped before they reached the worker, causing HMR to fail. The plugin now forwards Sandbox WebSocket traffic and preserves the original request origin/host so worker proxy logic receives the correct URL.

  • Updated dependencies [f7de0fd, ff543e3, 8e89e85, e63539d, 8d1e130, 6ee18e1, ecc7f79, 1dda1c8, 4bb61b9]:

    • miniflare@​4.20260312.0
    • wrangler@​4.73.0

v1.27.0

Compare Source

Minor Changes
  • #​12826 de65c58 Thanks @​gabivlj! - Enable container egress interception in local dev without the experimental compatibility flag

    Container local development now always prepares the egress interceptor sidecar image needed for interceptOutboundHttp(). This makes container-to-Worker interception available by default in Wrangler, Miniflare, and the Cloudflare Vite plugin.

Patch Changes

v1.26.1

Compare Source

Patch Changes

v1.26.0

Compare Source

Minor Changes
  • #​12649 35b2c56 Thanks @​gabivlj! - Add experimental support for containers to workers communication with interceptOutboundHttp

    This feature is experimental and requires adding the "experimental" compatibility flag to your Wrangler configuration.

  • #​12701 23a365a Thanks @​jamesopstad! - Add local dev validation for the experimental secrets configuration property

    When the new secrets property is defined, wrangler dev and vite dev now validate secrets declared in secrets.required. When required secrets are missing from .dev.vars or .env/process.env, a warning is logged listing the missing secret names.

    When secrets is defined, only the keys listed in secrets.required are loaded. Additional keys in .dev.vars or .env are excluded. If you are not using .dev.vars, keys listed in secrets.required are loaded from process.env as well as .env. The CLOUDFLARE_INCLUDE_PROCESS_ENV environment variable is therefore not needed when using this feature.

    When secrets is not defined, the existing behavior is unchanged.

    // wrangler.jsonc
    {
    	"secrets": {
    		"required": ["API_KEY", "DB_PASSWORD"],
    	},
    }
Patch Changes

v1.25.6

Compare Source

Patch Changes

v1.25.5

Compare Source

Patch Changes
  • #​12628 494ee7b Thanks @​Master-Hash! - Append Cloudflare defaults to existing .assetsignore files during build output

    When a project includes a PUBLIC_DIR/.assetsignore, the plugin now preserves those rules and appends the required wrangler.json and .dev.vars entries instead of replacing the file content.

  • Updated dependencies [3d6e421, 294297e]:

    • wrangler@​4.68.1
    • miniflare@​4.20260302.0

v1.25.4

Compare Source

Patch Changes

v1.25.3

Compare Source

Patch Changes

v1.25.2

Compare Source

Patch Changes

v1.25.1

Compare Source

Patch Changes

v1.25.0

Compare Source

Minor Changes
  • #​12535 bd06ad2 Thanks @​edmundhung! - Set { serverHandler: false } automatically when using @vitejs/plugin-rsc

    By default, @vitejs/plugin-rsc adds dev and preview server middleware that imports the RSC entry in Node.js. This fails with cloudflare:* imports (ERR_UNSUPPORTED_ESM_URL_SCHEME) and is unnecessary since the Cloudflare plugin handles requests via workerd. Users no longer need to pass rsc({ serverHandler: false }) manually.

Patch Changes

v1.24.0

Compare Source

Minor Changes
  • #​12446 1231a2e Thanks @​jamesopstad! - Infer upload_source_maps setting in the output Worker config from the build.sourcemap setting in the Vite config.

    If build.sourcemap is enabled for a Worker environment, as in the following example, "upload_source_maps": true will now automatically be added to the output wrangler.json file.
    This removes the need to additionally specify the upload_source_maps property in the input Worker config.

    export default defineConfig({
    	environments: {
    		my_worker: {
    			build: {
    				sourcemap: true,
    			},
    		},
    	},
    	plugins: [cloudflare()],
    });

    Note that if upload_source_maps is set in the input Worker config, this value will take precedence.
    This makes it possible to generate source maps without uploading them.

Patch Changes

v1.23.1

Compare Source

Patch Changes
  • #​12381 98283fa Thanks @​jamesopstad! - Avoid collecting nodejs_compat warnings during dependency optimization.

    Previously, a custom plugin was provided during dependency optimization to collect warnings when Node.js built-ins were imported and the nodejs_compat flag was not enabled.
    Because optimized dependencies are cached, the warning was only displayed when dependencies changed.
    Additionally, it sometimes included false positives from dependencies that were no longer used.
    We now always externalize Node.js built-ins during dependency optimization and collect the warnings at runtime.
    This is more consistent with how warnings are collected for direct imports of Node.js built-ins.

  • Updated dependencies [ee9b81f, 63f1adb, ba13de9, 447daa3, fe3af35, bd4bb98, dab4bc9, 83adb2c, 18c0784]:

    • wrangler@​4.63.0
    • miniflare@​4.20260205.0

v1.23.0

Compare Source

Minor Changes
  • #​11697 67a4ab1 Thanks @​jamesopstad! - Add experimental.prerenderWorker option to the plugin config.

    This enables configuring a dedicated Worker for prerendering at build time. This is an experimental feature and may change or be removed at any time.

  • #​12214 4db3864 Thanks @​jamesopstad! - Use Hook Filters to optimize plugin performance with Vite 8. This skips unnecessary Rust-to-JS calls with Rolldown powered Vite.

Patch Changes

v1.22.1

Compare Source

Patch Changes

v1.22.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 enabled auto-merge (squash) November 27, 2025 20:58
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 27, 2025

Version Preview URL: ❌deployment failed.

@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 726a773 to 9629430 Compare December 3, 2025 19:12
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.15.3 chore(deps): update dependency @cloudflare/vite-plugin to v1.16.1 Dec 3, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 9629430 to b3caeae Compare December 5, 2025 05:03
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.16.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.17.0 Dec 5, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from b3caeae to d348eda Compare December 11, 2025 12:41
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.17.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.17.1 Dec 11, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from d348eda to d68606b Compare December 16, 2025 13:50
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.17.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.18.0 Dec 16, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from d68606b to 4e40eda Compare December 18, 2025 14:43
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.18.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.19.0 Dec 18, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 4e40eda to 89a79b8 Compare December 29, 2025 21:35
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.19.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.17.1 Dec 29, 2025
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 89a79b8 to 93a277a Compare December 31, 2025 13:02
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 93a277a to c1e6f2f Compare January 7, 2026 14:49
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.17.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.20.0 Jan 7, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from c1e6f2f to 3298ae5 Compare January 8, 2026 14:08
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.20.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.20.1 Jan 8, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 3298ae5 to 3539f62 Compare January 13, 2026 14:01
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.20.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.20.2 Jan 13, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 3539f62 to 8343a4f Compare January 13, 2026 17:43
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.20.2 chore(deps): update dependency @cloudflare/vite-plugin to v1.20.3 Jan 13, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 8343a4f to f2c9854 Compare January 15, 2026 14:50
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.20.3 chore(deps): update dependency @cloudflare/vite-plugin to v1.21.0 Jan 15, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from f2c9854 to f964001 Compare January 20, 2026 18:11
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.21.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.21.1 Jan 20, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from f964001 to 4cb17ff Compare January 22, 2026 12:43
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.21.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.21.2 Jan 22, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 4cb17ff to d539ec7 Compare January 27, 2026 14:40
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 830b9ad to 6c1ec63 Compare February 17, 2026 15:57
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.1 Feb 17, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 6c1ec63 to c8da2d2 Compare February 19, 2026 19:48
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.2 Feb 19, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from c8da2d2 to 670251a Compare February 23, 2026 18:10
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.2 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.3 Feb 23, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 670251a to 94aed35 Compare February 23, 2026 21:00
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.3 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.4 Feb 23, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 94aed35 to 0db8b30 Compare February 24, 2026 18:50
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.4 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.5 Feb 24, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 0db8b30 to e217067 Compare February 26, 2026 16:54
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.5 chore(deps): update dependency @cloudflare/vite-plugin to v1.25.6 Feb 26, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from e217067 to 6bffb83 Compare March 4, 2026 01:08
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.25.6 chore(deps): update dependency @cloudflare/vite-plugin to v1.26.0 Mar 4, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch 2 times, most recently from 9116373 to c6fd6d7 Compare March 5, 2026 22:39
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.26.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.26.1 Mar 5, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from c6fd6d7 to e95bfac Compare March 10, 2026 23:18
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.26.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.27.0 Mar 10, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from e95bfac to 36dce6a Compare March 13, 2026 10:02
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.27.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.28.0 Mar 13, 2026
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.28.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.29.0 Mar 16, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch 2 times, most recently from 3ffa496 to bd1295b Compare March 17, 2026 21:18
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.29.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.29.1 Mar 17, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from bd1295b to 862b464 Compare March 20, 2026 08:42
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.29.1 chore(deps): update dependency @cloudflare/vite-plugin to v1.30.0 Mar 20, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x-lockfile branch from 862b464 to 530feeb Compare March 24, 2026 13:17
@renovate renovate bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.30.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.30.1 Mar 24, 2026
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.

0 participants