Durable Objects deleteAll() Now Includes Alarm Deletion
Key Points
- Single API call now clears both data and alarms
- Applies to KV-backed and SQLite-backed objects
- Requires 2026-02-24 compatibility date
Summary
Cloudflare has updated the deleteAll() method for Durable Objects to automatically delete alarms in addition to stored data. This change applies to Workers with compatibility date 2026-02-24 or later.
Key Points
deleteAll()now removes both user data and alarm metadata in a single call- Previously required separate
deleteAlarm()anddeleteAll()calls for complete cleanup - Change applies to both KV-backed and SQLite-backed Durable Objects
- Simplifies storage management with unified API behavior
- Requires compatibility date of 2026-02-24 or later to enable new behavior