Packages

miniflare

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

Your version

4.20260710.0

15 Jul 2026Where it was published

4.20260730.0 is the newest release of 4.x.

In short

3 new1 internal

Release note

Minor Changes

  • Add unsafeEvictDurableObject() for targeted Durable Object eviction

    This lets users verify how a Durable Object recovers after its instance is torn down.

  • Allow listDurableObjectIds() to accept Durable Object class names as well as binding names.

Patch Changes

  • Add convenient logging for worker emails in the project directory. In addition to the system's temp directory, logs for emails sent by workers are also written to a local temp directory defined by the calling process, e.g for an simple text email sent via Wrangler this is .wrangler/tmp/email/<session>/email-text/<message-uuid>.txt (and related files) in the project root. Callers of Miniflare can control this location via the new defaultProjectTmpPath option, which Wrangler and Vite plugin now set automatically.

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.