sproutboat 0.11.0 → 0.11.2

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,33 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.11.2] - 2026-09-14
14
+ ### Fixed
15
+ - Bumped `@sproutboat/runtime` to `^0.6.3`. `v0.11.1` bumped it to `^0.6.2`,
16
+ which fixed the mojibake but not a second, compounding bug in the same
17
+ code path: `__sbFromUtf8` built its result with repeated `out +=` string
18
+ concatenation, which is `O(n^2)` in Porffor's runtime (no rope/cons
19
+ string optimization). A fresh install of `v0.11.1` silently carried this
20
+ forward, since `^0.6.2` is satisfied by `0.6.2` -- a real deployment
21
+ regressed back to 2.6s+ per request from a plain `bun install` picking up
22
+ that exact version, until the dependency was explicitly bumped further.
23
+
24
+ ## [0.11.1] - 2026-09-13
25
+ ### Fixed
26
+ - Bumped `@sproutboat/runtime` to `^0.6.2`, picking up a fix for a handler
27
+ calling `.text()`/`.json()` on a `Response` built from raw wire bytes (the
28
+ assets binding, outbound `fetch()`, or a service-binding `fetch()`) getting
29
+ the bytes back undecoded instead of as real UTF-8 text
30
+ (baronunread/sproutboat#181).
31
+
32
+ ### Changed
33
+ - Added the 4 missing binding examples (`analytics`, `outbound-fetch`,
34
+ `ratelimit`, `vars-secrets`) referenced live by the site's bindings page,
35
+ and wired them into `examples/smoke.ts`.
36
+ - Corrected `vars-secrets`' doc comment: a standalone binary does not refuse
37
+ to start when a declared secret is missing; it starts fine and only throws
38
+ on first use of the missing secret.
39
+
13
40
  ## [0.11.0] - 2026-09-13
14
41
  ### Added
15
42
  - `sproutboat toolchain doctor [--json]`: reports the whole toolchain's state
@@ -443,7 +470,9 @@ its own package.
443
470
  - Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
444
471
  `sprout` bin alias in favour of a user-defined shell alias.
445
472
 
446
- [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.11.0...HEAD
473
+ [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.11.2...HEAD
474
+ [0.11.2]: https://github.com/baronunread/sproutboat-cli/compare/v0.11.1...v0.11.2
475
+ [0.11.1]: https://github.com/baronunread/sproutboat-cli/compare/v0.11.0...v0.11.1
447
476
  [0.11.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.10.3...v0.11.0
448
477
  [0.10.3]: https://github.com/baronunread/sproutboat-cli/compare/v0.10.2...v0.10.3
449
478
  [0.10.2]: https://github.com/baronunread/sproutboat-cli/compare/v0.10.1...v0.10.2
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.11.0 · runs on Bun (use `bunx`, not `npx`)
6
+ **Package:** `sproutboat` 0.11.2 · runs on Bun (use `bunx`, not `npx`)
7
7
 
8
8
  ## Commands
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutboat",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
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.2.0",
65
65
  "@sproutboat/assets": "^0.2.0",
66
66
  "@sproutboat/config": "^0.3.0",
67
- "@sproutboat/runtime": "^0.6.1",
67
+ "@sproutboat/runtime": "^0.6.3",
68
68
  "@sproutboat/toolchain": "^0.4.0",
69
69
  "@sproutboat/wire": "^0.5.0",
70
70
  "esbuild": "^0.28.2"
@@ -78,10 +78,10 @@
78
78
  "typescript": "7.0.2"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@sproutboat/cli-darwin-arm64": "0.11.0",
82
- "@sproutboat/cli-darwin-x64": "0.11.0",
83
- "@sproutboat/cli-linux-arm64": "0.11.0",
84
- "@sproutboat/cli-linux-x64": "0.11.0"
81
+ "@sproutboat/cli-darwin-arm64": "0.11.2",
82
+ "@sproutboat/cli-darwin-x64": "0.11.2",
83
+ "@sproutboat/cli-linux-arm64": "0.11.2",
84
+ "@sproutboat/cli-linux-x64": "0.11.2"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"