You can now create a client (a Durable Object stub ) to a Durable Object with the new getByName method, removing the need to convert Durable Object names to IDs and then create a stub. // Before: (1) translate name to ID then (2) get a client const objectId = env . MYDURABLEOBJECT . idFromName ( "foo" ) ; // or .new...
Durable Objects, Workers - New getByName() API to access Durable Objects
Cloudflare Developer Platform Changelog · 2025-08-21
Related items
Durable Objects, Workers - Access Durable Object name via `ctx.id.name`
When your Worker accesses a Durable Object via idFromName() or getByName() , the same name is now available on ctx.id.name inside the object — no need to pass it through method arguments or persist it in storage. This brings the runtime behavior in line with the Workers runtime types . This is especially useful for...
Durable Objects, Workers - New Best Practices guide for Durable Objects
A new Rules of Durable Objects guide is now available, providing opinionated best practices for building effective Durable Objects applications. This guide covers design patterns, storage strategies, concurrency, and common anti-patterns to avoid. Key guidance includes: Design around your "atom" of coordination — Cr...
Durable Objects, Workers - Durable Objects on Workers Free plan
Durable Objects can now be used with zero commitment on the Workers Free plan allowing you to build AI agents with Agents SDK , collaboration tools, and real-time applications like chat or multiplayer games. Durable Objects let you build stateful, serverless applications with millions of tiny coordination instances...
Durable Objects, Workers - deleteAll() now deletes Durable Object alarm
deleteAll() now deletes a Durable Object alarm in addition to stored data for Workers with a compatibility date of 2026-02-24 or later. This change simplifies clearing a Durable Object's storage with a single API call. Previously, deleteAll() only deleted user-stored data for an object. Alarm usage stores metadata i...
Workers, Durable Objects - Durable Objects are now supported in Python Workers
You can now create Durable Objects using Python Workers . A Durable Object is a special kind of Cloudflare Worker which uniquely combines compute with storage, enabling stateful long-running applications which run close to your users. For more info see here . You can define a Durable Object in Python in a similar wa...
Durable Objects, Workers - Billing for SQLite Storage
Storage billing for SQLite-backed Durable Objects will be enabled in January 2026, with a target date of January 7, 2026 (no earlier). To view your SQLite storage usage, go to the Durable Objects page Go to Durable Objects If you do not want to incur costs, please take action such as optimizing queries or deleting u...