sporades 0.9.4 โ 0.9.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/CHANGES.md +60 -23
- package/bin/sporades-host-helper.js +9 -1
- package/bin/sporades.js +11992 -11088
- package/dist/auth-admission.d.ts.map +1 -1
- package/dist/auth-admission.js +9 -0
- package/dist/auth-admission.js.map +1 -1
- package/dist/auth-runtime.d.ts +8 -4
- package/dist/auth-runtime.d.ts.map +1 -1
- package/dist/auth-runtime.js +288 -8
- package/dist/auth-runtime.js.map +1 -1
- package/dist/cli/cli-version.d.ts +1 -1
- package/dist/cli/cli-version.js +1 -1
- package/dist/cli/sporades.js +18 -1
- package/dist/cli/sporades.js.map +1 -1
- package/dist/database-runtime.d.ts.map +1 -1
- package/dist/database-runtime.js +32 -3
- package/dist/database-runtime.js.map +1 -1
- package/dist/file-ingress-runtime.d.ts +95 -0
- package/dist/file-ingress-runtime.d.ts.map +1 -0
- package/dist/file-ingress-runtime.js +529 -0
- package/dist/file-ingress-runtime.js.map +1 -0
- package/dist/file-storage-runtime.d.ts +1 -0
- package/dist/file-storage-runtime.d.ts.map +1 -1
- package/dist/file-storage-runtime.js +39 -1
- package/dist/file-storage-runtime.js.map +1 -1
- package/dist/generated-source-manifest.json +7 -2
- package/dist/server-runtime-source.d.ts.map +1 -1
- package/dist/server-runtime-source.js +213 -38
- package/dist/server-runtime-source.js.map +1 -1
- package/dist/server.d.ts +17 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js.map +1 -1
- package/dist/team-billing-management.js +0 -4
- package/dist/team-billing-management.js.map +1 -1
- package/dist/templates/client-runtime-template.js +23 -23
- package/package.json +1 -1
- package/src/types/client.d.ts +5 -4
- package/src/types/server.d.ts +25 -2
package/CHANGES.md
CHANGED
|
@@ -1,38 +1,76 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
query and mutation contexts and to exact-Team Join admission. Current members
|
|
5
|
-
may be authorized for safe reads while all customer-directed commands remain
|
|
6
|
-
current-Team-admin operations; retained context handles are revoked.
|
|
7
|
-
- Add an offline `sporades/server/team-billing-import` seam for exact,
|
|
8
|
-
provider-free import of verified legacy Subscription snapshots and replay
|
|
9
|
-
guards. Incomplete or conflicting evidence fails closed, including drift in
|
|
10
|
-
durable Event ordering, terminal-latch safety fields, and contradictory
|
|
11
|
-
Subscription Event/state tuples. The public adapter type now declares the
|
|
12
|
-
complete named-dialect, execution, prepared-statement, and transaction seam.
|
|
3
|
+
## Unreleased - 2026-08-30
|
|
13
4
|
|
|
14
|
-
|
|
5
|
+
Changes since v0.9.5.
|
|
15
6
|
|
|
16
|
-
|
|
7
|
+
### ๐ Features
|
|
8
|
+
|
|
9
|
+
- Persist encrypted OAuth registration admission (920f4a71).
|
|
10
|
+
- Persist ingress receipts in runtime storage (015b03d0).
|
|
11
|
+
- Stream bounded multipart ingress parts (3996fe29).
|
|
12
|
+
- Add email registration admission seam (70168d34).
|
|
13
|
+
- Add trusted multipart file ingress leases (b51afa4e).
|
|
17
14
|
|
|
18
15
|
### ๐ Bug Fixes
|
|
19
16
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
17
|
+
- Publish ingress leases with CAS (9627b286).
|
|
18
|
+
- Preserve absent registration and stream file caps (7d5b35b4).
|
|
19
|
+
- Preserve null registration admission (252cf282).
|
|
20
|
+
- Close ingress and admission lifetimes (fa026b59).
|
|
21
|
+
- Preserve optional stable ingress keys (0002dc04).
|
|
22
|
+
- Align admission and ingress validation (1856cef4).
|
|
23
|
+
- Enforce multipart boundary grammar (44c43a3e).
|
|
24
|
+
- Complete local admission and ingress lifecycle (80d1d1c6).
|
|
25
|
+
- Validate OAuth admission envelope grammar (904b572d).
|
|
26
|
+
- Enforce multipart and OAuth admission bounds (ed405e88).
|
|
27
|
+
- Replay legacy principal ingress receipts (42290032).
|
|
28
|
+
- Fence registration and harden multipart framing (0f0a7429).
|
|
29
|
+
- Compensate failed multipart staging (2bcd0f2b).
|
|
30
|
+
- Honor trusted multipart ingress policy (7a425e98).
|
|
31
|
+
- Complete registration admission release parity (baeee2eb).
|
|
32
|
+
- Fix integrated endpoint ingress compatibility (5149e47f).
|
|
33
|
+
- Fix registration finalizer rollback (ed6d2129).
|
|
34
|
+
- Recover legacy actor ingress receipts (7fcb4994).
|
|
35
|
+
- Harden OAuth registration admission keys (582f0d90).
|
|
36
|
+
- Bind ingress ownership to explicit authority (033f4c6e).
|
|
37
|
+
- Migrate OAuth registration key pointers (fa7df6e9).
|
|
38
|
+
- Retire expired ingress leases safely (1b6a6cc5).
|
|
39
|
+
- Serialize ingress claims across runtimes (dc6c00c0).
|
|
40
|
+
- Persist ingress claim completion transactionally (2d3f98e1).
|
|
41
|
+
- Serialize ingress receipt acquisition (47d74918).
|
|
42
|
+
- Retain multipart parser state across chunks (a3d0ca92).
|
|
43
|
+
- Preserve multipart endpoint policy at runtime (cc4353ec).
|
|
44
|
+
|
|
45
|
+
### ๐ Documentation
|
|
46
|
+
|
|
47
|
+
- Prove fragmented MinIO ingress cleanup (e4d9c7c6).
|
|
48
|
+
- Complete trusted file ingress parity (dd50047f).
|
|
49
|
+
- Fix registration admission option examples (a18f91e6).
|
|
22
50
|
|
|
23
51
|
### ๐งช Tests
|
|
24
52
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
53
|
+
- Prove ingress claim transaction rollback (60a4b98c).
|
|
54
|
+
- Register ingress storage in adapter conformance (0001d96d).
|
|
55
|
+
- Prove ingress response loss recovery (c41025df).
|
|
56
|
+
- Prove ingress descriptor conflict race (0a12ed19).
|
|
57
|
+
- Prove concurrent ingress receipt acquisition (996db64d).
|
|
58
|
+
- Prove multipart ingress denial and disconnect cleanup (f2a08da5).
|
|
59
|
+
- Prove bounded multipart streaming (d3824243).
|
|
31
60
|
|
|
32
61
|
### ๐ฆ Packaging
|
|
33
62
|
|
|
34
|
-
-
|
|
35
|
-
-
|
|
63
|
+
- Refresh host helper auth runtime (9248fc86).
|
|
64
|
+
- Prepare Sporades 0.9.6 integration candidate (50bb32ae).
|
|
65
|
+
|
|
66
|
+
## Unreleased - 2026-08-26
|
|
67
|
+
|
|
68
|
+
Changes since v0.9.4.
|
|
69
|
+
|
|
70
|
+
### ๐ Bug Fixes
|
|
71
|
+
|
|
72
|
+
- Dispatch Team billing after mutation commit (62482c15).
|
|
73
|
+
- Stage Team billing from mutation transactions (fd649a91).
|
|
36
74
|
|
|
37
75
|
## 0.8.5 - 2026-08-15
|
|
38
76
|
|
|
@@ -71,4 +109,3 @@ generated artifacts, and documentation.
|
|
|
71
109
|
never sends Join-link email. See the [Built-in Teams reference](https://mgscox.github.io/sporades/reference/teams).
|
|
72
110
|
|
|
73
111
|
|
|
74
|
-
|
|
@@ -293,6 +293,10 @@ var EMAIL_SIGN_IN_THROTTLE_WINDOW_MS = 15 * 60 * 1e3;
|
|
|
293
293
|
var PASSWORD_RESET_DEFAULT_TTL_MS = 60 * 60 * 1e3;
|
|
294
294
|
var PASSWORD_RESET_MIN_TTL_MS = 5 * 60 * 1e3;
|
|
295
295
|
var PASSWORD_RESET_MAX_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
296
|
+
var registrationDeniedRollbackMarker = Symbol("sporades.registrationDeniedRollback");
|
|
297
|
+
var invalidRegistrationAdmission = Symbol("sporades.invalidRegistrationAdmission");
|
|
298
|
+
var OAUTH_REGISTRATION_KEY_GRACE_MS = 10 * 60 * 1e3;
|
|
299
|
+
var oauthRegistrationUnsealFailed = Symbol("sporades.oauthRegistrationUnsealFailed");
|
|
296
300
|
|
|
297
301
|
// src/cli/access-key-operator-envelope.ts
|
|
298
302
|
import { createInterface } from "node:readline/promises";
|
|
@@ -454,6 +458,10 @@ var nodeFsModule = process.getBuiltinModule("node:fs");
|
|
|
454
458
|
var transactionOperations = Symbol.for("sporades.database.transactionOperations");
|
|
455
459
|
var transactionBeforeCommitChecks2 = Symbol.for("sporades.database.transactionBeforeCommitChecks");
|
|
456
460
|
|
|
461
|
+
// src/file-ingress-runtime.ts
|
|
462
|
+
var crypto2 = process.getBuiltinModule("node:crypto");
|
|
463
|
+
var leaseTtlMs = 10 * 60 * 1e3;
|
|
464
|
+
|
|
457
465
|
// src/server-runtime-source.ts
|
|
458
466
|
var trustedReadTransactionAdapter = Symbol("sporades.trustedReadTransactionAdapter");
|
|
459
467
|
var runtimeOwnedJobEnqueueHandler = Symbol("sporades.runtimeOwnedJobEnqueueHandler");
|
|
@@ -614,7 +622,7 @@ function writeEnvelope(result, failed = false) {
|
|
|
614
622
|
}
|
|
615
623
|
|
|
616
624
|
// src/cli/cli-version.ts
|
|
617
|
-
var CLI_VERSION = "0.9.
|
|
625
|
+
var CLI_VERSION = "0.9.7";
|
|
618
626
|
|
|
619
627
|
// src/cli/schedule-inspection-envelope.ts
|
|
620
628
|
var SCHEDULE_DIAGNOSTIC_FIELDS = /* @__PURE__ */ new Set([
|