Skip to content

chore(deps): update wrangler to v1.40.0#17

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/wrangler
Open

chore(deps): update wrangler to v1.40.0#17
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/wrangler

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 22, 2026

This PR contains the following updates:

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

Release Notes

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

v1.40.0

Compare Source

Minor Changes
  • #​14013 3cf9d0e Thanks @​jamesopstad! - Add experimental experimental.newConfig option to load the entry Worker's configuration from cloudflare.config.ts

    This is an experimental, opt-in feature. When enabled, the plugin loads the entry Worker's configuration from a cloudflare.config.ts file instead of the usual wrangler.json / wrangler.jsonc / wrangler.toml.

    Pass true to enable with defaults, or an object to customise behaviour. Currently the only sub-option is types.generate (defaults to true), which writes a worker-configuration.d.ts file next to the config. This enables typed env and exports for your Worker and currently assumes that you have @cloudflare/workers-types installed.

    // vite.config.ts
    import { defineConfig } from "vite";
    import { cloudflare } from "@​cloudflare/vite-plugin";
    
    export default defineConfig({
      plugins: [
        cloudflare({
          experimental: {
            newConfig: true,
          },
        }),
      ],
    });
    // cloudflare.config.ts
    import {
    	defineWorker,
    	bindings,
    } from "@​cloudflare/vite-plugin/experimental-config";
    import * as entrypoint from "./src/index.ts" with { type: "cf-worker" };
    
    export default defineWorker((ctx) => ({
    	name: "my-worker",
    	entrypoint,
    	compatibilityDate: "2026-05-18",
    	env: {
    		MY_TEXT: bindings.text(`The mode is ${ctx.mode}`),
    		MY_KV: bindings.kv(),
    	},
    }));

    A few limitations apply while the feature is experimental:

    • configPath cannot be combined with experimental.newConfig. The entry Worker is always loaded from cloudflare.config.ts at the project root.
    • auxiliaryWorkers are not yet supported with experimental.newConfig.

    Because this is experimental, the option, the cloudflare.config.ts schema, and the @cloudflare/vite-plugin/experimental-config exports may change in any release.

Patch Changes

v1.39.2

Compare Source

Patch Changes
  • #​13893 d8a16e7 Thanks @​penalosa! - Add an experimental, internal cf-vite delegate binary

    This adds an experimental bin/cf-vite binary that is spawned by Cloudflare's own parent tooling to drive the plugin as a long-running dev-server subprocess. It is not part of the plugin's public API surface, is not intended to be invoked directly, and its contract may change at any time without notice.

  • #​14117 3c86121 Thanks @​aicayzer! - Forward response headers from the Worker on WebSocket upgrade responses

    Headers set on a new Response(null, { status: 101, webSocket, headers }) returned from the Worker are now propagated to the upgrade response sent to the browser during vite dev. Previously the headers were dropped, so cookies (Set-Cookie) and custom headers (X-*) on WebSocket handshake responses were invisible client-side — even though they were delivered correctly by wrangler dev.

  • Updated dependencies [b210c5e, aec1bb8, e06cbb7, 9a26191, 5565823, 4ef790b, 890fca7, 6fc9777, 337e912, 8e7b74f, e86489a, 42288d4, 65b5f9e, 3a746ac, 64ef9fd, 94b29f7]:

    • wrangler@​4.97.0
    • miniflare@​4.20260601.0

v1.39.1

Compare Source

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

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 requested a review from gameroman May 22, 2026 22:46
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 22, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
colorproven-userscript dad1ce8 Commit Preview URL

Branch Preview URL
Jun 05 2026, 10:48 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 22, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
base-elements dad1ce8 Commit Preview URL

Branch Preview URL
Jun 05 2026, 10:48 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 22, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
history dad1ce8 Commit Preview URL

Branch Preview URL
Jun 05 2026, 10:48 PM

@renovate renovate Bot force-pushed the renovate/wrangler branch 2 times, most recently from 634577b to bef0293 Compare May 24, 2026 00:53
@renovate renovate Bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.37.3 chore(deps): update dependency @cloudflare/vite-plugin to v1.38.0 May 24, 2026
@renovate renovate Bot force-pushed the renovate/wrangler branch from bef0293 to 5740fb7 Compare May 28, 2026 02:13
@renovate renovate Bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.38.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.39.0 May 28, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.39.0 chore(deps): update dependency @cloudflare/vite-plugin to v1.39.0 - autoclosed May 30, 2026
@renovate renovate Bot closed this May 30, 2026
@renovate renovate Bot deleted the renovate/wrangler branch May 30, 2026 23:34
@renovate renovate Bot changed the title chore(deps): update dependency @cloudflare/vite-plugin to v1.39.0 - autoclosed chore(deps): update wrangler to v1.39.1 Jun 3, 2026
@renovate renovate Bot reopened this Jun 3, 2026
@renovate renovate Bot force-pushed the renovate/wrangler branch 3 times, most recently from ef47c34 to 1beaad2 Compare June 4, 2026 00:09
@renovate renovate Bot changed the title chore(deps): update wrangler to v1.39.1 chore(deps): update wrangler to v1.39.2 Jun 4, 2026
@gameroman gameroman changed the title chore(deps): update wrangler to v1.39.2 chore(deps): update @cloudflare/vite-plugin to v1.39.2 Jun 4, 2026
@renovate renovate Bot force-pushed the renovate/wrangler branch from 1beaad2 to 40d05a6 Compare June 4, 2026 10:41
@renovate renovate Bot changed the title chore(deps): update @cloudflare/vite-plugin to v1.39.2 chore(deps): update wrangler to v1.39.2 Jun 4, 2026
@renovate renovate Bot force-pushed the renovate/wrangler branch from 40d05a6 to dad1ce8 Compare June 5, 2026 22:48
@renovate renovate Bot changed the title chore(deps): update wrangler to v1.39.2 chore(deps): update wrangler to v1.40.0 Jun 5, 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.

1 participant