Packages

miniflare

4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.20250310.0

13 Mar 2025Where it was published

4.20260730.0 is the newest release of 4.x.

In short

2 breaking

  • Breaking

    The --node-compat flag and node_compat config properties are no longer supported as of Wrangler v4. Instead, use the nodejs_compat compatibility flag. This includes the functionality from legacy node_compat polyfills and natively implemented Node.js APIs. See developers.cloudflare.com/workers/runtime-apis/… for more information.

  • Breaking

    Packages in Workers SDK now support the versions of Node that Node itself supports (Current, Active, Maintenance). Currently, that includes Node v18, v20, and v22.

Release note

Major Changes

  • Breaking

    The --node-compat flag and node_compat config properties are no longer supported as of Wrangler v4. Instead, use the nodejs_compat compatibility flag. This includes the functionality from legacy node_compat polyfills and natively implemented Node.js APIs. See developers.cloudflare.com/workers/runtime-apis/… for more information.

    If you need to replicate the behaviour of the legacy node_compat feature, refer to developers.cloudflare.com/workers/wrangler/migr… for a detailed guide.

  • Breaking

    Packages in Workers SDK now support the versions of Node that Node itself supports (Current, Active, Maintenance). Currently, that includes Node v18, v20, and v22.

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.