wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
4.167.0 is the newest release of 4.x.
In short
2 new3 fixed3 internal
Release note
Minor Changes
Add validation retry loops to pipelines setup command
The
wrangler pipelines setupcommand now prompts users to retry when validation errors occur, instead of failing the entire setup process. This includes:Validation retry prompts for pipeline names, bucket names, and field names
A "simple" mode for sink configuration that uses sensible defaults
Automatic bucket creation when buckets don't exist
Automatic Data Catalog enablement when not already active
This improves the setup experience by allowing users to correct mistakes without restarting the entire configuration flow.
Generate typed pipeline bindings from stream schemas
When running
wrangler types, pipeline bindings now generate TypeScript types based on the stream's schema definition. This gives you full autocomplete and type checking when sending data to your pipelines.// wrangler.json { "pipelines": [ { "binding": "ANALYTICS", "pipeline": "analytics-stream-id" }, ], }If your stream has a schema with fields like
user_id(string) andevent_count(int32), the generated types will be:declare namespace Cloudflare { type AnalyticsStreamRecord = { user_id: string; event_count: number }; interface Env { ANALYTICS: Pipeline<Cloudflare.AnalyticsStreamRecord>; } }For unstructured streams or when not authenticated, bindings fall back to the generic
Pipeline<PipelineRecord>type.
Patch Changes
Pass
--envflag to auxiliary workers in multi-worker modeWhen running
wrangler devwith multiple config files (e.g.-c ./apps/api/wrangler.jsonc -c ./apps/queues/wrangler.jsonc -e=dev), the--envflag was not being passed to auxiliary (non-primary) workers. This meant that environment-specific configuration (such as queue bindings) was not applied to auxiliary workers, causing features like queue consumers to not be triggered in local development.The maximum allowed delivery and retry delays for Queues is now 24 hours
Stop redacting
wrangler whoamioutput in non-interactive modewrangler whoamiis explicitly invoked to retrieve account info, so email and account names should always be visible. Redacting them in non-interactive/CI environments makes it difficult for coding agents and automated tools to identify which account to use. Other error messages that may appear unexpectedly in CI logs (e.g. multi-account selection errors) remain redacted.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.