Packages

wrangler

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

Your version

2.10.0

15 Feb 2023Where it was published

2.21.3 is the newest release of 2.x.

npm marks 2.10.0 as deprecated: Wrangler v2 is no longer supported. Please upgrade to Wrangler v4

In short

4 new5 fixed

Security

3 advisories affect 2.10.0; 3.114.17 fixes them

Release note

Minor Changes

  • Add mtls-certificate commands and binding support

    Functionality implemented first as an api, which is used in the cli standard
    api commands

    Note that this adds a new OAuth scope, so OAuth users will need to log out and
    log back in to use the new 'mtls-certificate' commands
    However, publishing with mtls-certifcate bindings (bindings of type
    'mtls_certificate') will work without the scope.

  • Upgrade miniflare to 2.12.0, including support for R2 multipart upload bindings, the nodejs_compat compatibility flag, D1 fixes and more!

  • Added additional fields to the output of wrangler deployments command. The additional fields are from the new value in the response annotations which includes workers/triggered_by and rollback_from

    Example:

    Deployment ID: Galaxy-Class  
    Created on: 2021-01-04T00:00:00.000000Z
    
    Trigger: Upload from Wrangler 🤠  
    Rollback from: MOCK-DEPLOYMENT-ID-2222

Patch Changes

  • Add wasm support in wrangler pages publish

    Currently it is not possible to import wasm modules in either Pages
    Functions or Pages Advanced Mode projects.

    This commit caries out work to address the aforementioned issue by
    enabling wasm module imports in wrangler pages publish. As a result,
    Pages users can now import their wasm modules withing their Functions
    or _worker.js files, and wrangler pages publish will correctly
    bundle everything and serve these "external" modules.

  • Fix internal middleware system to allow D1 databases and --test-scheduled to be used together

  • Make sure that the pages publish --no-bundle flag is correctly recognized

  • Don't throw an error when omitting preview_database_id, warn instead

  • Make it possible to run SQL against preview databases

  • You can now import Wasm modules in Pages Functions and Pages Functions Advanced Mode (_worker.js).
    This change specifically enables wasm module imports in wrangler pages functions build.
    As a result, Pages users can now import their wasm modules within their Functions or
    _worker.js files, and wrangler pages functions build will correctly bundle everything
    and output the expected result file.

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.