Packages

wrangler

4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed

Your version

4.73.0

13 Mar 2026Where it was published

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 ssh

    The --cipher, --log-file, --escape-char, --config-file, --pkcs11, --identity-file, --mac-spec, --option, and --tag flags 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() and unstable_dev()

    You can now disable persistence entirely by setting persist: false in the dev options:

    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
  • vectorize commands now output valid json

    This fixes:

    • wrangler vectorize create

    • wrangler vectorize info

    • wrangler vectorize insert

    • wrangler vectorize upsert

    • wrangler vectorize list

    • wrangler vectorize list-vectors

    • wrangler vectorize list-metadata-index

    Also, wrangler vectorize create --json now also includes the created_at, modified_on and description fields.

  • 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.jsonc file 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 --ipv6 flags on wrangler vpc service create and wrangler vpc service update now 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 --hostname flag, 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.