From 19296f8e2de15b84710cf2cf10e5987cb6970925 Mon Sep 17 00:00:00 2001 From: Joshua Howard Date: Mon, 7 Oct 2024 15:55:33 -0500 Subject: [PATCH] Document that alarms have been re-enabled for SQLite backed DOs --- src/content/changelogs/durable-objects.yaml | 4 ++++ src/content/docs/durable-objects/api/alarms.mdx | 6 ------ src/content/docs/durable-objects/api/storage-api.mdx | 6 ------ src/content/docs/durable-objects/index.mdx | 6 ------ 4 files changed, 4 insertions(+), 18 deletions(-) diff --git a/src/content/changelogs/durable-objects.yaml b/src/content/changelogs/durable-objects.yaml index 4b3d033e8d796cd..d8d20dadd17bc65 100644 --- a/src/content/changelogs/durable-objects.yaml +++ b/src/content/changelogs/durable-objects.yaml @@ -5,6 +5,10 @@ productLink: "/durable-objects/" productArea: Developer platform productAreaLink: /workers/platform/changelog/platform/ entries: + - publish_date: "2024-10-07" + title: Alarms re-enabled in (beta) SQLite-backed Durable Object classes + description: |- + The issue identified with [alarms](/durable-objects/api/alarms/) in [beta Durable Object classes with a SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend) has been resolved and alarms have been re-enabled. - publish_date: "2024-09-27" title: Alarms disabled in (beta) SQLite-backed Durable Object classes description: |- diff --git a/src/content/docs/durable-objects/api/alarms.mdx b/src/content/docs/durable-objects/api/alarms.mdx index fb16729633d8296..ce9b5557d55160b 100644 --- a/src/content/docs/durable-objects/api/alarms.mdx +++ b/src/content/docs/durable-objects/api/alarms.mdx @@ -8,12 +8,6 @@ sidebar: import { Type } from "~/components"; -:::note[Alarms disabled for SQLite in Durable Objects Beta] - -An issue was identified with [alarms](/durable-objects/api/alarms/) in [beta Durable Object classes with a SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend). Alarms have been temporarily disabled for only SQLite-backed Durable Objects while a fix is implemented. Alarms in Durable Objects with default, key-value storage backend are unaffected and continue to operate. - -::: - ## Background Durable Objects alarms allow you to schedule the Durable Object to be woken up at a time in the future. When the alarm's scheduled time comes, the `alarm()` handler method will be called. Alarms are modified using the [Storage API](/durable-objects/api/storage-api/), and alarm operations follow the same rules as other storage operations. diff --git a/src/content/docs/durable-objects/api/storage-api.mdx b/src/content/docs/durable-objects/api/storage-api.mdx index e12eb9e89105bad..306980da78dcd37 100644 --- a/src/content/docs/durable-objects/api/storage-api.mdx +++ b/src/content/docs/durable-objects/api/storage-api.mdx @@ -201,12 +201,6 @@ The `put()` method returns a `Promise`, but most applications can discard this p * This is similar to normal behavior from automatic write coalescing. If there are any pending writes in the write buffer (including those submitted with [the `allowUnconfirmed` option](/durable-objects/api/storage-api/#supported-options-1)), the returned promise will resolve when they complete. If there are no pending writes, the returned promise will be already resolved. -:::note[Alarms disabled for SQLite in Durable Objects Beta] - -An issue was identified with [alarms](/durable-objects/api/alarms/) in [beta Durable Object classes with a SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend). Alarms have been temporarily disabled for only SQLite-backed Durable Objects while a fix is implemented. Alarms in Durable Objects with default, key-value storage backend are unaffected and continue to operate. - -::: - ### getAlarm * getAlarm(options ): diff --git a/src/content/docs/durable-objects/index.mdx b/src/content/docs/durable-objects/index.mdx index 8c7e4e1ae09ff28..d75f9e0600e5057 100644 --- a/src/content/docs/durable-objects/index.mdx +++ b/src/content/docs/durable-objects/index.mdx @@ -35,12 +35,6 @@ Storage API billing is not enabled for Durable Object classes using SQLite stora ::: -:::note[Alarms disabled for SQLite in Durable Objects Beta] - -An issue was identified with [alarms](/durable-objects/api/alarms/) in [beta Durable Object classes with a SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend). Alarms have been temporarily disabled for only SQLite-backed Durable Objects while a fix is implemented. Alarms in Durable Objects with default, key-value storage backend are unaffected and continue to operate. - -::: - *** ## Features