Skip to content

Commit 20efaad

Browse files
authored
Broken anchor link fixes (#21583)
1 parent 2a12287 commit 20efaad

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

src/content/changelog/d1/2025-04-10-d1-read-replication-beta.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ products:
55
- d1
66
- workers
77
date: 2025-04-10T06:00:00Z
8-
hidden: true
98
---
109

1110
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.
@@ -14,21 +13,20 @@ Workers can leverage read-only database copies, called read replicas, by using D
1413

1514
```ts
1615
// retrieve bookmark from previous session stored in HTTP header
17-
const bookmark = request.headers.get('x-d1-bookmark') ?? 'first-unconstrained';
16+
const bookmark = request.headers.get("x-d1-bookmark") ?? "first-unconstrained";
1817

19-
const session = env.DB.withSession(bookmark)
18+
const session = env.DB.withSession(bookmark);
2019
const result = await session
2120
.prepare(`SELECT * FROM Customers WHERE CompanyName = 'Bs Beverages'`)
22-
.run()
21+
.run();
2322
// store bookmark for a future session
24-
response.headers.set('x-d1-bookmark', session.getBookmark() ?? "")
23+
response.headers.set("x-d1-bookmark", session.getBookmark() ?? "");
2524
```
2625

2726
Read replicas are automatically created by Cloudflare (currently one in each supported [D1 region](/d1/best-practices/read-replication/#read-replica-locations)), are active/inactive based on query traffic, and are transparently routed to by Cloudflare at no additional cost.
2827

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

31-
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/staging/d1-starter-sessions-api)
30+
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/staging/d1-starter-sessions-api)
3231

3332
To learn more about how read replication was implemented, go to our [blog post](https://blog.cloudflare.com/d1-read-replication-beta).
34-

src/content/changelog/pipelines/2025-04-10-launching-pipelines.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ products:
55
- pipelines
66
- r2
77
- workers
8-
date: 2025-04-10 12:00:00 UTC
9-
hidden: true
8+
date: 2025-04-10T12:00:00Z
109
---
1110

1211
[Cloudflare Pipelines](/pipelines) is now available in beta, to all users with a [Workers Paid](/workers/platform/pricing) plan.

src/content/changelog/r2/2025-04-10-r2-data-catalog-beta.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: A managed Apache Iceberg data catalog built directly into R2 bucket
44
products:
55
- r2
66
date: 2025-04-10T13:00:00Z
7-
hidden: true
87
---
98

109
Today, we're launching [R2 Data Catalog](/r2/data-catalog/) in open beta, a managed Apache Iceberg catalog built directly into your [Cloudflare R2](/r2/) bucket.

0 commit comments

Comments
 (0)