sproutboat 0.12.5 → 0.12.7

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,48 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.12.7] - 2026-10-03
14
+
15
+ ### Fixed
16
+
17
+ - Writing past the end of a typed array is ignored instead of overwriting
18
+ neighbouring memory. `a[-1] = x` no longer writes `a[0]`
19
+ (`@sproutboat/toolchain` 0.4.23, baronunread/sproutboat#241).
20
+ - `join()` and `toString()` work on typed arrays. `Uint8Array.join` returned
21
+ garbage, and a `Uint16Array.join` could kill the process
22
+ (`@sproutboat/toolchain` 0.4.24, baronunread/sproutboat#242).
23
+ - KV stores binary values: `put()` of an `ArrayBuffer` or typed array keeps
24
+ its bytes instead of storing `"0,1,2,..."`. `get(key, type)` supports
25
+ `"text"`, `"json"` and `"arrayBuffer"` (baronunread/sproutboat#233).
26
+ - `fetch()` and service-binding request bodies send an `ArrayBuffer` or typed
27
+ array as its exact bytes, in standalone builds and through the broker. The
28
+ standalone client also no longer cuts a body off at its first zero byte
29
+ (`@sproutboat/runtime` 0.13.5, `@sproutboat/wire` 0.9.3,
30
+ baronunread/sproutboat#232).
31
+
32
+ ## [0.12.6] - 2026-10-03
33
+
34
+ ### Fixed
35
+
36
+ - `String.prototype.replaceAll` is linear: replacing in a 2.1 MB string took
37
+ about 42 s and now takes 71 ms (`@sproutboat/toolchain` 0.4.20,
38
+ baronunread/sproutboat#237).
39
+ - uuid and @noble/hashes work. Four compiler bugs and one runtime bug were
40
+ behind them (baronunread/sproutboat#238):
41
+ - Integer typed-array stores wrapped wrongly: `uint32[i] = x | 0` stored 0
42
+ for negative `x`, and `fill`/`set`/`from` were affected too.
43
+ - `typedArray.set(source)` with no offset copied nothing and wrote into the
44
+ wrong memory.
45
+ - `~x` was wrong for values above 2^31.
46
+ - Typed-array reads past the end returned neighbouring memory instead of
47
+ `undefined`.
48
+ - A handler's own top-level `URL` (uuid exports one) replaced the runtime's
49
+ `URL` class and crashed the binary at startup. The handler now runs in its
50
+ own scope.
51
+
52
+ SHA-256, HMAC and uuid v5 now match Node (`@sproutboat/toolchain` 0.4.22,
53
+ `@sproutboat/runtime` 0.13.4).
54
+
13
55
  ## [0.12.5] - 2026-10-02
14
56
 
15
57
  ### Fixed
@@ -731,7 +773,9 @@ its own package.
731
773
  - Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
732
774
  `sprout` bin alias in favour of a user-defined shell alias.
733
775
 
734
- [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.5...HEAD
776
+ [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.7...HEAD
777
+ [0.12.7]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.6...v0.12.7
778
+ [0.12.6]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.5...v0.12.6
735
779
  [0.12.5]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.4...v0.12.5
736
780
  [0.12.4]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.3...v0.12.4
737
781
  [0.12.3]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.2...v0.12.3
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.5
6
+ **Package:** `sproutboat` 0.12.7
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.5",
3
+ "version": "0.12.7",
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.4.0",
67
- "@sproutboat/runtime": "^0.13.3",
68
- "@sproutboat/toolchain": "^0.4.19",
69
- "@sproutboat/wire": "^0.9.2"
67
+ "@sproutboat/runtime": "^0.13.5",
68
+ "@sproutboat/toolchain": "^0.4.24",
69
+ "@sproutboat/wire": "^0.9.3"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@oxlint/plugins": "1.81.0",
@@ -78,10 +78,10 @@
78
78
  "typescript": "7.0.2"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@sproutboat/cli-darwin-arm64": "0.12.5",
82
- "@sproutboat/cli-darwin-x64": "0.12.5",
83
- "@sproutboat/cli-linux-arm64": "0.12.5",
84
- "@sproutboat/cli-linux-x64": "0.12.5"
81
+ "@sproutboat/cli-darwin-arm64": "0.12.7",
82
+ "@sproutboat/cli-darwin-x64": "0.12.7",
83
+ "@sproutboat/cli-linux-arm64": "0.12.7",
84
+ "@sproutboat/cli-linux-x64": "0.12.7"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"