Software Engineering

Durable Objects, Workers - New getByName() API to access Durable Objects

Cloudflare Developer Platform Changelog · 2025-08-21

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...

Feedback