From 8f3dcf2770dd189a5c1f15bcfa255c20508fa96c Mon Sep 17 00:00:00 2001 From: Jun Lee Date: Thu, 20 Feb 2025 09:58:32 +0000 Subject: [PATCH 1/2] Adding equivalent changelog entry for D1 on smart placement. --- src/content/release-notes/d1.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/content/release-notes/d1.yaml b/src/content/release-notes/d1.yaml index a28615adcde6b0..ada736a8ac5b4b 100644 --- a/src/content/release-notes/d1.yaml +++ b/src/content/release-notes/d1.yaml @@ -5,11 +5,17 @@ productLink: "/d1/" productArea: Developer platform productAreaLink: /workers/platform/changelog/platform/ entries: + - publish_date: "2025-02-13" + title: Standardized the Smart Placement behavior for Workers with D1 bindings. + description: |- + Previously, [Smart Placement](/workers/configuration/smart-placement/) ensured Workers with D1 bindings were created in the same location as the D1 database. + + Now, all Workers which use Smart Placement use the same [placement logic](/workers/configuration/smart-placement/#understand-how-smart-placement-works), even if they have D1 bindings. - publish_date: "2025-02-04" title: Fixed bug with D1 read-only access via UI and /query REST API. description: |- 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. - + 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. - publish_date: "2025-01-13" From 132f7da06f1a2cc642af2bc9991ba87507f6d7a0 Mon Sep 17 00:00:00 2001 From: Jun Lee Date: Thu, 20 Feb 2025 10:00:46 +0000 Subject: [PATCH 2/2] Cross-referencing to the Worker changelog entry. --- src/content/release-notes/d1.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/release-notes/d1.yaml b/src/content/release-notes/d1.yaml index ada736a8ac5b4b..84e001fa83895c 100644 --- a/src/content/release-notes/d1.yaml +++ b/src/content/release-notes/d1.yaml @@ -11,6 +11,8 @@ entries: Previously, [Smart Placement](/workers/configuration/smart-placement/) ensured Workers with D1 bindings were created in the same location as the D1 database. Now, all Workers which use Smart Placement use the same [placement logic](/workers/configuration/smart-placement/#understand-how-smart-placement-works), even if they have D1 bindings. + + You can find the corresponding Worker changelog entry [here](/workers/platform/changelog/#2025-02-13). - publish_date: "2025-02-04" title: Fixed bug with D1 read-only access via UI and /query REST API. description: |-