Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2026

This PR contains the following updates:

Package Change Age Confidence
wrangler (source) 4.59.34.60.0 age confidence

Release Notes

cloudflare/workers-sdk (wrangler)

v4.60.0

Compare Source

Minor Changes
  • #​11113 bba0968 Thanks @​AmirSa12! - Add wrangler complete command for shell completion scripts (bash, zsh, powershell)

    Usage:

    # Bash
    wrangler complete bash >> ~/.bashrc
    
    # Zsh
    wrangler complete zsh >> ~/.zshrc
    
    # Fish
    wrangler complete fish >> ~/.config/fish/completions/wrangler.fish
    
    # PowerShell
    wrangler complete powershell > $PROFILE
    • Uses @bomb.sh/tab library for cross-shell compatibility
    • Completions are dynamically generated from experimental_getWranglerCommands() API
  • #​11893 f9e8a45 Thanks @​NuroDev! - wrangler types now generates per-environment TypeScript interfaces when named environments exist in your configuration.

    When your configuration has named environments (an env object), wrangler types now generates both:

    • Per-environment interfaces (e.g., StagingEnv, ProductionEnv) containing only the bindings explicitly declared in each environment, plus inherited secrets
    • An aggregated Env interface with all bindings from all environments (top-level + named environments), where:
      • Bindings present in all environments are required
      • Bindings not present in all environments are optional
      • Secrets are always required (since they're inherited everywhere)
      • Conflicting binding types across environments produce union types (e.g., KVNamespace | R2Bucket)

    However, if your config does not contain any environments, or you manually specify an environment via --env, wrangler types will continue to generate a single interface as before.

    Example:

    Given the following wrangler.jsonc:

    {
    	"name": "my-worker",
    	"kv_namespaces": [
    		{
    			"binding": "SHARED_KV",
    			"id": "abc123",
    		},
    	],
    	"env": {
    		"staging": {
    			"kv_namespaces": [
    				{ "binding": "SHARED_KV", "id": "staging-kv" },
    				{ "binding": "STAGING_CACHE", "id": "staging-cache" },
    			],
    		},
    	},
    }

    Running wrangler types will generate:

    declare namespace Cloudflare {
    	interface StagingEnv {
    		SHARED_KV: KVNamespace;
    		STAGING_CACHE: KVNamespace;
    	}
    	interface Env {
    		SHARED_KV: KVNamespace; // Required: in all environments
    		STAGING_CACHE?: KVNamespace; // Optional: only in staging
    	}
    }
    interface Env extends Cloudflare.Env {}
Patch Changes
  • #​12030 614bbd7 Thanks @​jbwcloudflare! - Fix wrangler pages project validate to respect file count limits from CF_PAGES_UPLOAD_JWT

  • #​11993 788bf78 Thanks @​dependabot! - chore: update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260116.0 1.20260120.0
  • #​12039 1375577 Thanks @​dimitropoulos! - Fixed the flag casing for the time period flag for the d1 insights command.

  • #​12026 c3407ad Thanks @​dario-piotrowicz! - Fix wrangler setup not automatically selecting workers as the target for new SvelteKit apps

    The Sveltekit adapter:cloudflare adapter now accepts two different targets workers or pages. Since the wrangler auto configuration only targets workers, wrangler should instruct the adapter to use the workers variant. (The auto configuration process would in any case not work if the user were to target pages.)

  • Updated dependencies [788bf78, ae108f0]:


Configuration

📅 Schedule: 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.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 20, 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
disclip 15cfd63 Commit Preview URL

Branch Preview URL
Jan 22 2026, 05:57 PM

@renovate renovate bot changed the title Update dependency wrangler to v4.59.3 Update dependency wrangler to v4.59.3 - autoclosed Jan 20, 2026
@renovate renovate bot closed this Jan 20, 2026
@renovate renovate bot deleted the renovate/wrangler-4.x-lockfile branch January 20, 2026 21:15
@renovate renovate bot changed the title Update dependency wrangler to v4.59.3 - autoclosed Update dependency wrangler to v4.60.0 Jan 22, 2026
@renovate renovate bot reopened this Jan 22, 2026
@renovate renovate bot force-pushed the renovate/wrangler-4.x-lockfile branch 2 times, most recently from f00f710 to 15cfd63 Compare January 22, 2026 17:56
@ryanlua ryanlua merged commit 5de09f1 into main Jan 22, 2026
7 checks passed
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.

2 participants