<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Changelog | D1</title><description>Updates to D1</description><link>https://developers.cloudflare.com/d1/platform/release-notes</link><item><title>D1 - D1 can configure jurisdictions for data localization</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-can-configure-jurisdictions-for-data-localization</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-can-configure-jurisdictions-for-data-localization</guid><description>&lt;p&gt;You can now set a &lt;a href=&quot;https://developers.cloudflare.com/d1/configuration/data-location/&quot;&gt;jurisdiction&lt;/a&gt; when creating a D1 database to guarantee where your database runs and stores data.&lt;/p&gt;
</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 automatically retries read-only queries</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-automatically-retries-read-only-queries</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-automatically-retries-read-only-queries</guid><description>&lt;p&gt;D1 now detects read-only queries and automatically attempts up to two retries to execute those queries in the event of failures with retryable errors. You can access the number of execution attempts in the returned &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/return-object/#d1result&quot;&gt;response metadata&lt;/a&gt; property &lt;code&gt;total_attempts&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;At the moment, only read-only queries are retried, that is, queries containing only the following SQLite keywords: &lt;code&gt;SELECT&lt;/code&gt;, &lt;code&gt;EXPLAIN&lt;/code&gt;, &lt;code&gt;WITH&lt;/code&gt;. Queries containing any &lt;a href=&quot;https://sqlite.org/lang_keywords.html&quot;&gt;SQLite keyword&lt;/a&gt; that leads to database writes are not retried.&lt;/p&gt;
&lt;p&gt;The retry success ratio among read-only retryable errors varies from 5% all the way up to 95%, depending on the underlying error and its duration (like network errors or other internal errors).&lt;/p&gt;
&lt;p&gt;The retry success ratio among all retryable errors is lower, indicating that there are write-queries that could be retried. Therefore, we recommend D1 users to continue applying &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/retry-queries/&quot;&gt;retries in their own code&lt;/a&gt; for queries that are not read-only but are idempotent according to the business logic of the application.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/d1-auto-retry-success-ratio.yPw8B0tB_Z1kzKe0.webp&quot; alt=&quot;D1 automatically query retries success ratio&quot;&gt;&lt;/p&gt;
&lt;p&gt;D1 ensures that any retry attempt does not cause database writes, making the automatic retries safe from side-effects, even if a query causing changes slips through the read-only detection. D1 achieves this by checking for modifications after every query execution, and if any write occurred due to a retry attempt, the query is rolled back.&lt;/p&gt;
&lt;p&gt;The read-only query detection heuristics are simple for now, and there is room for improvement to capture more cases of queries that can be retried, so this is just the beginning.&lt;/p&gt;
</description><pubDate>Thu, 11 Sep 2025 00:00:00 GMT</pubDate></item><item><title>D1 - Maximum D1 storage per account for the Workers paid plan is now 1 TB</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#maximum-d1-storage-per-account-for-the-workers-paid-plan-is-now-1-tb</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#maximum-d1-storage-per-account-for-the-workers-paid-plan-is-now-1-tb</guid><description>&lt;p&gt;The maximum D1 storage per account for users on the Workers paid plan has been increased from 250 GB to 1 TB.&lt;/p&gt;
</description><pubDate>Tue, 01 Jul 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 alpha database backup access removed</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-database-backup-access-removed</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-database-backup-access-removed</guid><description>&lt;p&gt;Following the removal of query access to D1 alpha databases on &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2024-08-23&quot;&gt;2024-08-23&lt;/a&gt;, D1 alpha database backups can no longer be accessed or created with &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/backups/&quot;&gt;&lt;code&gt;wrangler d1 backup&lt;/code&gt;&lt;/a&gt;, available with wrangler v3.&lt;/p&gt;
&lt;p&gt;If you want to retain a backup of your D1 alpha database, please use &lt;code&gt;wrangler d1 backup&lt;/code&gt; before 2025-07-01. A D1 alpha backup can be used to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/alpha-migration/#5-create-a-new-d1-database&quot;&gt;migrate&lt;/a&gt; to a newly created D1 database in its generally available state.&lt;/p&gt;
</description><pubDate>Tue, 01 Jul 2025 00:00:00 GMT</pubDate></item><item><title>D1 - 50-500ms Faster D1 REST API Requests</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#50-500ms-faster-d1-rest-api-requests</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#50-500ms-faster-d1-rest-api-requests</guid><description>&lt;p&gt;Users using Cloudflare&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/api/resources/d1/&quot;&gt;REST API&lt;/a&gt; to query their D1 database can see lower end-to-end request latency now that D1 authentication is performed at the closest Cloudflare network data center that received the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare&amp;#39;s core, centralized data centers, which added network round trips and latency.&lt;/p&gt;
&lt;p&gt;Latency improvements range from 50-500 ms depending on request location and &lt;a href=&quot;https://developers.cloudflare.com/d1/configuration/data-location/&quot;&gt;database location&lt;/a&gt; and only apply to the REST API. REST API requests and databases outside the United States see a bigger benefit since Cloudflare&amp;#39;s primary core data centers reside in the United States.&lt;/p&gt;
&lt;p&gt;D1 query endpoints like &lt;code&gt;/query&lt;/code&gt; and &lt;code&gt;/raw&lt;/code&gt; have the most noticeable improvements since they no longer access Cloudflare&amp;#39;s core data centers. D1 control plane endpoints such as those to create and delete databases see smaller improvements, since they still require access to Cloudflare&amp;#39;s core data centers for other control plane metadata.&lt;/p&gt;
</description><pubDate>Fri, 30 May 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 HTTP API permissions bug fix</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-http-api-permissions-bug-fix</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-http-api-permissions-bug-fix</guid><description>&lt;p&gt;A permissions bug that allowed Cloudflare account and user &lt;a href=&quot;https://developers.cloudflare.com/fundamentals/api/get-started/account-owned-tokens/&quot;&gt;API tokens&lt;/a&gt; with &lt;code&gt;D1:Read&lt;/code&gt; permission and &lt;code&gt;Edit&lt;/code&gt; permission on another Cloudflare product to perform D1 database writes is fixed. &lt;code&gt;D1:Edit&lt;/code&gt; permission is required for any database writes via HTTP API.&lt;/p&gt;
&lt;p&gt;If you were using an existing API token without &lt;code&gt;D1:Edit&lt;/code&gt; permission to make edits to a D1 database via the HTTP API, then you will need to &lt;a href=&quot;https://developers.cloudflare.com/fundamentals/api/get-started/create-token/&quot;&gt;create or edit API tokens&lt;/a&gt; to explicitly include &lt;code&gt;D1:Edit&lt;/code&gt; permission.&lt;/p&gt;
</description><pubDate>Fri, 02 May 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 Read Replication Public Beta</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-read-replication-public-beta</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-read-replication-public-beta</guid><description>&lt;p&gt;D1 read replication is available in public beta to help lower average latency and increase overall throughput for read-heavy applications like e-commerce websites or content management tools.&lt;/p&gt;
&lt;p&gt;Workers can leverage read-only database copies, called read replicas, by using D1 &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/read-replication&quot;&gt;Sessions API&lt;/a&gt;. A session encapsulates all the queries from one logical session for your application. For example, a session may correspond to all queries coming from a particular web browser session. With Sessions API, D1 queries in a session are guaranteed to be &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/read-replication/#replica-lag-and-consistency-model&quot;&gt;sequentially consistent&lt;/a&gt; to avoid data consistency pitfalls. D1 &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/time-travel/#bookmarks&quot;&gt;bookmarks&lt;/a&gt; can be used from a previous session to ensure logical consistency between sessions.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-ts&quot;&gt;// retrieve bookmark from previous session stored in HTTP header
const bookmark = request.headers.get(&amp;quot;x-d1-bookmark&amp;quot;) ?? &amp;quot;first-unconstrained&amp;quot;;

const session = env.DB.withSession(bookmark);
const result = await session
  .prepare(`SELECT * FROM Customers WHERE CompanyName = &amp;#39;Bs Beverages&amp;#39;`)
  .run();
// store bookmark for a future session
response.headers.set(&amp;quot;x-d1-bookmark&amp;quot;, session.getBookmark() ?? &amp;quot;&amp;quot;);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Read replicas are automatically created by Cloudflare (currently one in each supported &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/read-replication/#read-replica-locations&quot;&gt;D1 region&lt;/a&gt;), are active/inactive based on query traffic, and are transparently routed to by Cloudflare at no additional cost.&lt;/p&gt;
&lt;p&gt;To checkout D1 read replication, deploy the following Worker code using Sessions API, which will prompt you to create a D1 database and enable read replication on said database.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/main/d1-starter-sessions-api&quot;&gt;&lt;img src=&quot;https://deploy.workers.cloudflare.com/button&quot; alt=&quot;Deploy to Cloudflare&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To learn more about how read replication was implemented, go to our &lt;a href=&quot;https://blog.cloudflare.com/d1-read-replication-beta&quot;&gt;blog post&lt;/a&gt;.&lt;/p&gt;
</description><pubDate>Thu, 10 Apr 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 supports `PRAGMA optimize`</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-supports-pragma-optimize</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-supports-pragma-optimize</guid><description>&lt;p&gt;D1 now supports &lt;code&gt;PRAGMA optimize&lt;/code&gt; command, which can improve database query performance. It is recommended to run this command after a schema change (for example, after creating an index). Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/sql-api/sql-statements/#pragma-optimize&quot;&gt;&lt;code&gt;PRAGMA optimize&lt;/code&gt;&lt;/a&gt; for more information.&lt;/p&gt;
</description><pubDate>Wed, 19 Feb 2025 00:00:00 GMT</pubDate></item><item><title>D1 - Fixed bug with D1 read-only access via UI and /query REST API.</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#fixed-bug-with-d1-read-only-access-via-ui-and-query-rest-api</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#fixed-bug-with-d1-read-only-access-via-ui-and-query-rest-api</guid><description>&lt;p&gt;Fixed a bug with D1 permissions which allowed users with read-only roles via the UI and users with read-only API tokens via the &lt;code&gt;/query&lt;/code&gt; &lt;a href=&quot;https://developers.cloudflare.com/api/resources/d1/subresources/database/methods/query/&quot;&gt;REST API&lt;/a&gt; to execute queries that modified databases. UI actions via the &lt;code&gt;Tables&lt;/code&gt; tab, such as creating and deleting tables, were incorrectly allowed with read-only access. However, UI actions via the &lt;code&gt;Console&lt;/code&gt; tab were not affected by this bug and correctly required write access.&lt;/p&gt;
&lt;p&gt;Write queries with read-only access will now fail. If you relied on the previous incorrect behavior, please assign the correct roles to users or permissions to API tokens to perform D1 write queries.&lt;/p&gt;
</description><pubDate>Tue, 04 Feb 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 will begin enforcing its free tier limits from the 10th of February 2025.</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-will-begin-enforcing-its-free-tier-limits-from-the-10th-of-february-2025</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-will-begin-enforcing-its-free-tier-limits-from-the-10th-of-february-2025</guid><description>&lt;p&gt;D1 will begin enforcing the daily &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/limits&quot;&gt;free tier limits&lt;/a&gt; from 2025-02-10. These limits only apply to accounts on the Workers Free plan.&lt;/p&gt;
&lt;p&gt;From 2025-02-10, if you do not take any action and exceed the daily free tier limits, queries to D1 databases via the Workers API and/or REST API will return errors until limits reset daily at 00:00 UTC.&lt;/p&gt;
&lt;p&gt;To ensure uninterrupted service, upgrade your account to the &lt;a href=&quot;https://developers.cloudflare.com/workers/platform/pricing/&quot;&gt;Workers Paid plan&lt;/a&gt; from the &lt;a href=&quot;https://dash.cloudflare.com/?account=/workers/plans&quot;&gt;plans page&lt;/a&gt;. The minimum monthly billing amount is $5. Refer to &lt;a href=&quot;https://developers.cloudflare.com/workers/platform/pricing/&quot;&gt;Workers Paid plan&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/limits/&quot;&gt;D1 limits&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For better insight into your current usage, refer to your &lt;a href=&quot;https://developers.cloudflare.com/d1/observability/billing/&quot;&gt;billing metrics&lt;/a&gt; for rows read and rows written, which can be found on the &lt;a href=&quot;https://dash.cloudflare.com/?account=/workers/d1&quot;&gt;D1 dashboard&lt;/a&gt; or GraphQL API.&lt;/p&gt;
</description><pubDate>Mon, 13 Jan 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 Worker API request latency decreases by 40-60%.</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-worker-api-request-latency-decreases-by-40-60</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-worker-api-request-latency-decreases-by-40-60</guid><description>&lt;p&gt;D1 lowered end-to-end Worker API request latency by 40-60% by eliminating redundant network round trips for each request.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://developers.cloudflare.com/images/d1/faster-d1-worker-api.png&quot; alt=&quot;D1 Worker API latency&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;p50, p90, and p95 request latency aggregated across entire D1 service. These latencies are a reference point and should not be viewed as your exact workload improvement.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For each request to a D1 database, at least two network round trips were eliminated. One round trip was due to a bug that is now fixed. The remaining removed round trips are due to avoiding creating a new TCP connection for each request when reaching out to the datacenter hosting the database.&lt;/p&gt;
&lt;p&gt;The removal of redundant network round trips also applies to D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/api/resources/d1/subresources/database/methods/query/&quot;&gt;REST API&lt;/a&gt;. However, the REST API still depends on Cloudflare&amp;#39;s centralized datacenters for authentication, which reduces the relative performance improvement.&lt;/p&gt;
</description><pubDate>Tue, 07 Jan 2025 00:00:00 GMT</pubDate></item><item><title>D1 - D1 alpha databases have stopped accepting SQL queries</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-have-stopped-accepting-sql-queries</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-have-stopped-accepting-sql-queries</guid><description>&lt;p&gt;Following the &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2024-04-30&quot;&gt;deprecation warning&lt;/a&gt; on 2024-04-30, D1 alpha databases have stopped accepting queries (you are still able to create and retrieve backups).&lt;/p&gt;
&lt;p&gt;Requests to D1 alpha databases now respond with a HTTP 400 error, containing the following text:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;You can no longer query a D1 alpha database. Please follow https://developers.cloudflare.com/d1/platform/alpha-migration/ to migrate your alpha database and resume querying.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can upgrade to the new, generally available version of D1 by following the &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/alpha-migration/&quot;&gt;alpha database migration guide&lt;/a&gt;.&lt;/p&gt;
</description><pubDate>Fri, 23 Aug 2024 00:00:00 GMT</pubDate></item><item><title>D1 - Fixed bug in TypeScript typings for run() API</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#fixed-bug-in-typescript-typings-for-run-api</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#fixed-bug-in-typescript-typings-for-run-api</guid><description>&lt;p&gt;The &lt;code&gt;run()&lt;/code&gt; method as part of the &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/&quot;&gt;D1 Client API&lt;/a&gt; had an incorrect (outdated) type definition, which has now been addressed as of &lt;a href=&quot;https://www.npmjs.com/package/@cloudflare/workers-types&quot;&gt;&lt;code&gt;@cloudflare/workers-types&lt;/code&gt;&lt;/a&gt; version &lt;code&gt;4.20240725.0&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The correct type definition is &lt;code&gt;stmt.run&amp;lt;T&amp;gt;(): D1Result&lt;/code&gt;, as &lt;code&gt;run()&lt;/code&gt; returns the result rows of the query. The previously &lt;em&gt;incorrect&lt;/em&gt; type definition was &lt;code&gt;stmt.run(): D1Response&lt;/code&gt;, which only returns query metadata and no results.&lt;/p&gt;
</description><pubDate>Fri, 26 Jul 2024 00:00:00 GMT</pubDate></item><item><title>D1 - HTTP API now returns a HTTP 429 error for overloaded D1 databases</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#http-api-now-returns-a-http-429-error-for-overloaded-d1-databases</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#http-api-now-returns-a-http-429-error-for-overloaded-d1-databases</guid><description>&lt;p&gt;Previously, D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/api/resources/d1/subresources/database/methods/query/&quot;&gt;HTTP API&lt;/a&gt; returned a HTTP &lt;code&gt;500 Internal Server&lt;/code&gt; error for queries that came in while a D1 database was overloaded. These requests now correctly return a &lt;code&gt;HTTP 429 Too Many Requests&lt;/code&gt; error.&lt;/p&gt;
&lt;p&gt;D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/&quot;&gt;Workers API&lt;/a&gt; is unaffected by this change.&lt;/p&gt;
</description><pubDate>Mon, 17 Jun 2024 00:00:00 GMT</pubDate></item><item><title>D1 - D1 alpha databases will stop accepting live SQL queries on August 15, 2024</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-will-stop-accepting-live-sql-queries-on-august-15-2024</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-will-stop-accepting-live-sql-queries-on-august-15-2024</guid><description>&lt;p&gt;Previously &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2024-04-05&quot;&gt;deprecated alpha&lt;/a&gt; D1 databases need to be migrated by August 15, 2024 to accept new queries.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/alpha-migration/&quot;&gt;alpha database migration guide&lt;/a&gt; to migrate to the new, generally available, database architecture.&lt;/p&gt;
</description><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate></item><item><title>D1 - HTTP API now returns a HTTP 400 error for invalid queries</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#http-api-now-returns-a-http-400-error-for-invalid-queries</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#http-api-now-returns-a-http-400-error-for-invalid-queries</guid><description>&lt;p&gt;Previously, D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/api/resources/d1/subresources/database/methods/query/&quot;&gt;HTTP API&lt;/a&gt; returned a HTTP &lt;code&gt;500 Internal Server&lt;/code&gt; error for an invalid query. An invalid SQL query now correctly returns a &lt;code&gt;HTTP 400 Bad Request&lt;/code&gt; error.&lt;/p&gt;
&lt;p&gt;D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/&quot;&gt;Workers API&lt;/a&gt; is unaffected by this change.&lt;/p&gt;
</description><pubDate>Fri, 12 Apr 2024 00:00:00 GMT</pubDate></item><item><title>D1 - D1 alpha databases are deprecated</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-are-deprecated</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-alpha-databases-are-deprecated</guid><description>&lt;p&gt;Now that D1 is generally available and production ready, alpha D1 databases are deprecated and should be migrated for better performance, reliability, and ongoing support.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/alpha-migration/&quot;&gt;alpha database migration guide&lt;/a&gt; to migrate to the new, generally available, database architecture.&lt;/p&gt;
</description><pubDate>Fri, 05 Apr 2024 00:00:00 GMT</pubDate></item><item><title>D1 - D1 is generally available</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#d1-is-generally-available</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#d1-is-generally-available</guid><description>&lt;p&gt;D1 is now generally available and production ready. Read the &lt;a href=&quot;https://blog.cloudflare.com/building-d1-a-global-database/&quot;&gt;blog post&lt;/a&gt; for more details on new features in GA and to learn more about the upcoming D1 read replication API.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Developers with a Workers Paid plan now have a 10GB GB per-database limit (up from 2GB), which can be combined with existing limit of 50,000 databases per account.&lt;/li&gt;
&lt;li&gt;Developers with a Workers Free plan retain the 500 MB per-database limit and can create up to 10 databases per account.&lt;/li&gt;
&lt;li&gt;D1 databases can be &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/import-export-data/#export-an-existing-d1-database&quot;&gt;exported&lt;/a&gt; as a SQL file.&lt;/li&gt;
&lt;/ul&gt;
</description><pubDate>Mon, 01 Apr 2024 00:00:00 GMT</pubDate></item><item><title>D1 - Change in `wrangler d1 execute` default</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#change-in-wrangler-d1-execute-default</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#change-in-wrangler-d1-execute-default</guid><description>&lt;p&gt;As of &lt;code&gt;wrangler@3.33.0&lt;/code&gt;, &lt;code&gt;wrangler d1 execute&lt;/code&gt; and &lt;code&gt;wrangler d1 migrations apply&lt;/code&gt; now default to using a local database, to match the default behavior of &lt;code&gt;wrangler dev&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;It is also now possible to specify one of &lt;code&gt;--local&lt;/code&gt; or &lt;code&gt;--remote&lt;/code&gt; to explicitly tell wrangler which environment you wish to run your commands against.&lt;/p&gt;
</description><pubDate>Tue, 12 Mar 2024 00:00:00 GMT</pubDate></item><item><title>D1 - Billing for D1 usage</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#billing-for-d1-usage</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#billing-for-d1-usage</guid><description>&lt;p&gt;As of 2024-03-05, D1 usage will start to be counted and may incur charges for an account&amp;#39;s future billing cycle.&lt;/p&gt;
&lt;p&gt;Developers on the Workers Paid plan with D1 usage beyond &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/pricing/#billing-metrics&quot;&gt;included limits&lt;/a&gt; will incur charges according to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/pricing&quot;&gt;D1&amp;#39;s pricing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Developers on the Workers Free plan can use up to the included limits. Usage beyond the limits below requires signing up for the $5/month Workers Paid plan.&lt;/p&gt;
&lt;p&gt;Account billable metrics are available in the &lt;a href=&quot;https://dash.cloudflare.com&quot;&gt;Cloudflare Dashboard&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/d1/observability/metrics-analytics/#metrics&quot;&gt;GraphQL API&lt;/a&gt;.&lt;/p&gt;
</description><pubDate>Tue, 05 Mar 2024 00:00:00 GMT</pubDate></item><item><title>D1 - API changes to `run()`</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#api-changes-to-run</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#api-changes-to-run</guid><description>&lt;p&gt;A previous change (made on 2024-02-13) to the &lt;code&gt;run()&lt;/code&gt; &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/prepared-statements/#run&quot;&gt;query statement method&lt;/a&gt; has been reverted.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;run()&lt;/code&gt; now returns a &lt;code&gt;D1Result&lt;/code&gt;, including the result rows, matching its original behavior prior to the change on 2024-02-13.&lt;/p&gt;
&lt;p&gt;Future change to &lt;code&gt;run()&lt;/code&gt; to return a &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/return-object/#d1execresult&quot;&gt;&lt;code&gt;D1ExecResult&lt;/code&gt;&lt;/a&gt;, as originally intended and documented, will be gated behind a &lt;a href=&quot;https://developers.cloudflare.com/workers/configuration/compatibility-dates/&quot;&gt;compatibility date&lt;/a&gt; as to avoid breaking existing Workers relying on the way &lt;code&gt;run()&lt;/code&gt; currently works.&lt;/p&gt;
</description><pubDate>Fri, 16 Feb 2024 00:00:00 GMT</pubDate></item><item><title>D1 - API changes to `raw()`, `all()` and `run()`</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#api-changes-to-raw-all-and-run</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#api-changes-to-raw-all-and-run</guid><description>&lt;p&gt;D1&amp;#39;s &lt;code&gt;raw()&lt;/code&gt;, &lt;code&gt;all()&lt;/code&gt; and &lt;code&gt;run()&lt;/code&gt; &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/prepared-statements/&quot;&gt;query statement methods&lt;/a&gt; have been updated to reflect their intended behavior and improve compatibility with ORM libraries.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;raw()&lt;/code&gt; now correctly returns results as an array of arrays, allowing the correct handling of duplicate column names (such as when joining tables), as compared to &lt;code&gt;all()&lt;/code&gt;, which is unchanged and returns an array of objects. To include an array of column names in the results when using &lt;code&gt;raw()&lt;/code&gt;, use &lt;code&gt;raw({columnNames: true})&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;run()&lt;/code&gt; no longer incorrectly returns a &lt;code&gt;D1Result&lt;/code&gt; and instead returns a &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/return-object/#d1execresult&quot;&gt;&lt;code&gt;D1ExecResult&lt;/code&gt;&lt;/a&gt; as originally intended and documented.&lt;/p&gt;
&lt;p&gt;This may be a breaking change for some applications that expected &lt;code&gt;raw()&lt;/code&gt; to return an array of objects.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/&quot;&gt;D1 client API&lt;/a&gt; to review D1&amp;#39;s query methods, return types and TypeScript support in detail.&lt;/p&gt;
</description><pubDate>Tue, 13 Feb 2024 00:00:00 GMT</pubDate></item><item><title>D1 - Support for LIMIT on UPDATE and DELETE statements</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#support-for-limit-on-update-and-delete-statements</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#support-for-limit-on-update-and-delete-statements</guid><description>&lt;p&gt;D1 now supports adding a &lt;code&gt;LIMIT&lt;/code&gt; clause to &lt;code&gt;UPDATE&lt;/code&gt; and &lt;code&gt;DELETE&lt;/code&gt; statements, which allows you to limit the impact of a potentially dangerous operation.&lt;/p&gt;
</description><pubDate>Thu, 18 Jan 2024 00:00:00 GMT</pubDate></item><item><title>D1 - Legacy alpha automated backups disabled</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#legacy-alpha-automated-backups-disabled</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#legacy-alpha-automated-backups-disabled</guid><description>&lt;p&gt;Databases using D1&amp;#39;s legacy alpha backend will no longer run automated &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/backups/&quot;&gt;hourly backups&lt;/a&gt;. You may still choose to take manual backups of these databases.&lt;/p&gt;
&lt;p&gt;The D1 team recommends moving to D1&amp;#39;s new &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2023-09-28&quot;&gt;production backend&lt;/a&gt;, which will require you to export and import your existing data. D1&amp;#39;s production backend is faster than the original alpha backend. The new backend also supports &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/time-travel/&quot;&gt;Time Travel&lt;/a&gt;, which allows you to restore your database to any minute in the past 30 days without relying on hourly or manual snapshots.&lt;/p&gt;
</description><pubDate>Mon, 18 Dec 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Create up to 50,000 D1 databases</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#create-up-to-50000-d1-databases</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#create-up-to-50000-d1-databases</guid><description>&lt;p&gt;Developers using D1 on a Workers Paid plan can now create up to 50,000 databases as part of ongoing increases to D1&amp;#39;s limits.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This further enables database-per-user use-cases and allows you to isolate data between customers.&lt;/li&gt;
&lt;li&gt;Total storage per account is now 50 GB.&lt;/li&gt;
&lt;li&gt;D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/d1/observability/metrics-analytics/&quot;&gt;analytics and metrics&lt;/a&gt; provide per-database usage data.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you need to create more than 50,000 databases or need more per-account storage, &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/limits/&quot;&gt;reach out&lt;/a&gt; to the D1 team to discuss.&lt;/p&gt;
</description><pubDate>Tue, 03 Oct 2023 00:00:00 GMT</pubDate></item><item><title>D1 - The D1 public beta is here</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#the-d1-public-beta-is-here</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#the-d1-public-beta-is-here</guid><description>&lt;p&gt;D1 is now in public beta, and storage limits have been increased:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Developers with a Workers Paid plan now have a 2 GB per-database limit (up from 500 MB) and can create 25 databases per account (up from 10). These limits will continue to increase automatically during the public beta.&lt;/li&gt;
&lt;li&gt;Developers with a Workers Free plan retain the 500 MB per-database limit and can create up to 10 databases per account.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Databases must be using D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2023-07-27&quot;&gt;new storage subsystem&lt;/a&gt; to benefit from the increased database limits.&lt;/p&gt;
&lt;p&gt;Read the &lt;a href=&quot;https://blog.cloudflare.com/d1-open-beta-is-here/&quot;&gt;announcement blog&lt;/a&gt; for more details about what is new in the beta and what is coming in the future for D1.&lt;/p&gt;
</description><pubDate>Thu, 28 Sep 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Row count now returned per query</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#row-count-now-returned-per-query</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#row-count-now-returned-per-query</guid><description>&lt;p&gt;D1 now returns a count of &lt;code&gt;rows_written&lt;/code&gt; and &lt;code&gt;rows_read&lt;/code&gt; for every query executed, allowing you to assess the cost of query for both &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/pricing/&quot;&gt;pricing&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/d1/best-practices/use-indexes/&quot;&gt;index optimization&lt;/a&gt; purposes.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;meta&lt;/code&gt; object returned in &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/return-object/#d1result&quot;&gt;D1&amp;#39;s Client API&lt;/a&gt; contains a total count of the rows read (&lt;code&gt;rows_read&lt;/code&gt;) and rows written (&lt;code&gt;rows_written&lt;/code&gt;) by that query. For example, a query that performs a full table scan (for example, &lt;code&gt;SELECT * FROM users&lt;/code&gt;) from a table with 5000 rows would return a &lt;code&gt;rows_read&lt;/code&gt; value of &lt;code&gt;5000&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;&amp;quot;meta&amp;quot;: {
  &amp;quot;duration&amp;quot;: 0.20472300052642825,
  &amp;quot;size_after&amp;quot;: 45137920,
  &amp;quot;rows_read&amp;quot;: 5000,
  &amp;quot;rows_written&amp;quot;: 0
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/pricing/&quot;&gt;D1 pricing documentation&lt;/a&gt; to understand how reads and writes are measured. D1 remains free to use during the alpha period.&lt;/p&gt;
</description><pubDate>Sat, 19 Aug 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Bind D1 from the Cloudflare dashboard</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#bind-d1-from-the-cloudflare-dashboard</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#bind-d1-from-the-cloudflare-dashboard</guid><description>&lt;p&gt;You can now &lt;a href=&quot;https://developers.cloudflare.com/d1/get-started/#3-bind-your-worker-to-your-d1-database&quot;&gt;bind a D1 database&lt;/a&gt; to your Workers directly in the &lt;a href=&quot;https://dash.cloudflare.com&quot;&gt;Cloudflare dashboard&lt;/a&gt;. To bind D1 from the Cloudflare dashboard, select your Worker project -&amp;gt; &lt;strong&gt;Settings&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Variables&lt;/strong&gt; -&amp;gt; and select &lt;strong&gt;D1 Database Bindings&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Note: If you have previously deployed a Worker with a D1 database binding with a version of &lt;code&gt;wrangler&lt;/code&gt; prior to &lt;code&gt;3.5.0&lt;/code&gt;, you must upgrade to &lt;a href=&quot;https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.5.0&quot;&gt;&lt;code&gt;wrangler v3.5.0&lt;/code&gt;&lt;/a&gt; first before you can edit your D1 database bindings in the Cloudflare dashboard. New Workers projects do not have this limitation.&lt;/p&gt;
&lt;p&gt;Legacy D1 alpha users who had previously prefixed their database binding manually with &lt;code&gt;__D1_BETA__&lt;/code&gt; should remove this as part of this upgrade. Your Worker scripts should call your D1 database via &lt;code&gt;env.BINDING_NAME&lt;/code&gt; only. Refer to the latest &lt;a href=&quot;https://developers.cloudflare.com/d1/get-started/#3-bind-your-worker-to-your-d1-database&quot;&gt;D1 getting started guide&lt;/a&gt; for best practices.&lt;/p&gt;
&lt;p&gt;We recommend all D1 alpha users begin using wrangler &lt;code&gt;3.5.0&lt;/code&gt; (or later) to benefit from improved TypeScript types and future D1 API improvements.&lt;/p&gt;
</description><pubDate>Wed, 09 Aug 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Per-database limit now 500 MB</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#per-database-limit-now-500-mb</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#per-database-limit-now-500-mb</guid><description>&lt;p&gt;Databases using D1&amp;#39;s &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/release-notes/#2023-07-27&quot;&gt;new storage subsystem&lt;/a&gt; can now grow to 500 MB each, up from the previous 100 MB limit. This applies to both existing and newly created databases.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/d1/platform/limits/&quot;&gt;Limits&lt;/a&gt; to learn about D1&amp;#39;s limits.&lt;/p&gt;
</description><pubDate>Tue, 01 Aug 2023 00:00:00 GMT</pubDate></item><item><title>D1 - New default storage subsystem</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#new-default-storage-subsystem</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#new-default-storage-subsystem</guid><description>&lt;p&gt;Databases created via the Cloudflare dashboard and Wrangler (as of &lt;code&gt;v3.4.0&lt;/code&gt;) now use D1&amp;#39;s new storage subsystem by default. The new backend can &lt;a href=&quot;https://blog.cloudflare.com/d1-turning-it-up-to-11/&quot;&gt;be 6 - 20x faster&lt;/a&gt; than D1&amp;#39;s original alpha backend.&lt;/p&gt;
&lt;p&gt;To understand which storage subsystem your database uses, run &lt;code&gt;wrangler d1 info YOUR_DATABASE&lt;/code&gt; and inspect the version field in the output.&lt;/p&gt;
&lt;p&gt;Databases with &lt;code&gt;version: beta&lt;/code&gt; use the new storage backend and support the &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/time-travel/&quot;&gt;Time Travel&lt;/a&gt; API. Databases with &lt;code&gt;version: alpha&lt;/code&gt; only use D1&amp;#39;s older, legacy backend.&lt;/p&gt;
</description><pubDate>Thu, 27 Jul 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Time Travel</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#time-travel</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#time-travel</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/d1/reference/time-travel/&quot;&gt;Time Travel&lt;/a&gt; is now available. Time Travel allows you to restore a D1 database back to any minute within the last 30 days (Workers Paid plan) or 7 days (Workers Free plan), at no additional cost for storage or restore operations.&lt;/p&gt;
&lt;p&gt;Refer to the &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/time-travel/&quot;&gt;Time Travel&lt;/a&gt; documentation to learn how to travel backwards in time.&lt;/p&gt;
&lt;p&gt;Databases using D1&amp;#39;s &lt;a href=&quot;https://blog.cloudflare.com/d1-turning-it-up-to-11/&quot;&gt;new storage subsystem&lt;/a&gt; can use Time Travel. Time Travel replaces the &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/backups/&quot;&gt;snapshot-based backups&lt;/a&gt; used for legacy alpha databases.&lt;/p&gt;
</description><pubDate>Thu, 27 Jul 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Metrics and analytics</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#metrics-and-analytics</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#metrics-and-analytics</guid><description>&lt;p&gt;You can now view &lt;a href=&quot;https://developers.cloudflare.com/d1/observability/metrics-analytics/&quot;&gt;per-database metrics&lt;/a&gt; via both the &lt;a href=&quot;https://dash.cloudflare.com/&quot;&gt;Cloudflare dashboard&lt;/a&gt; and the &lt;a href=&quot;https://developers.cloudflare.com/analytics/graphql-api/&quot;&gt;GraphQL Analytics API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;D1 currently exposes read &amp;amp; writes per second, query response size, and query latency percentiles.&lt;/p&gt;
</description><pubDate>Wed, 28 Jun 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Generated columns documentation</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#generated-columns-documentation</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#generated-columns-documentation</guid><description>&lt;p&gt;New documentation has been published on how to use D1&amp;#39;s support for &lt;a href=&quot;https://developers.cloudflare.com/d1/reference/generated-columns/&quot;&gt;generated columns&lt;/a&gt; to define columns that are dynamically generated on write (or read). Generated columns allow you to extract data from &lt;a href=&quot;https://developers.cloudflare.com/d1/sql-api/query-json/&quot;&gt;JSON objects&lt;/a&gt; or use the output of other SQL functions.&lt;/p&gt;
</description><pubDate>Fri, 16 Jun 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Deprecating Error.cause</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#deprecating-errorcause</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#deprecating-errorcause</guid><description>&lt;p&gt;As of &lt;a href=&quot;https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.1.1&quot;&gt;&lt;code&gt;wrangler v3.1.1&lt;/code&gt;&lt;/a&gt; the &lt;a href=&quot;https://developers.cloudflare.com/d1/worker-api/&quot;&gt;D1 client API&lt;/a&gt; now returns &lt;a href=&quot;https://developers.cloudflare.com/d1/observability/debug-d1/&quot;&gt;detailed error messages&lt;/a&gt; within the top-level &lt;code&gt;Error.message&lt;/code&gt; property, and no longer requires developers to inspect the &lt;code&gt;Error.cause.message&lt;/code&gt; property.&lt;/p&gt;
&lt;p&gt;To facilitate a transition from the previous &lt;code&gt;Error.cause&lt;/code&gt; behaviour, detailed error messages will continue to be populated within &lt;code&gt;Error.cause&lt;/code&gt; as well as the top-level &lt;code&gt;Error&lt;/code&gt; object until approximately July 14th, 2023. Future versions of both &lt;code&gt;wrangler&lt;/code&gt; and the D1 client API will no longer populate &lt;code&gt;Error.cause&lt;/code&gt; after this date.&lt;/p&gt;
</description><pubDate>Mon, 12 Jun 2023 00:00:00 GMT</pubDate></item><item><title>D1 - New experimental backend</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#new-experimental-backend</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#new-experimental-backend</guid><description>&lt;p&gt;D1 has a new experimental storage back end that dramatically improves query throughput, latency and reliability. The experimental back end will become the default back end in the near future. To create a database using the experimental backend, use &lt;code&gt;wrangler&lt;/code&gt; and set the &lt;code&gt;--experimental-backend&lt;/code&gt; flag when creating a database:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;$ wrangler d1 create your-database --experimental-backend
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Read more about the experimental back end in the &lt;a href=&quot;https://blog.cloudflare.com/d1-turning-it-up-to-11/&quot;&gt;announcement blog&lt;/a&gt;.&lt;/p&gt;
</description><pubDate>Fri, 19 May 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Location hints</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#location-hints</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#location-hints</guid><description>&lt;p&gt;You can now provide a &lt;a href=&quot;https://developers.cloudflare.com/d1/configuration/data-location/&quot;&gt;location hint&lt;/a&gt; when creating a D1 database, which will influence where the leader (writer) is located. By default, D1 will automatically create your database in a location close to where you issued the request to create a database. In most cases this allows D1 to choose the optimal location for your database on your behalf.&lt;/p&gt;
</description><pubDate>Fri, 19 May 2023 00:00:00 GMT</pubDate></item><item><title>D1 - Query JSON</title><link>https://developers.cloudflare.com/d1/platform/release-notes/#query-json</link><guid isPermaLink="true">https://developers.cloudflare.com/d1/platform/release-notes/#query-json</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/d1/sql-api/query-json/&quot;&gt;New documentation&lt;/a&gt; has been published that covers D1&amp;#39;s extensive JSON function support. JSON functions allow you to parse, query and modify JSON directly from your SQL queries, reducing the number of round trips to your database, or data queried.&lt;/p&gt;
</description><pubDate>Wed, 17 May 2023 00:00:00 GMT</pubDate></item></channel></rss>