miniflare@4.20260710.0
📦 cloudflare-workersView on GitHub →
✨ 3 features🔧 3 symbols
Summary
This release introduces targeted Durable Object eviction and improved email logging for workers. It also updates dependencies for enhanced functionality and stability.
Migration Steps
- Callers of Miniflare can control the location of local email logs via the new `defaultProjectTmpPath` option.
✨ New Features
- Add `unsafeEvictDurableObject()` for targeted Durable Object eviction, allowing users to 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.
- Add convenient logging for worker emails in the project directory. Logs for emails sent by workers are now also written to a local temp directory defined by the calling process (e.g., `.wrangler/tmp/email/<session>/email-text/<message-uuid>.txt` in the project root).