sproutboat 0.45.0 → 0.46.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,35 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.46.0] - 2026-10-30
14
+
15
+ Built on `@sproutboat/runtime` 0.37.1, `@sproutboat/toolchain` 0.21.1 and
16
+ `@sproutboat/wire` 0.21.0. Each change below that an existing app could observe starts at a new
17
+ compatibility date; earlier dates answer as before.
18
+
19
+ ### Added
20
+
21
+ - **D1 like workerd from `2026-11-03`**: a PRAGMA outside D1's allow-list fails with `not authorized`,
22
+ and `exec()` errors and empty statements follow workerd.
23
+ - **Durable Objects like workerd from `2026-11-04`**: `alarm(alarmInfo)` with `{ retryCount, isRetry }`,
24
+ multi-statement `sql.exec()`, `ctx.storage.kv`, `ctx.abort()`, `ctx.props`, transactions on one object
25
+ that run one after another, a transaction that refuses use after `rollback()` or commit, structured
26
+ clone that keeps shared and circular references, and the argument checks of `get`, `put`, `list` and
27
+ `setAlarm`.
28
+ - **Queues like workerd from `2026-11-05`**: the v8 content type keeps shared and circular references, holes
29
+ and invalid dates, message fields are read-only, `send()` and `sendBatch()` check their arguments, and a
30
+ delivery with non-ASCII text reaches the consumer as UTF-8 instead of mojibake.
31
+ - **`DOMException` is a constructible global**, and abort and timeout reasons are instances of it.
32
+ - **`TextDecoder` decodes UTF-16LE, UTF-16BE and windows-1252**; `Blob.prototype.stream()` exists; a
33
+ constructed `Response` has `url` "" and `redirected` false.
34
+
35
+ ### Fixed
36
+
37
+ - **`crypto.getRandomValues` fills every byte** of a wider view (a `Uint32Array` came back below 256).
38
+ - **A collector crash (SIGBUS)**: a minor collection scanned the entries block an array left behind when it
39
+ grew, and marked blocks that had been freed and reused. A request that rejects more promises than
40
+ Promise's pending list has room for could end the process some hundreds of requests later.
41
+
13
42
  ## [0.45.0] - 2026-10-29
14
43
 
15
44
  ### Added
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.45.0
6
+ **Package:** `sproutboat` 0.46.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.45.0",
3
+ "version": "0.46.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.6.0",
67
- "@sproutboat/runtime": "^0.36.0",
68
- "@sproutboat/toolchain": "^0.21.0",
69
- "@sproutboat/wire": "^0.20.4"
67
+ "@sproutboat/runtime": "^0.37.1",
68
+ "@sproutboat/toolchain": "^0.21.1",
69
+ "@sproutboat/wire": "^0.21.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.45.0",
82
- "@sproutboat/cli-darwin-x64": "0.45.0",
83
- "@sproutboat/cli-linux-arm64": "0.45.0",
84
- "@sproutboat/cli-linux-x64": "0.45.0"
81
+ "@sproutboat/cli-darwin-arm64": "0.46.0",
82
+ "@sproutboat/cli-darwin-x64": "0.46.0",
83
+ "@sproutboat/cli-linux-arm64": "0.46.0",
84
+ "@sproutboat/cli-linux-x64": "0.46.0"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"