sproutboat 0.12.5 → 0.12.6

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,29 @@ maintained going forward by the `release` skill.
10
10
 
11
11
  ## Unreleased
12
12
 
13
+ ## [0.12.6] - 2026-10-03
14
+
15
+ ### Fixed
16
+
17
+ - `String.prototype.replaceAll` is linear: replacing in a 2.1 MB string took
18
+ about 42 s and now takes 71 ms (`@sproutboat/toolchain` 0.4.20,
19
+ baronunread/sproutboat#237).
20
+ - uuid and @noble/hashes work. Four compiler bugs and one runtime bug were
21
+ behind them (baronunread/sproutboat#238):
22
+ - Integer typed-array stores wrapped wrongly: `uint32[i] = x | 0` stored 0
23
+ for negative `x`, and `fill`/`set`/`from` were affected too.
24
+ - `typedArray.set(source)` with no offset copied nothing and wrote into the
25
+ wrong memory.
26
+ - `~x` was wrong for values above 2^31.
27
+ - Typed-array reads past the end returned neighbouring memory instead of
28
+ `undefined`.
29
+ - A handler's own top-level `URL` (uuid exports one) replaced the runtime's
30
+ `URL` class and crashed the binary at startup. The handler now runs in its
31
+ own scope.
32
+
33
+ SHA-256, HMAC and uuid v5 now match Node (`@sproutboat/toolchain` 0.4.22,
34
+ `@sproutboat/runtime` 0.13.4).
35
+
13
36
  ## [0.12.5] - 2026-10-02
14
37
 
15
38
  ### Fixed
@@ -731,7 +754,8 @@ its own package.
731
754
  - Renamed the package to `sproutboat` (was `@sproutboat/cli`); dropped the
732
755
  `sprout` bin alias in favour of a user-defined shell alias.
733
756
 
734
- [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.5...HEAD
757
+ [Unreleased]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.6...HEAD
758
+ [0.12.6]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.5...v0.12.6
735
759
  [0.12.5]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.4...v0.12.5
736
760
  [0.12.4]: https://github.com/baronunread/sproutboat-cli/compare/v0.12.3...v0.12.4
737
761
  [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.6
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.6",
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.3",
68
- "@sproutboat/toolchain": "^0.4.19",
67
+ "@sproutboat/runtime": "^0.13.4",
68
+ "@sproutboat/toolchain": "^0.4.22",
69
69
  "@sproutboat/wire": "^0.9.2"
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.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.6",
82
+ "@sproutboat/cli-darwin-x64": "0.12.6",
83
+ "@sproutboat/cli-linux-arm64": "0.12.6",
84
+ "@sproutboat/cli-linux-x64": "0.12.6"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=18"