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
6 new3 fixed2 internal
Release note
Minor Changes
Users are now able to configure DockerHub credentials and have containers reference images stored there.
DockerHub can be configured as follows:
echo $PAT_TOKEN | npx wrangler@latest containers registries configure docker.io --dockerhub-username=user --secret-name=DockerHub_PAT_Token
Containers can then specify an image from DockerHub in their
wrangler.jsoncas follows:"containers": { "image": "docker.io/namespace/image:tag", ... }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.
Add local dev validation for the experimental
secretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler devandvite devnow validate secrets declared insecrets.required. When required secrets are missing from.dev.varsor.env/process.env, a warning is logged listing the missing secret names.When
secretsis defined, only the keys listed insecrets.requiredare loaded. Additional keys in.dev.varsor.envare excluded. If you are not using.dev.vars, keys listed insecrets.requiredare loaded fromprocess.envas well as.env. TheCLOUDFLARE_INCLUDE_PROCESS_ENVenvironment variable is therefore not needed when using this feature.When
secretsis not defined, the existing behavior is unchanged.// wrangler.jsonc { "secrets": { "required": ["API_KEY", "DB_PASSWORD"], }, }Add type generation for the experimental
secretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler typesnow generates typed bindings from the names listed insecrets.required.When
secretsis defined at any config level, type generation uses it exclusively and no longer infers secret names from.dev.varsor.envfiles. This enables running type generation in environments where these files are not present.Per-environment secrets are supported. Each named environment produces its own interface, and the aggregated
Envmarks secrets that only appear in some environments as optional.When
secretsis not defined, the existing behavior is unchanged.// wrangler.jsonc { "secrets": { "required": ["API_KEY", "DB_PASSWORD"], }, }Add
wrangler containers registries credentialscommand for generating temporary push/pull credentialsThis command generates short-lived credentials for authenticating with the Cloudflare managed registry (
registry.cloudflare.com). Useful for CI/CD pipelines or local Docker authentication.# Generate push credentials (for uploading images) wrangler containers registries credentials registry.cloudflare.com --push # Generate pull credentials (for downloading images) wrangler containers registries credentials registry.cloudflare.com --pull # Generate credentials with both permissions wrangler containers registries credentials registry.cloudflare.com --push --pull # Custom expiration (default 15) wrangler containers registries credentials registry.cloudflare.com --push --expiration-minutes=30
Add configurable step limits for Workflows
You can now set a maximum number of steps for a Workflow instance via the
limits.stepsconfiguration in your Wrangler config. When a Workflow instance exceeds this limit, it will fail with an error indicating the limit was reached.// wrangler.jsonc { "workflows": [ { "binding": "MY_WORKFLOW", "name": "my-workflow", "class_name": "MyWorkflow", "limits": { "steps": 5000, }, }, ], }The
stepsvalue must be an integer between 1 and 25,000. If not specified, the default limit of 10,000 steps is used. Step limits are also enforced in local development viawrangler dev.
Patch Changes
Fix SolidStart autoconfig for projects using version 2.0.0-alpha or later
SolidStart v2.0.0-alpha introduced a breaking change where configuration moved from
app.config.(js|ts)tovite.config.(js|ts). Wrangler's autoconfig now detects the installed SolidStart version and based on it updates the appropriate configuration fileRemove temporary AI Search RPC workaround (no user-facing changes)
Fix
wrangler pipelines setupfailing for Data Catalog sinks on new buckets by using the correct R2 Catalog API error code (40401).
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.