sproutboat 0.26.0 → 0.27.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,23 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.27.0] - 2026-10-22
14
+
15
+ Built on `@sproutboat/runtime` 0.27.1.
16
+
17
+ ### Fixed
18
+
19
+ - Bodies of megabytes no longer take hundreds of megabytes of memory. Turning
20
+ bytes into text and text into bytes made one string per character, so reading
21
+ a 5 MiB R2 object with `text()` peaked at about 400 MiB, and R2 multipart
22
+ uploads with real (5 MiB) parts ran sproutd's workers out of memory. On a
23
+ standalone build, at 5 MiB: `put()` of a string 82 to 16 MiB, `get()` and
24
+ `text()` 400 to 26 MiB, `request.text()` 402 to 24 MiB.
25
+ - R2 `uploadPart()` stores an `ArrayBuffer` or a typed array as its bytes, at
26
+ every date. It stored the text `[object ArrayBuffer]`.
27
+ - From compatibility date `2026-10-26`, `uploadPart()` takes what `put()` takes
28
+ (a `ReadableStream` or a `Blob` too) and stores text as UTF-8, as in Workers.
29
+
13
30
  ## [0.26.0] - 2026-10-22
14
31
 
15
32
  Built on `@sproutboat/runtime` 0.27.0 and `@sproutboat/wire` 0.16.0.
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.26.0
6
+ **Package:** `sproutboat` 0.27.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.26.0",
3
+ "version": "0.27.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,7 +64,7 @@
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.27.0",
67
+ "@sproutboat/runtime": "^0.27.1",
68
68
  "@sproutboat/toolchain": "^0.13.0",
69
69
  "@sproutboat/wire": "^0.16.0"
70
70
  },
@@ -78,10 +78,10 @@
78
78
  "typescript": "7.0.2"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@sproutboat/cli-darwin-arm64": "0.26.0",
82
- "@sproutboat/cli-darwin-x64": "0.26.0",
83
- "@sproutboat/cli-linux-arm64": "0.26.0",
84
- "@sproutboat/cli-linux-x64": "0.26.0"
81
+ "@sproutboat/cli-darwin-arm64": "0.27.0",
82
+ "@sproutboat/cli-darwin-x64": "0.27.0",
83
+ "@sproutboat/cli-linux-arm64": "0.27.0",
84
+ "@sproutboat/cli-linux-x64": "0.27.0"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"