Skip to content

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

Merged
renovate[bot] merged 1 commit intolatestfrom
renovate/cloudflare-vite-plugin-1.x
Mar 13, 2026
Merged

chore(deps): update dependency @cloudflare/vite-plugin to v1.28.0#8444
renovate[bot] merged 1 commit intolatestfrom
renovate/cloudflare-vite-plugin-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 7, 2026

ℹ️ 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.8.01.28.0 age confidence

Release Notes

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

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

v1.21.2

Compare Source

Patch Changes

v1.21.1

Compare Source

Patch Changes

v1.21.0

Compare Source

Minor Changes
  • #​11879 5c8ff05 Thanks @​jamesopstad! - Add support for child environments.

    This is to support React Server Components via @​vitejs/plugin-rsc and frameworks that build on top of it. A childEnvironments option is now added to the plugin config to enable using multiple environments within a single Worker. The parent environment can import modules from a child environment in order to access a separate module graph. For a typical RSC use case, the plugin might be configured as in the following example:

    export default defineConfig({
    	plugins: [
    		cloudflare({
    			viteEnvironment: {
    				name: "rsc",
    				childEnvironments: ["ssr"],
    			},
    		}),
    	],
    });
Patch Changes
  • #​11898 c17e971 Thanks @​petebacondarwin! - Bundle more third-party dependencies to reduce supply chain risk

    Previously, several small utility packages were listed as runtime dependencies and
    installed separately. These are now bundled directly into the published packages,
    reducing the number of external dependencies users need to trust.

    Bundled dependencies:

    • miniflare: acorn, acorn-walk, exit-hook, glob-to-regexp, stoppable
    • kv-asset-handler: mime
    • vite-plugin-cloudflare: @remix-run/node-fetch-server, defu, get-port, picocolors, tinyglobby
    • vitest-pool-workers: birpc, devalue, get-port, semver
  • Updated dependencies [e78186d, fe4faa3, fec8f5b, d39777f, 4714ca1, c17e971, 695b043]:

v1.20.3

Compare Source

Patch Changes
  • Updated dependencies [99b1f32]:
    • wrangler@​4.59.1

v1.20.2

Compare Source

Patch Changes

v1.20.1

Compare Source

Patch Changes
  • #​11807 fada563 Thanks @​jamesopstad! - Use rolldownOptions in plugin config when available.

    This improves compatibility with Vite 8 beta and removes warnings related to use of esbuildOptions.

  • Updated dependencies [97e67b9, 7d63fa5]:

    • miniflare@​4.20260107.0
    • wrangler@​4.58.0

v1.20.0

Compare Source

Minor Changes
  • #​11620 25f6672 Thanks @​dario-piotrowicz! - Expose a new getLocalWorkerdCompatibilityDate utility that allows callers to get the compatibility date of the locally installed workerd package.

  • #​11723 3455912 Thanks @​jamesopstad! - Add a post buildApp hook that builds Worker environments that haven't already been built.

    This ensures that auxiliary Workers are included in the build when using full-stack frameworks that define their own builder.buildApp function. Note that this feature is not supported with Vite 6 as the buildApp hook was introduced in Vite 7.

  • #​11738 c54f8da Thanks @​jamesopstad! - Add default Text module rule for .sql files.

    This enables importing .sql files directly in Wrangler and the Cloudflare Vite plugin without extra configuration.

Patch Changes

v1.19.0

Compare Source

Minor Changes
  • #​11670 3483b84 Thanks @​jamesopstad! - Provide the resolved entry Worker config in the second parameter to the auxiliary Worker config function. This makes it straightforward to inherit configuration from the entry W

Configuration

📅 Schedule: Branch creation - "before 8am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/cloudflare-vite-plugin-1.x branch from 83989a6 to 7dbb4b4 Compare March 10, 2026 23:11
@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 branch from 7dbb4b4 to efe6cf2 Compare March 13, 2026 15:22
@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 merged commit f0144cc into latest Mar 13, 2026
5 checks passed
@renovate renovate bot deleted the renovate/cloudflare-vite-plugin-1.x branch March 13, 2026 22:21
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