Skip to content

Commit 33395c7

Browse files
committed
Adding corresponding D1 changelog.
1 parent 66756e2 commit 33395c7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/content/release-notes/d1.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,18 @@ productLink: "/d1/"
55
productArea: Developer platform
66
productAreaLink: /workers/platform/changelog/platform/
77
entries:
8+
- publish_date: "2025-02-19"
9+
title: D1 supports `PRAGMA optimize`
10+
description: |-
11+
D1 now supports [`PRAGMA optimize`](/d1/sql-api/sql-statements/#pragma-optimize) command, which can increase your database performance.
12+
13+
Cloudflare recommends running this command after a schema change (for example, after creating an index).
14+
815
- publish_date: "2025-02-04"
916
title: Fixed bug with D1 read-only access via UI and /query REST API.
1017
description: |-
1118
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 `/query` [REST API](/api/resources/d1/subresources/database/methods/query/) to execute queries that modified databases. UI actions via the `Tables` tab, such as creating and deleting tables, were incorrectly allowed with read-only access. However, UI actions via the `Console` tab were not affected by this bug and correctly required write access.
12-
19+
1320
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.
1421
1522
- publish_date: "2025-01-13"

0 commit comments

Comments
 (0)