Skip to content

deps: update dependency @cloudflare/vite-plugin to v1.12.1 - autoclosed#96

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

deps: update dependency @cloudflare/vite-plugin to v1.12.1 - autoclosed#96
renovate[bot] wants to merge 1 commit intomainfrom
deps/cloudflare-vite-plugin-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 29, 2025

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vite-plugin (source) 1.0.12 -> 1.12.1 age confidence

Release Notes

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

v1.12.1

Compare Source

Patch Changes

v1.12.0

Compare Source

Minor Changes
Patch Changes

v1.11.7

Compare Source

Patch Changes
  • #​10415 718fffc Thanks @​jamesopstad! - Exclude Cloudflare built-ins from client dependency optimization.
    Some frameworks allow users to mix client and server code in the same file and then extract the server code.
    As the dependency optimization may happen before the server code is extracted, we now exclude Cloudflare built-ins from client optimization.
  • Updated dependencies [d304055, f534c0d, da40571, 0a96e69, f9f7519, 4728c68]:
    • wrangler@​4.32.0
    • miniflare@​4.20250816.1

v1.11.6

Compare Source

Patch Changes

v1.11.5

Compare Source

Patch Changes

v1.11.4

Compare Source

Patch Changes
  • Updated dependencies [5020694]:
    • miniflare@​4.20250813.0
    • wrangler@​4.29.1

v1.11.3

Compare Source

Patch Changes

v1.11.2

Compare Source

Patch Changes

v1.11.1

Compare Source

Patch Changes

v1.11.0

Compare Source

Minor Changes
  • #​9914 a24c9d8 Thanks @​petebacondarwin! - Add support for loading local dev vars from .env files

    If there are no .dev.vars or .dev.vars.<environment> files, when running Wrangler or the Vite plugin in local development mode,
    they will now try to load additional local dev vars from .env, .env.local, .env.<environment> and .env.<environment>.local files.

    These loaded vars are only for local development and have no effect in production to the vars in a deployed Worker.
    Wrangler and Vite will continue to load .env files in order to configure themselves as a tool.

    Further details:

    • In vite build the local vars will be computed and stored in a .dev.vars file next to the compiled Worker code, so that vite preview can use them.
    • The wrangler types command will similarly read the .env files (if no .dev.vars files) in order to generate the Env interface.
    • If the CLOUDFLARE_LOAD_DEV_VARS_FROM_DOT_ENV environment variable is "false" then local dev variables will not be loaded from .env files.
    • If the CLOUDFLARE_INCLUDE_PROCESS_ENV environment variable is "true" then all the environment variables found on process.env will be included as local dev vars.
    • Wrangler (but not Vite plugin) also now supports the --env-file=<path/to/dotenv/file> global CLI option. This affects both loading .env to configure Wrangler the tool as well as loading local dev vars.
Patch Changes
  • #​10071 4a4049c Thanks @​CarmenPopoviciu! - feat(vite-plugin): Add Containers-related info logs

    Add logs, when a Worker has Containers configured, providing information about container build status, and how to rebuild containers during local development.

  • Updated dependencies [9b61f44, 0f7820e, a24c9d8, e9bb8d3]:

    • miniflare@​4.20250730.0
    • wrangler@​4.27.0

v1.10.2

Compare Source

Patch Changes
  • #​10048 dbdbb8c Thanks @​vicb! - pass the compatibility date and flags to the unenv preset

  • #​10096 687655f Thanks @​vicb! - bump unenv to 2.0.0-rc.19

  • #​10040 26ffa05 Thanks @​CarmenPopoviciu! - feat(vite-plugin): Add containers support in vite preview

    Adds support for Cloudflare Containers in vite preview. Please note that at the time of this PR a container image can only specify the path to a Dockerfile. Support for registry links will be added in a later version.

  • #​10054 bc910f9 Thanks @​eltigerchino! - Add worker to the default conditions for resolving packages

    This makes it consistent with the conditions used when bundling Worker code with Wrangler.

  • #​10061 f8a80a8 Thanks @​emily-shen! - fix: properly set the socket path that the container engine is listening on.

    Previously, this was only picking up the value set in Wrangler config under dev.containerEngine, but this value can also be set from env vars or automatically read from the current docker context.

  • Updated dependencies [82a5b2e, f8f7352, 2df1d06, f8a80a8, dbdbb8c, 5991a9c, 687655f, 755a249]:

v1.10.1

Compare Source

Patch Changes

v1.10.0

Compare Source

Minor Changes
  • #​10001 5796ca9 Thanks @​jamesopstad! - We now automatically inject the following HMR code into your Worker entry file:

    if (import.meta.hot) {
    	import.meta.hot.accept();
    }

    This prevents file changes from invalidating the full module graph and improves HMR performance in development.

Patch Changes
  • #​10038 a355327 Thanks @​emily-shen! - Resolve containers.image (if it is a path to a Dockerfile) to an absolute path in the deploy config.

  • #​9891 dd416e9 Thanks @​hi-ogawa! - set build.rollupOptions.platform: "neutral" on rolldown-vite to prevent Rolldown's node:module based require polyfill from breaking the build.

  • #​9819 0c4008c Thanks @​CarmenPopoviciu! - feat(vite-plugin): Add containers support in vite dev

    Adds support for Cloudflare Containers in vite dev. Please note that at the time of this PR a container image can only specify the path to a Dockerfile. Support for registry links will be added in a later version, as will containers support in vite preview.

  • Updated dependencies [189fe23, c02b067, 7e5585d, b0217f9, e87198a, ad02ad3, 0c4008c]:

v1.9.6

Compare Source

Patch Changes

v1.9.5

Compare Source

Patch Changes

v1.9.4

Compare Source

Patch Changes
  • Updated dependencies [c01c4ee, 3743896]:
    • wrangler@​4.24.3
    • miniflare@​4.20250709.0

v1.9.3

Compare Source

Patch Changes
  • Updated dependencies [80cc834]:
    • wrangler@​4.24.2

v1.9.2

Compare Source

Patch Changes

v1.9.1

Compare Source

Patch Changes

v1.9.0

Compare Source

Minor Changes
  • #​9535 56dc5c4 Thanks @​penalosa! - In 2023 we announced breakpoint debugging support for Workers, which meant that you could easily debug your Worker code in Wrangler's built-in devtools (accessible via the [d] hotkey) as well as multiple other devtools clients, including VSCode. For most developers, breakpoint debugging via VSCode is the most natural flow, but until now it's required manually configuring a launch.json file, running wrangler dev, and connecting via VSCode's built-in debugger.

    Now, using VSCode's built-in JavaScript Debug Terminals, there are just two steps: open a JS debug terminal and run vite dev or vite preview. VSCode will automatically connect to your running Worker (even if you're running multiple Workers at once!) and start a debugging session.

  • #​9803 df04528 Thanks @​penalosa! - Support Workers Analytics Engine & Rate Limiting bindings

Patch Changes

v1.8.0

Compare Source

Minor Changes
  • #​9773 45e97e8 Thanks @​jamesopstad! - Vite 7 is now supported and included as a peer dependency. We continue to also support Vite 6.

  • #​9753 67130b3 Thanks @​jamesopstad! - Allow optimizeDeps.exclude to be specified for Worker environments. This enables other plugins to exclude dependencies from optimization that require access to virtual modules. Note that excluded dependencies must be ESM.

v1.7.5

Compare Source

Patch Changes

v1.7.4

Compare Source

Patch Changes

v1.7.3

Compare Source

Patch Changes

v1.7.2

Compare Source

Patch Changes

v1.7.1

Compare Source

Patch Changes

v1.7.0

Compare Source

Minor Changes
  • #​9575 5601fc3 Thanks @​jamesopstad! - Support run_worker_first.

    run_worker_first has been expanded to accept an array of routes that should go directly to your Worker. Additionally, routes can be omitted by adding a ! prefix. These negative routes will be treated as assets.

    This is a new way to define routing explicitly and, when provided, overrides the implicit routing behavior.

    {
    	"assets": {
    		"not_found_handling": "single-page-application",
    		"run_worker_first": [
    			"/api/*", // These routes go directly to the Worker
    			"!/api/docs/*", // These routes are still treated as assets
    		],
    	},
    }

    The previous behavior of setting "run_worker_first": true to always invoke your Worker is also now supported.

Patch Changes

v1.6.0

Compare Source

Minor Changes
  • #​9510 590d69b Thanks @​jamesopstad! - Enhanced build support for Workers with assets.

    Assets that are imported in the entry Worker are now automatically moved to the client build output. This enables importing assets in your Worker and accessing them via the assets binding. See Static Asset Handling to find out about all the ways you can import assets in Vite.

    Additionally, a broader range of build scenarios are now supported. These are:

    • Assets only build with client entry/entries
    • Assets only build with no client entry/entries that includes public directory assets
    • Worker(s) + assets build with client entry/entries
    • Worker(s) + assets build with no client entry/entries that includes imported and/or public directory assets
    • Worker(s) build with no assets
Patch Changes

v1.5.1

Compare Source

Patch Changes

v1.5.0

Compare Source

Minor Changes
  • #​9341 2cef3ab Thanks @​jamesopstad! - Support loading all asset types via assets binding. Previously only HTML assets could be loaded via the assets binding. The binding now integrates with Vite's internal middleware to load all asset types.
Patch Changes
  • Updated dependencies [db2cdc6]:
    • wrangler@​4.19.1

v1.4.0

Compare Source

Minor Changes
  • #​9173 fac2f9d Thanks @​edmundhung! - Enable cross-process Service bindings and Tail workers with the Dev Registry

    You can now run workers in separate dev sessions—whether vite dev or wrangler dev—and they’ll automatically discover and connect to each other:

    Worker A

    // ./worker-a/wrangler.jsonc
    {
    	"name": "worker-a",
    	"main": "./src/index.ts",
    	"services": [
    		{
    			"binding": "SERVICE",
    			"service": "worker-b",
    		},
    	],
    }

    Worker B

    // ./worker-b/wrangler.jsonc
    {
    	"name": "worker-b",
    	"main": "./src/index.ts",
    	"tail_consumers": [
    		{
    			"service": "worker-a",
    		},
    	],
    }

    Then run both workers in separate terminals:

v1.3.1

Compare Source

Patch Changes
  • #​9387 e39a45f Thanks @​jamesopstad! - Prevent leaking Miniflare server logs. Logs that were previously filtered were leaking as they were changed to include colors. We now override the new Miniflare Log.logReady method with a noop rather than filtering the logs.

  • #​9308 [d3a6eb3](https://redirect.gith


Configuration

📅 Schedule: Branch creation - "after 10:00 before 18:00 every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Never, 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 added the deps label Jul 29, 2025
@renovate renovate bot enabled auto-merge July 29, 2025 06:09
@renovate renovate bot added the deps label Jul 29, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Jul 29, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 7 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 28, reused 0, downloaded 0, added 0
Progress: resolved 107, reused 0, downloaded 0, added 0
Progress: resolved 207, reused 0, downloaded 0, added 0
Progress: resolved 254, reused 0, downloaded 0, added 0
Progress: resolved 401, reused 0, downloaded 0, added 0
Progress: resolved 567, reused 0, downloaded 0, added 0
Progress: resolved 601, reused 0, downloaded 0, added 0
Progress: resolved 772, reused 0, downloaded 0, added 0
Progress: resolved 825, reused 0, downloaded 0, added 0
 WARN  4 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, lodash.get@4.4.2, rimraf@3.0.2
Progress: resolved 986, reused 0, downloaded 0, added 0, done
 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

apps/web
└─┬ @cloudflare/vite-plugin 1.12.1
  └── ✕ unmet peer wrangler@^4.33.1: found 4.33.0
hint: To disable failing on peer dependency issues, add the following to pnpm-workspace.yaml in your project root:

  strictPeerDependencies: false



@777837603
Copy link

الوو السلام عليك ورحمة الله وبركاته ****

@777837603
Copy link

الوو السلام عليك ورحمة الله وبركاته

@renovate renovate bot force-pushed the deps/cloudflare-vite-plugin-1.x branch from d3ee696 to bf44982 Compare August 30, 2025 01:04
@renovate renovate bot changed the title deps: update dependency @cloudflare/vite-plugin to v1.10.1 deps: update dependency @cloudflare/vite-plugin to v1.12.1 Aug 30, 2025
@renovate renovate bot changed the title deps: update dependency @cloudflare/vite-plugin to v1.12.1 deps: update dependency @cloudflare/vite-plugin to v1.12.1 - autoclosed Oct 11, 2025
@renovate renovate bot closed this Oct 11, 2025
auto-merge was automatically disabled October 11, 2025 21:08

Pull request was closed

@renovate renovate bot deleted the deps/cloudflare-vite-plugin-1.x branch October 11, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant