Change8

miniflare@5.20260811.0-alpha

📦 cloudflare-workersView on GitHub →
2 features🐛 2 fixes🔧 7 symbols

Summary

This release adds local support for deleting workflow instances and batches, and improves Node.js compatibility detection based on the compatibility date. It also updates dependencies and fixes issues with redundant compatibility flags.

Migration Steps

  1. To keep Node.js compatibility switched off on a newer compatibility date, specify both `no_nodejs_compat` and `no_nodejs_compat_v2`, since each flag has its own default.

✨ New Features

  • Add local support for `WorkflowInstance.delete()` and `Workflow.deleteBatch()`.
  • Detect Node.js compatibility from the compatibility date, now that `nodejs_compat` is enabled by default.

🐛 Bug Fixes

  • Ignore a `nodejs_compat` compatibility flag that the compatibility date already enables, preventing Workers with a compatibility date of `2026-08-04` or later and the `nodejs_compat` flag from failing to start locally.
  • The updated `@cloudflare/workers-types` now requires `delete()` on workflow instances and `deleteBatch()` on the workflow binding. These methods are now implemented in the local workflows simulator so that local dev and tests match the production API.

Affected Symbols