sproutboat 0.23.0 → 0.24.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 +36 -1
- package/SURFACE.md +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,40 @@ maintained going forward by the `release` skill.
|
|
|
10
10
|
|
|
11
11
|
## Unreleased
|
|
12
12
|
|
|
13
|
+
## [0.24.0] - 2026-10-22
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- `fetch(Request)`, `fetch(Request, init)` and `new Request(request, init)` behave
|
|
18
|
+
as in workerd from compatibility date `2026-10-23` (`@sproutboat/runtime` 0.23.0,
|
|
19
|
+
`@sproutboat/toolchain` 0.13.0). This covers outgoing `fetch()`, service
|
|
20
|
+
bindings and Durable Object stubs.
|
|
21
|
+
- The Request's method, headers, body, redirect mode and signal apply unless
|
|
22
|
+
`init` replaces them.
|
|
23
|
+
- A body can be used only once: sending or copying a used Request throws.
|
|
24
|
+
- GET and HEAD refuse a body, and an incoming GET has `request.body === null`.
|
|
25
|
+
- Unknown methods, `CONNECT` and `redirect: "error"` throw, as in workerd.
|
|
26
|
+
- The headers of incoming requests, fetched responses and
|
|
27
|
+
`Response.redirect()` are immutable. Copy them to change them.
|
|
28
|
+
|
|
29
|
+
Apps with an earlier date keep the old behaviour. Move `compatibility_date` to
|
|
30
|
+
`2026-10-23` to opt in.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- These apply at every date:
|
|
35
|
+
- `Request.signal` exists, and `fetch()` aborts with a Request's signal.
|
|
36
|
+
- A `ReadableStream` body in an outgoing `fetch()` is sent as its bytes. It
|
|
37
|
+
used to go out as the text `[object ReadableStream]`.
|
|
38
|
+
- `clone()` of a Request or Response with a stream body gives both copies
|
|
39
|
+
the whole body.
|
|
40
|
+
- A copy of an incoming request keeps its raw bytes.
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- `examples/request`, built at `2026-10-23` and checked by `bun run examples`:
|
|
45
|
+
forwarding an incoming request and the Request rules above.
|
|
46
|
+
|
|
13
47
|
## [0.23.0] - 2026-10-22
|
|
14
48
|
|
|
15
49
|
### Added
|
|
@@ -1023,7 +1057,8 @@ its own package.
|
|
|
1023
1057
|
- Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
|
|
1024
1058
|
`sprout` bin alias in favour of a user-defined shell alias.
|
|
1025
1059
|
|
|
1026
|
-
[Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.
|
|
1060
|
+
[Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.24.0...HEAD
|
|
1061
|
+
[0.24.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.23.0...v0.24.0
|
|
1027
1062
|
[0.19.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.18.0...v0.19.0
|
|
1028
1063
|
[0.18.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.17.0...v0.18.0
|
|
1029
1064
|
[0.17.0]: https://github.com/baronunread/sproutboat-cli/compare/v0.16.0...v0.17.0
|
package/SURFACE.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sproutboat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.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.
|
|
68
|
-
"@sproutboat/toolchain": "^0.
|
|
69
|
-
"@sproutboat/wire": "^0.14.
|
|
67
|
+
"@sproutboat/runtime": "^0.23.0",
|
|
68
|
+
"@sproutboat/toolchain": "^0.13.0",
|
|
69
|
+
"@sproutboat/wire": "^0.14.3"
|
|
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.
|
|
82
|
-
"@sproutboat/cli-darwin-x64": "0.
|
|
83
|
-
"@sproutboat/cli-linux-arm64": "0.
|
|
84
|
-
"@sproutboat/cli-linux-x64": "0.
|
|
81
|
+
"@sproutboat/cli-darwin-arm64": "0.24.0",
|
|
82
|
+
"@sproutboat/cli-darwin-x64": "0.24.0",
|
|
83
|
+
"@sproutboat/cli-linux-arm64": "0.24.0",
|
|
84
|
+
"@sproutboat/cli-linux-x64": "0.24.0"
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=18"
|