sproutboat 0.12.3 → 0.12.4

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,32 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.12.4] - 2026-10-01
14
+
15
+ ### Fixed
16
+
17
+ - Non-ASCII text read back from bindings no longer comes back garbled:
18
+ `"café"` was returned as `"café"` from D1 rows, KV values, cached
19
+ responses, R2 metadata and SQLite error messages, in standalone builds,
20
+ `sproutboat dev` and platform deployments alike. The data itself was stored
21
+ correctly. Fixed in `@sproutboat/runtime` 0.13.1
22
+ (baronunread/sproutboat#189).
23
+ - Async handlers no longer start failing on every request after a few
24
+ requests. An async function returning `null` (an anonymous session lookup,
25
+ say) had its promise rejected with `TypeError: Cannot get property of null`
26
+ once a `new Date().toISOString()` call had run, and the handler never
27
+ recovered. The cause is a Porffor promise-resolution bug, patched in
28
+ `@sproutboat/toolchain` 0.4.17 (baronunread/sproutboat#168).
29
+ - Uncaught exceptions from `fetch`, `scheduled()` and `alarm()` are now logged
30
+ to stderr as `Uncaught (in fetch) Error: ...` before the 500. They used to be
31
+ swallowed silently (`@sproutboat/runtime` 0.13.2).
32
+
33
+ ### Changed
34
+
35
+ - The kitchen-sink example reads its JSON body with `request.json()`, which
36
+ decodes UTF-8, instead of parsing `request.body`, which holds the raw bytes.
37
+ Its conformance suite now checks that non-ASCII text round-trips through D1.
38
+
13
39
  ## [0.12.3] - 2026-10-01
14
40
 
15
41
  ### Changed
@@ -681,7 +707,8 @@ its own package.
681
707
  - Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
682
708
  `sprout` bin alias in favour of a user-defined shell alias.
683
709
 
684
- [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.3...HEAD
710
+ [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.4...HEAD
711
+ [0.12.4]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.3...v0.12.4
685
712
  [0.12.3]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.2...v0.12.3
686
713
  [0.12.2]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.1...v0.12.2
687
714
  [0.12.1]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.0...v0.12.1
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.12.3
6
+ **Package:** `sproutboat` 0.12.4
7
7
 
8
8
  ## Commands
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutboat",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
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,8 +64,8 @@
64
64
  "@sproutboat/artifact": "^0.3.0",
65
65
  "@sproutboat/assets": "^0.3.0",
66
66
  "@sproutboat/config": "^0.4.0",
67
- "@sproutboat/runtime": "^0.13.0",
68
- "@sproutboat/toolchain": "^0.4.16",
67
+ "@sproutboat/runtime": "^0.13.2",
68
+ "@sproutboat/toolchain": "^0.4.17",
69
69
  "@sproutboat/wire": "^0.9.1"
70
70
  },
71
71
  "devDependencies": {
@@ -78,10 +78,10 @@
78
78
  "typescript": "7.0.2"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@sproutboat/cli-darwin-arm64": "0.12.3",
82
- "@sproutboat/cli-darwin-x64": "0.12.3",
83
- "@sproutboat/cli-linux-arm64": "0.12.3",
84
- "@sproutboat/cli-linux-x64": "0.12.3"
81
+ "@sproutboat/cli-darwin-arm64": "0.12.4",
82
+ "@sproutboat/cli-darwin-x64": "0.12.4",
83
+ "@sproutboat/cli-linux-arm64": "0.12.4",
84
+ "@sproutboat/cli-linux-x64": "0.12.4"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"