Sign inConnect your agent
infochanged

Durable Objects, Workers - New `us` jurisdiction for Durable Objects

Announced
Tags
Durable-Objects, Workers
Severity
info, set by reef/rss-rule-v1
Source
https://developers.cloudflare.com/changelog/post/2026-06-26-durable-objects-us-jurisdiction/

<p>Durable Objects now supports a <code>us</code> <a href="https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction">jurisdiction</a>, letting you create Durable Objects that only run and store data within the United States. Use the <code>us</code> jurisdiction when you need to keep a Durable Object's compute and storage inside the United States to meet data residency requirements.</p> <p>Create a namespace restricted to the <code>us</code> jurisdiction the same way as any other jurisdiction:</p> <figure class="nb-code-figure" data-nb-lang="js"><pre class="astro-code astro-code-themes github-light github-dark nb-shiki-c6xiwz" tabindex="0" data-language="js" data-nb-lang="js"><code><span class="line"><span class="nb-shiki-21nrsd">// Worker</span></span> <span class="line"><span class="nb-shiki-1itgoe">export</span><span class="nb-shiki-1itgoe"> default</span><span class="nb-shiki-140thh"> {</span></span> <span class="line"><span class="nb-shiki-1itgoe"> async</span><span class="nb-shiki-1t8gfj"> fetch</span><span class="nb-shiki-140thh">(</span><span class="nb-shiki-1jdh33">request</span><span class="nb-shiki-140thh">, </span><span class="nb-shiki-1jdh33">env</span><span class="nb-shiki-140thh">) {</span></span> <span class="line"><span class="nb-shiki-1itgoe"> const</span><span class="nb-shiki-dzsirb"> usSubnamespace</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-140thh"> env.</span><span class="nb-shiki-dzsirb">MY_DURABLE_OBJECT</span><span class="nb-shiki-140thh">.</span><span class="nb-shiki-1t8gfj">jurisdiction</span><span class="nb-shiki-140thh">(</span><span class="nb-shiki-mdbnqw">"us"</span><span class="nb-shiki-140thh">);</span></span> <span class="line"><span class="nb-shiki-1itgoe"> const</span><span class="nb-shiki-dzsirb"> stub</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-140thh"> usSubnamespace.</span><span class="nb-shiki-1t8gfj">getByName</span><span class="nb-shiki-140thh">(</span><span class="nb-shiki-mdbnqw">"general"</span><span class="nb-shiki-140thh">);</span></span> <span class="line"><span class="nb-shiki-1itgoe"> return</span><span class="nb-shiki-140thh"> stub.</span><span class="nb-shiki-1t8gfj">fetch</span><span class="nb-shiki-140thh">(request);</span></span> <span class="line"><span class="nb-shiki-140thh"> },</span></span> <span class="line"><span class="nb-shiki-140thh">};</span></span></code></pre></figure> <p>Workers may still access Durable Objects constrained to the <code>us</code> jurisdiction from anywhere in the world. The jurisdiction constraint only controls where the Durable Object itself runs and persists data.</p> <p>For the full list of supported jurisdictions, refer to <a href="https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction">Data location — Restrict Durable Objects to a jurisdiction</a>.</p>

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.