@byok-sdk/cloud-do 0.27.0-rc.2 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -14
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,30 +4,34 @@ This package hosts a pi-durable session in a Cloudflare Durable Object.
|
|
|
4
4
|
It provides native SQLite storage, inline tools, wake and inbox processing,
|
|
5
5
|
usage limits, settlement hooks, and transcript reads.
|
|
6
6
|
|
|
7
|
-
The current
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
The
|
|
7
|
+
The current stable release is 0.27.0, in the nine-package release set with
|
|
8
|
+
keys 0.12.0, published on npm `latest`. Complete registry readback and isolated
|
|
9
|
+
installation passed. See the
|
|
10
|
+
[publication record](../../docs/releases/v0.27.0-publication.md).
|
|
11
|
+
The `rc` channel remains 0.27.0-rc.2 / keys 0.12.0-rc.2.
|
|
12
|
+
See the [release notes](../../docs/releases/v0.27.0.md) for the Host upgrade
|
|
13
|
+
steps. Host acceptance (#195) remains separate and open.
|
|
14
|
+
|
|
15
|
+
The previous `latest` release was 0.26.1, in the nine-package release set with
|
|
12
16
|
keys 0.11.1. Registry readback and isolated installation passed on 2026-10-12.
|
|
13
17
|
See the [publication record](../../docs/releases/v0.26.1-publication.md).
|
|
14
|
-
The
|
|
18
|
+
The earlier stable release was 0.26.0 / keys 0.11.0; its
|
|
15
19
|
[publication record](../../docs/releases/v0.26.0-publication.md) remains historical.
|
|
16
|
-
The published 0.26.0-rc.4 (see the
|
|
20
|
+
The earlier published 0.26.0-rc.4 (see the
|
|
17
21
|
[rc.4 publication record](../../docs/releases/v0.26.0-rc.4-publication.md))
|
|
18
|
-
is
|
|
22
|
+
is superseded by 0.27.0-rc.2; 0.26.0-rc.1 to rc.3 are superseded. See the
|
|
19
23
|
[release notes](../../docs/releases/v0.26.1.md#version-set-and-channel).
|
|
20
24
|
Live Host acceptance remains separate.
|
|
21
25
|
The package needs Node 24.15.0 or later for build tooling.
|
|
22
26
|
|
|
23
27
|
## Install and subclass
|
|
24
28
|
|
|
25
|
-
The following install example names the 0.
|
|
26
|
-
|
|
27
|
-
verify the consumer path.
|
|
29
|
+
The following install example names the unpublished 0.28.0 source candidate.
|
|
30
|
+
Use 0.27.0 until publication is confirmed.
|
|
31
|
+
Use an installed package to verify the consumer path.
|
|
28
32
|
|
|
29
33
|
~~~sh
|
|
30
|
-
npm install @byok-sdk/cloud-do@0.
|
|
34
|
+
npm install @byok-sdk/cloud-do@0.28.0
|
|
31
35
|
npm install --save-dev @cloudflare/workers-types
|
|
32
36
|
~~~
|
|
33
37
|
|
|
@@ -113,13 +117,13 @@ openDurableObjectStorage has the local structural factory type
|
|
|
113
117
|
(location: DurableObjectStorage) => Promise<Storage>.
|
|
114
118
|
Storage is pi-durable's native interface. The package does not import client
|
|
115
119
|
source or keys types. Its three runtime dependencies are pi-durable, pi-ai,
|
|
116
|
-
and chord, each pinned to 1.
|
|
120
|
+
and chord, each pinned to 1.3.0.
|
|
117
121
|
|
|
118
122
|
The Durable Object owns the physical connection. Closing the adapter
|
|
119
123
|
invalidates that adapter. It does not close the Durable Object database.
|
|
120
124
|
|
|
121
125
|
This follows the async adapter in [Cloudflare Agents d6656161](https://github.com/cloudflare/agents/blob/d6656161/packages/agents/src/harness/pi/session-store.ts).
|
|
122
|
-
Current upstream uses a different synchronous pi contract. Pinned pi 1.
|
|
126
|
+
Current upstream uses a different synchronous pi contract. Pinned pi 1.3.0 takes
|
|
123
127
|
async callbacks, so `transactionSync()` cannot host its transaction callback.
|
|
124
128
|
Cloudflare documents async SQL transactions on the
|
|
125
129
|
[SQLite storage API](https://developers.cloudflare.com/durable-objects/api/sqlite-storage-api/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/cloud-do",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.15.0"
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"test": "vitest run && node --test test/recovery-walltime.node.mjs test/wake-alarm-retry.node.mjs test/wake-events-walltime.node.mjs test/check-dist.node.mjs"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@earendil-works/pi-durable": "1.
|
|
16
|
-
"@earendil-works/pi-ai": "1.
|
|
17
|
-
"@earendil-works/chord": "1.
|
|
15
|
+
"@earendil-works/pi-durable": "1.3.0",
|
|
16
|
+
"@earendil-works/pi-ai": "1.3.0",
|
|
17
|
+
"@earendil-works/chord": "1.3.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@byok-sdk/keys": "0.
|
|
20
|
+
"@byok-sdk/keys": "0.13.0",
|
|
21
21
|
"@cloudflare/workers-types": "5.20260811.1",
|
|
22
22
|
"miniflare": "5.20260811.1-alpha",
|
|
23
23
|
"esbuild": "0.28.1",
|