sproutboat 0.12.2 → 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 +40 -1
- package/SURFACE.md +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,43 @@ 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
|
+
|
|
39
|
+
## [0.12.3] - 2026-10-01
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- Builds use Porffor alpha-13 (`547c781`), up from alpha-10, through
|
|
44
|
+
`@sproutboat/toolchain` 0.4.16. Alpha-11 to alpha-13 add array and typed
|
|
45
|
+
array fast paths, closure and module codegen fixes, a basic `RegExp`
|
|
46
|
+
search, a `String.prototype.normalize` stub and lowercase JSON hex escapes.
|
|
47
|
+
Compatibility is unchanged at 30/32 handlers and binaries are about 1.7%
|
|
48
|
+
smaller.
|
|
49
|
+
|
|
13
50
|
## [0.12.2] - 2026-10-01
|
|
14
51
|
|
|
15
52
|
### Fixed
|
|
@@ -670,7 +707,9 @@ its own package.
|
|
|
670
707
|
- Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
|
|
671
708
|
`sprout` bin alias in favour of a user-defined shell alias.
|
|
672
709
|
|
|
673
|
-
[Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.
|
|
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
|
|
712
|
+
[0.12.3]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.2...v0.12.3
|
|
674
713
|
[0.12.2]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.1...v0.12.2
|
|
675
714
|
[0.12.1]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.0...v0.12.1
|
|
676
715
|
[0.12.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.11.13...v0.12.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.12.
|
|
6
|
+
**Package:** `sproutboat` 0.12.4
|
|
7
7
|
|
|
8
8
|
## Commands
|
|
9
9
|
|
|
@@ -76,7 +76,7 @@ usage: sproutboat <init [name] | check [project-dir] | types [project-dir] | dev
|
|
|
76
76
|
| | |
|
|
77
77
|
| --- | --- |
|
|
78
78
|
| Zig | `0.16.0` (`zig cc -target x86_64-linux-musl`, static) |
|
|
79
|
-
| Provenance stamp | `zig-musl/0.16.0+porffor/
|
|
79
|
+
| Provenance stamp | `zig-musl/0.16.0+porffor/547c781+uws/360c276d` |
|
|
80
80
|
| Artifact schema | `2` |
|
|
81
81
|
| Runtime | `native-fetch` |
|
|
82
82
|
| Capability profile | `http-sync-v0` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sproutboat",
|
|
3
|
-
"version": "0.12.
|
|
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.
|
|
68
|
-
"@sproutboat/toolchain": "^0.4.
|
|
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.
|
|
82
|
-
"@sproutboat/cli-darwin-x64": "0.12.
|
|
83
|
-
"@sproutboat/cli-linux-arm64": "0.12.
|
|
84
|
-
"@sproutboat/cli-linux-x64": "0.12.
|
|
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"
|