wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
3.114.17 is the newest release of 3.x.
In short
3 new4 fixed1 internal
Security
1 advisory affects 3.29.0; 3.114.17 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
Release note
Minor Changes
Add new
--env-interfacetowrangler typesAllow users to specify the name of the interface that they want
wrangler typesto generate for theenvparameter, via the new CLI flag--env-interfaceExample:
wrangler types --env-interface CloudflareEnv
generates
interface CloudflareEnv {}instead of
interface Env {}Add new
pathpositional argument towrangler typesAllow users to specify the path to the typings (.d.ts) file they want
wrangler typesto generateExample:
wrangler types ./my-env.d.ts
generates a
my-env.d.tsfile in the current directory
instead of creating aworker-configuration.d.tsfile
Patch Changes
Include command run in the
wrangler typescommentIn the comment added to the
.d.tsfile generated bywrangler types
include the command run to generated the fileAllow Pages Functions to import built-in node:* modules, even when not bundling with wrangler
Don't strip
.pyextensions from Python modulesMake
wrangler typeshonor top level config argumentThe
wrangler typescommand currently ignores the-c|--configargument
(although it is still getting shown in the command's help message). Make
sure that the command honors the flag.
Also, if no config file is detected
present a warning to the userMake the
wrangler typescommand pick up local secret keys from.dev.varsMake sure that the
wrangler typescommand correctly picks up
secret keys defined in.dev.varsand includes them in the generated
file (marking them as genericstringtypes of course)
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.