Packages

wrangler

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

Your version

3.61.0

18 Jun 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

1 new4 fixed4 changed7 internal

Security

1 advisory affects 3.61.0; 3.114.17 fixes them

Release note

Minor Changes

  • Allow Durable Object migrations to be overridable in environments

    By making the migrations key inheritable, users can provide different migrations
    for each wrangler.toml environment.

    Resolves #729

Patch Changes

  • Hybrid nodejs compat now supports requiring the default export of a CJS module

    Fixes #6028

  • Don't check expiry dates on custom certs

    Fixes #5964

    For wrangler dev, we don't have to check whether certificates have expired when they're provided by the user.

  • Avoid esbuild warning when running dev/bundle

    I've been experimenting with esbuild 0.21.4 with wrangler. It's mostly been fine. But I get this warning every time

    ▲ [WARNING] Import "__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__" will always be undefined because there is no matching export in "src/index.ts" [import-is-undefined]
    
        .wrangler/tmp/bundle-Z3YXTd/middleware-insertion-facade.js:8:23:  
          8 │ .....(OTHER_EXPORTS.__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__ ??),  
            ╵

    This is because esbuild@0.18.5 enabled a warning by default whenever an undefined import is accessed on an imports object. However we abuse imports to inject stuff in middleware.test.ts. A simple fix is to only inject that code in tests.

  • Wrangler is now able to upload files to local R2 buckets above the 300 MiB limit

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.