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
4 fixed3 internal
Release note
Patch Changes
Fixed Durable Object missing migrations warning message.
If a Workers project includes some
durable_objectsin it but nomigrationswe show a warning to the user to addmigrationsto their config. However, this warning recommendednew_classesfor their migrations, but we instead now recommend all users usenew_sqlite_classesinstead.Allow
d1 execute,d1 export, andd1 migrationsto work locally withoutdatabase_idin config.Prevent
wrangler logoutfrom failing when the Wrangler configuration file is invalidPreviously, if your
wrangler.tomlorwrangler.jsonfile contained syntax errors or invalid values, thewrangler logoutcommand would fail. Now, configuration parsing errors are caught and logged at debug level, allowing you to log out regardless of the state of your configuration file.Sanitize commands and arguments in telemetry to prevent accidentally capturing sensitive information.
Changes:
Renamed telemetry fields from
command/argstosanitizedCommand/sanitizedArgsto distinguish from historical fields that may have contained sensitive data in older versionsCommand names now come from command definitions rather than user input, preventing accidental capture of sensitive data pasted as positional arguments
Sentry breadcrumbs now use the safe command name from definitions
Argument values are only included if explicitly allowed via
COMMAND_ARG_ALLOW_LISTArgument keys (names) are always included since they come from command definitions, not user input
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.