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
1 deprecated3 new2 fixed2 internal
- Deprecated
Deprecate SSH passthrough flags in
wrangler containers ssh
Release note
Minor Changes
- Deprecated
Deprecate SSH passthrough flags in
wrangler containers sshThe
--cipher,--log-file,--escape-char,--config-file,--pkcs11,--identity-file,--mac-spec,--option, and--tagflags are now deprecated. These flags expose OpenSSH-specific options that are tied to the current implementation. A future release will replace the underlying SSH transport, at which point these flags will be removed. They still function for now. Support disabling persistence in
unstable_startWorker()andunstable_dev()You can now disable persistence entirely by setting
persist: falsein thedevoptions:const worker = await unstable_dev("./src/worker.ts", { persist: false, });Or when using
unstable_startWorker():const worker = await unstable_startWorker({ entrypoint: "./src/worker.ts", dev: { persist: false, }, });This is useful for testing scenarios where you want to ensure a clean state on each run without any persisted data from previous runs.
Patch Changes
Add back support for wrangler d1 exports with multiple tables.
Example:
# All tables (default) wrangler d1 export db --output all-tables.sql # Single table (unchanged) wrangler d1 export db --output single-table.sql --table foo # Multiple tables (new) wrangler d1 export db --output multiple-tables.sql --table foo --table bar
vectorizecommands now output valid jsonThis fixes:
wrangler vectorize createwrangler vectorize infowrangler vectorize insertwrangler vectorize upsertwrangler vectorize listwrangler vectorize list-vectorswrangler vectorize list-metadata-index
Also,
wrangler vectorize create --jsonnow also includes thecreated_at,modified_onanddescriptionfields.Fix autoconfig for Astro v6 projects to skip wrangler config generation
Astro 6+ generates its own wrangler configuration on build, so autoconfig now detects the Astro version and skips creating a
wrangler.jsoncfile for projects using Astro 6 or later. This prevents conflicts between the autoconfig-generated config and Astro's built-in config generation.Add client-side validation for VPC service host flags
The
--hostname,--ipv4, and--ipv6flags onwrangler vpc service createandwrangler vpc service updatenow validate input before sending requests to the API. Previously, invalid values were accepted by the CLI and only rejected by the API with opaque error messages. Now users get clear, actionable error messages for common mistakes like passing a URL instead of a hostname, using an IP address in the--hostnameflag, or providing malformed IP addresses.
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.