sproutboat 0.29.0 → 0.30.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/CHANGELOG.md CHANGED
@@ -10,6 +10,43 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.30.0] - 2026-10-23
14
+
15
+ Built on `@sproutboat/runtime` 0.29.1, `@sproutboat/toolchain` 0.15.0 and
16
+ `@sproutboat/wire` 0.18.0.
17
+
18
+ ### Fixed
19
+
20
+ - Queues lost data in standalone executables. `sendBatch()` stored every
21
+ message body as the text `"[object Object]"`, and a consumer whose `queue()`
22
+ threw had its whole batch acked. Now the bodies arrive intact, and a throw
23
+ retries every message the consumer had not acked or retried, as on Workers.
24
+ `send()` and `sendBatch()` also honour `delaySeconds` there. These fixes
25
+ apply at every compatibility date.
26
+
27
+ ### Added
28
+
29
+ - Durable Objects like workerd from compatibility date `2026-10-28`:
30
+ - An input gate: while a storage read is in flight, no other request or alarm
31
+ enters the object, so read-then-write updates are no longer lost under
32
+ concurrency. Ten concurrent increments used to end at 1.
33
+ - Storage methods return Promises, and `transaction()` and `sync()` are
34
+ available.
35
+ - Values keep their type: Date, Map, Set, RegExp, BigInt, `Uint8Array`,
36
+ `DataView`, `ArrayBuffer` and more. Other typed arrays throw a DataCloneError
37
+ in `put()`, for now: store their bytes in a `Uint8Array`.
38
+ `put(key, undefined)` throws, as on Workers.
39
+ - `list()` takes `start`, `startAfter`, `end` and `reverse`.
40
+ - `deleteAll()` also removes the alarm.
41
+ Earlier dates keep synchronous JSON storage.
42
+ - From `2026-10-28`, `sendBatch(messages, { delaySeconds })` delays the whole
43
+ batch.
44
+
45
+ ### Changed
46
+
47
+ - A Durable Object `list({ prefix })` matches the prefix exactly at every date.
48
+ `_` and `%` were wildcards, and case was ignored.
49
+
13
50
  ## [0.29.0] - 2026-10-23
14
51
 
15
52
  Built on `@sproutboat/runtime` 0.28.0, `@sproutboat/toolchain` 0.15.0 and
package/SURFACE.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > Generated by `src/surface.test.ts` from `src/surface.ts` + the pinned
4
4
  > toolchain constants. Do not edit by hand — run `UPDATE_SURFACE=1 bun test`.
5
5
 
6
- **Package:** `sproutboat` 0.29.0
6
+ **Package:** `sproutboat` 0.30.0
7
7
 
8
8
  ## Commands
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutboat",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "Wrangler-shaped CLI for Sproutboat. Deploys workers to any control plane via --api-url / SPROUTBOAT_API_URL.",
5
5
  "keywords": [
6
6
  "cli",
@@ -64,9 +64,9 @@
64
64
  "@sproutboat/artifact": "^0.3.0",
65
65
  "@sproutboat/assets": "^0.3.0",
66
66
  "@sproutboat/config": "^0.5.0",
67
- "@sproutboat/runtime": "^0.28.0",
67
+ "@sproutboat/runtime": "^0.29.1",
68
68
  "@sproutboat/toolchain": "^0.15.0",
69
- "@sproutboat/wire": "^0.17.0"
69
+ "@sproutboat/wire": "^0.18.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@oxlint/plugins": "1.85.0",
@@ -78,10 +78,10 @@
78
78
  "typescript": "7.0.2"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@sproutboat/cli-darwin-arm64": "0.29.0",
82
- "@sproutboat/cli-darwin-x64": "0.29.0",
83
- "@sproutboat/cli-linux-arm64": "0.29.0",
84
- "@sproutboat/cli-linux-x64": "0.29.0"
81
+ "@sproutboat/cli-darwin-arm64": "0.30.0",
82
+ "@sproutboat/cli-darwin-x64": "0.30.0",
83
+ "@sproutboat/cli-linux-arm64": "0.30.0",
84
+ "@sproutboat/cli-linux-x64": "0.30.0"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"