@sproutboat/runtime 0.37.1 → 0.38.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
@@ -1,5 +1,13 @@
1
1
  # @sproutboat/runtime
2
2
 
3
+ ## 0.38.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3d576cd: `crypto.subtle` gains workerd's surface from compatibility date `2026-11-06` (a placeholder; the date is the maintainers' to choose). This first milestone adds RSASSA-PKCS1-v1_5, RSA-PSS and ECDSA (P-256, P-384, P-521) sign and verify, Ed25519 and workerd's `NODE-ED25519`, PBKDF2 and HKDF for every hash, `generateKey`, `importKey` and `exportKey` in `raw`, `spki`, `pkcs8` and `jwk`, `deriveBits`, `deriveKey` for HMAC keys, and errors that are `DOMException`s with workerd's names. Earlier dates keep the digest, HMAC and PBKDF2-SHA-256 subset and its errors unchanged. The primitives are BearSSL's (already linked) and Monocypher's (vendored for Ed25519); see `packages/runtime/src/subtle/README.md`. Only the embedded transport (standalone binaries and sproutd) has the native half; the broker transport answers `NotSupportedError`. Based on the `DOMException` change.
8
+
9
+ Milestones 1 and 2 ship together: RSA-OAEP, ECDH, X25519, AES-GCM/CBC/CTR/KW, `wrapKey`/`unwrapKey`, `deriveKey` and `crypto.DigestStream` are included. `wrapNativeFetchHandler` takes a trailing `subtle` option (`"always"` by default; `"auto"` drops the new code from a handler that never names `subtle`, `DigestStream` or `CryptoKey`, which saves about 330 KB of a standalone binary).
10
+
3
11
  ## 0.37.1
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutboat/runtime",
3
- "version": "0.37.1",
3
+ "version": "0.38.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,6 +12,7 @@
12
12
  "types": "./src/index.ts",
13
13
  "scripts": {
14
14
  "test": "bun test ./",
15
- "gen:egress": "bun src/gen-egress.ts"
15
+ "gen:egress": "bun src/gen-egress.ts",
16
+ "gen:subtle": "bun src/subtle/assemble.ts"
16
17
  }
17
18
  }