Packages

wrangler

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

Your version

3.1.1

20 Jun 2023Where it was published

3.114.17 is the newest release of 3.x.

In short

1 new6 fixed1 internal

Security

2 advisories affect 3.1.1; 3.114.17 fixes them

Release note

Patch Changes

  • Prevent wrangler pages dev from serving asset files outside of the build output directory

  • Allow context.data to be overriden in Pages Functions

  • In D1, lift error.cause into the error message

    Prior to this PR, folks had to console.log the error.cause property to understand why their D1 operations were failing. With this PR, error.cause will continue to work, but we'll also lift the cause into the error message.

  • Ensure that the script name is passed through to C3 from wrangler init

  • wrangler init ... -y now delegates to C3 without prompts (respects the -y flag)

  • Add the number of read queries and write queries in the last 24 hours to the d1 info command

  • Allow setting a D1 database ID when using wrangler pages dev by providing an optional =<ID> suffix to the argument like --d1 BINDING_NAME=database-id

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.