sproutboat 0.18.0 → 0.19.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.19.0] - 2026-10-21
14
+
15
+ ### Added
16
+
17
+ - From compatibility date `2026-10-21`, `Response.body` and `Request.body` are
18
+ `ReadableStream`s for every body type, as in Fetch and workerd: `res.body.getReader()`,
19
+ `res.body.pipeThrough(...)` and `new Response(upstream.body)` work on any response,
20
+ including the incoming request. Apps with an earlier `compatibility_date` keep the raw
21
+ body (`JSON.parse(request.body)`, as the examples do); move the date and rebuild to opt in.
22
+
23
+ ### Fixed
24
+
25
+ - `env.BUCKET.put(key, request.body)`, `env.KV.put(key, request.body)` and
26
+ `fetch(url, { body: request.body })` take the request body, stream or not.
27
+ - A non-ASCII request body is no longer UTF-8 encoded twice by `arrayBuffer()`,
28
+ `blob()` or KV `put` (`é` arrived as `é`), and R2 `put` accepts bytes.
29
+
13
30
  ## [0.18.0] - 2026-10-20
14
31
 
15
32
  ### Added
@@ -906,7 +923,8 @@ its own package.
906
923
  - Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
907
924
  `sprout` bin alias in favour of a user-defined shell alias.
908
925
 
909
- [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.18.0...HEAD
926
+ [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.19.0...HEAD
927
+ [0.19.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.18.0...v0.19.0
910
928
  [0.18.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.17.0...v0.18.0
911
929
  [0.17.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.16.0...v0.17.0
912
930
  [0.16.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.15.0...v0.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.18.0
6
+ **Package:** `sproutboat` 0.19.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.18.0",
3
+ "version": "0.19.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.5.0",
67
- "@sproutboat/runtime": "^0.18.0",
68
- "@sproutboat/toolchain": "^0.9.0",
69
- "@sproutboat/wire": "^0.13.1"
67
+ "@sproutboat/runtime": "^0.19.2",
68
+ "@sproutboat/toolchain": "^0.10.2",
69
+ "@sproutboat/wire": "^0.13.2"
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.18.0",
82
- "@sproutboat/cli-darwin-x64": "0.18.0",
83
- "@sproutboat/cli-linux-arm64": "0.18.0",
84
- "@sproutboat/cli-linux-x64": "0.18.0"
81
+ "@sproutboat/cli-darwin-arm64": "0.19.0",
82
+ "@sproutboat/cli-darwin-x64": "0.19.0",
83
+ "@sproutboat/cli-linux-arm64": "0.19.0",
84
+ "@sproutboat/cli-linux-x64": "0.19.0"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"