sporades 0.9.26 โ†’ 0.9.29

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.
Files changed (49) hide show
  1. package/CHANGES.md +14 -144
  2. package/bin/sporades-host-helper.js +424 -412
  3. package/bin/sporades.js +42433 -25226
  4. package/dist/build-diagnostics.d.ts +3 -0
  5. package/dist/build-diagnostics.d.ts.map +1 -0
  6. package/dist/build-diagnostics.js +51 -0
  7. package/dist/build-diagnostics.js.map +1 -0
  8. package/dist/bundle-pipeline.d.ts +4 -0
  9. package/dist/bundle-pipeline.d.ts.map +1 -1
  10. package/dist/bundle-pipeline.js +11 -0
  11. package/dist/bundle-pipeline.js.map +1 -1
  12. package/dist/cli/cli-version.d.ts +1 -1
  13. package/dist/cli/cli-version.js +1 -1
  14. package/dist/cli/project-config.d.ts.map +1 -1
  15. package/dist/cli/project-config.js +5 -2
  16. package/dist/cli/project-config.js.map +1 -1
  17. package/dist/cli/sporades-host-helper.js +14 -2
  18. package/dist/cli/sporades-host-helper.js.map +1 -1
  19. package/dist/cli/sporades.js +97 -20
  20. package/dist/cli/sporades.js.map +1 -1
  21. package/dist/client-prerender.d.ts +30 -0
  22. package/dist/client-prerender.d.ts.map +1 -0
  23. package/dist/client-prerender.js +1614 -0
  24. package/dist/client-prerender.js.map +1 -0
  25. package/dist/client-toolchain.d.ts +5 -0
  26. package/dist/client-toolchain.d.ts.map +1 -1
  27. package/dist/client-toolchain.js +34 -47
  28. package/dist/client-toolchain.js.map +1 -1
  29. package/dist/client.d.ts +1 -0
  30. package/dist/client.d.ts.map +1 -1
  31. package/dist/client.js +1 -0
  32. package/dist/client.js.map +1 -1
  33. package/dist/file-ingress-runtime.d.ts +2 -0
  34. package/dist/file-ingress-runtime.d.ts.map +1 -1
  35. package/dist/file-ingress-runtime.js +197 -47
  36. package/dist/file-ingress-runtime.js.map +1 -1
  37. package/dist/generated-source-manifest.json +12 -2
  38. package/dist/http-runtime.d.ts.map +1 -1
  39. package/dist/http-runtime.js +13 -2
  40. package/dist/http-runtime.js.map +1 -1
  41. package/dist/server-runtime-source.d.ts +3 -1
  42. package/dist/server-runtime-source.d.ts.map +1 -1
  43. package/dist/server-runtime-source.js +48 -2
  44. package/dist/server-runtime-source.js.map +1 -1
  45. package/dist/templates/client-runtime-template.d.ts.map +1 -1
  46. package/dist/templates/client-runtime-template.js +45 -0
  47. package/dist/templates/client-runtime-template.js.map +1 -1
  48. package/package.json +4 -1
  49. package/src/types/client.d.ts +11 -0
package/CHANGES.md CHANGED
@@ -1,159 +1,26 @@
1
1
  # Changes
2
2
 
3
- ## Unreleased - 2026-09-21
3
+ ## Unreleased - 2026-09-23
4
4
 
5
- Changes since v0.9.25.
6
-
7
- ### ๐Ÿš€ Features
8
-
9
- - Add durable notification intents (#75) (8885992b).
10
- - Add PostgreSQL resource transaction locks (f52eb67e).
11
- - Add outer resource watchdog regression coverage (447f186f).
12
- - Implement SQLite Job resource transactions and durable replay receipts (d2553b24).
5
+ Changes since v0.9.28.
13
6
 
14
7
  ### ๐Ÿ› Bug Fixes
15
8
 
16
- - Preserve URL health route contract (#88) (10db3e3d).
17
- - Harden request target rejection (#84) (d7514796).
18
- - Fix HTTP failure logging liveness (#82) (fa53a5d8).
19
- - Fix issue #77 suite baseline failures (#78) (2f52fd41).
20
- - Fix File URL locking and resource acquisition deadlines (4571679e).
21
- - Fix postgres resource callback lock waits (f3f5374f).
22
- - Fence ACL and resource schema races (16200025).
23
- - Fix ACL Promise combinator tracking (4da46e89).
24
- - Reject unsafe resource table identity (c9d6bda0).
25
- - Harden ACL lineage and resource readiness (602a968e).
26
- - Harden ACL promise settlement and reject rewrite rules (901f34ba).
27
- - Reject all resource table triggers (e7546547).
28
- - Lock resource ACL dependencies and reject mutating triggers (fbdb4b53).
29
- - Support async postgres ACL helpers (cfa01f1f).
30
- - Close four findings in PostgreSQL resource handling (b353f1cf).
31
- - Retain lazy reconnect after an unknown COMMIT outcome (08188c67).
32
- - Deny a missing locked anchor before authorization (010a1785).
33
- - Isolate postgres resource error boundaries (91684477).
34
- - Redact PostgreSQL outer resource storage errors (619e0ab5).
35
- - Fix postgres resource failure settlement (6a049ac7).
36
- - Harden PostgreSQL resource authorization (d2dc57cb).
37
- - Make PostgreSQL Job claim locks nowait (0fdfea3d).
38
- - Publish PostgreSQL resource bootstrap atomically (d4f2b435).
39
- - Bound PostgreSQL resource bootstrap lock (cdcc950f).
40
- - Serialize PostgreSQL resource bootstrap (d5afdd21).
41
- - Fix PostgreSQL resource identifier casing (d2bcd317).
42
- - Harden resource transaction adapter seam (be2fe86d).
43
- - Lock PostgreSQL resource authorization (b5f45cfb).
44
- - Settle cancelled PostgreSQL resource Jobs (d4810820).
45
- - Correct PostgreSQL Job loss capability assertion (2958562d).
46
- - Fix outer resource logging settlement (4afe9504).
47
- - Fix outer watchdog mutation race regression (2f849575).
48
- - Fix authentication provider labels and migrate corrupted user rows (63d2f16a).
49
- - Fix stale page-token recovery and bound unstable reconnects (b601a9ab).
50
- - Repair resource constructor typing and regenerate shipped CLI fixes (98e22936).
51
- - Fix SQLite resource review findings and document invocation boundaries (b1c0fe4b).
52
- - Correct ticket 06 dependency metadata for resource swarm (cdba60a9).
53
-
54
- ### ๐Ÿ”ง Improvements
55
-
56
- - Reconcile monolith HTTP import census (#87) (9c897f7a).
57
- - Reconcile HTTP runtime module census (#85) (a9a66a68).
58
- - Keep ACL race and any fail closed (84a8fc8e).
59
- - Clarify PostgreSQL resource evidence boundaries (abcc32e3).
60
- - Fail closed for noneligible resource adapters (c25db850).
61
- - Race outer resource hooks with deadline (43a99c76).
62
- - Guard endpoint files after resource binding (bb42a116).
63
- - Mark ticket 02 done: merged as e31b4dfe (#61) (fa640cd1).
64
-
65
- ### ๐Ÿ“ Documentation
66
-
67
- - Track request admission research (#90) (1d5f27a1).
68
- - Reconcile HTTP re-export census (#89) (1220e9f9).
69
- - Complete HTTP runtime caller census (#86) (0955f7c3).
70
- - Book ticket 07 completion (32759b21).
71
- - Verify amended Grant workflow boundaries (#76) (14eda541).
72
- - Book ticket 06 complete (f0d905e5).
73
- - Book ticket 05 complete (PR #74) (45258174).
74
- - Fail closed for libSQL resource scopes (#74) (d9f036d5).
75
- - Unblock fence tickets 05/06 after 02/04 merged (687f58d1).
76
- - Reject partitioned PostgreSQL resource tables (f198d2de).
77
- - Reject unexpected resource indexes (fa474fd6).
78
- - Await Team ACL helpers (82d8b4ef).
79
- - Configure engineering skills for GitHub issues (831fc4bf).
80
- - Prove PostgreSQL endpoint receipt recovery (be719200).
81
- - Complete PostgreSQL resource receipt recovery (675120bd).
82
- - Mark ticket 03 merged and update resource fence frontier (9229ea96).
83
- - Reconcile outer resource commits and publish logs (d033d108).
84
- - Regenerate resource API reference (be2c0dba).
85
- - Document outer resource transaction joining (9851aba0).
86
- - Track unsupported notification attempts through resource rollback (8b094c59).
87
- - Map resource connection acquisition errors and retain durable planning links (869bb009).
88
- - Align Stripe dependency and pinned API version on 22.6.2 (2b5cc9c6).
89
- - Expose auth.sessionToken() for same-origin public endpoints (#62) (0a87a800).
90
- - Carry approved M1 resource transaction plan from decision PR 57 (28e95c2e).
9
+ - Evict only on an unanswered ping and document the heartbeat (66f964e0).
10
+ - Ping idle WebSockets so proxy idle timeouts do not strand pages (7ee9c7f8).
11
+ - Start no freshclam after retained-updater cleanup once shutdown began (0185fc01).
12
+ - Close ClamAV refresh shutdown race and recover crashed clamd (6c23b686).
13
+ - Start degraded on stale ClamAV signatures and allow 26h freshness (79dd3ece).
14
+ - Own ClamAV signature refresh in the Capsule runtime (17193be4).
91
15
 
92
16
  ### ๐Ÿงช Tests
93
17
 
94
- - Preserve literal HTTP request-target semantics (#83) (9b4eb84b).
95
- - Quarantine Postgres backend on deadline cancellation (61162981).
96
- - Bound PostgreSQL cancellation delivery (1d97423f).
97
- - Fence cancelled Postgres queries and nested ACL promises (70f09f18).
98
- - Bind File deletion authorization to locked metadata (d1b497ca).
99
- - Bound PostgreSQL resource callback lock waits (709d14f2).
100
- - Normalize PostgreSQL ACL lock contention (6c8ed5f8).
101
- - Bound PostgreSQL ACL dependency locks (59005492).
102
- - Bound Job resource authorization contention (1d0a407c).
103
- - Preserve resource callback SQLSTATE errors (6cdb5476).
104
- - Reject generated Postgres resource columns (098753ad).
105
- - Reject unsafe Postgres resource schemas (568c50e2).
106
- - Prove PostgreSQL resource schema publication (91ce4717).
107
- - Census carried resource and billing modules (85285957).
108
- - Prove resource transaction seam boundary (656bddf3).
109
- - Cover PostgreSQL Job claim conflicts (6cd34a7f).
110
- - Prove PostgreSQL paused-owner recovery (ec9a17e0).
111
- - Prove PostgreSQL resource process death recovery (846fb131).
112
- - Reset PostgreSQL commit-loss fixture (67ed81b3).
113
- - Prove PostgreSQL commit acknowledgement loss (6d6f0c31).
114
- - Assert revoked PostgreSQL Job scope handles (1e543513).
115
- - Fence PostgreSQL Job claims through commit admission (951c1fd6).
116
- - Cover PostgreSQL Job resource receipts (bb614495).
117
- - Prove PostgreSQL resource lock contention and backend loss (c50007ab).
118
- - Harden outer resource admission and failures (205df5da).
119
- - Prove outer resource dispatch causally (a9c750ff).
120
- - Poison admitted outer resource failures (4b0c7a71).
121
- - Quarantine SQLite root after uncertain outer commit (81322daa).
122
- - Redact postcommit resource log publication failures (76a11538).
123
- - Keep outer cleanup watchdog coverage runtime-owned (7fbc2e19).
124
- - Prove outer notification rejection settlement (a246cb65).
125
- - Fence outer resource settlement and parent logging (11ab4cfe).
126
- - Cover outer resource uncertainty across endpoints (181ad213).
127
- - Prove outer resource commit uncertainty outcomes (fd8af841).
128
- - Classify outer resource commit uncertainty (c5990fa3).
129
- - Quarantine uncertain outer resource connections (a21fa98d).
130
- - Fence outer resource middleware and commit deadline (b07bfe1e).
131
- - Track nested resource table operations (a6285359).
132
- - Prove watchdog reaches pending log cleanup (177d08a4).
133
- - Make outer hook watchdog proof self-contained (e79596a2).
134
- - Cover watchdog during resource cleanup (5de7d131).
135
- - Assert Grant state inside protected Jobs (56342516).
136
- - Prove joined Grant mutations across runtimes (464e69fe).
137
- - Cover real multipart endpoint resource file guards (ab61e05a).
138
- - Cover endpoint resource file guards (e3c71ed0).
139
- - Cover outer resource hook deadline (0cbe976e).
140
- - Exercise the token route in Journey reconnect integration tests (5884446a).
141
- - Abort outer cleanup after resource deadline (8fbcab4d).
142
- - Cover outer resource log transactions (260a9270).
143
- - Poison caught outer resource failures (6d00d514).
144
- - Prove membership ACL ordering across runtimes (2da4cddd).
145
- - Prove Grant resource ordering across workers (cda02216).
146
- - Cover endpoint resource deadline parity (62160e8e).
147
- - Prove outer resource transaction ordering (b7c9d4e4).
148
- - Keep outer resource deadline through transaction settlement (7ae38c07).
149
- - WIP: fence outer resource transaction deadline (34da2523).
150
- - WIP: join mutation and endpoint resource scopes (1092d072).
151
- - Reconcile resource cancellation from independent runtimes (93a1442b).
152
- - Preserve cancelled Job settlement for resource abort errors (fa2b08c3).
18
+ - Buffer raw WebSocket frames across TCP chunks (e07288dd).
19
+ - Describe the ClamAV freshness gate without a fixed age (b180ac1a).
153
20
 
154
21
  ### ๐Ÿ“ฆ Packaging
155
22
 
156
- - Bound PostgreSQL quarantine lock release (bff3a21c).
23
+ - Regenerate runtime artifacts for the WebSocket heartbeat (d0b1193b).
157
24
 
158
25
  ## v0.9.11 - 2026-09-02
159
26
 
@@ -253,3 +120,6 @@ generated artifacts, and documentation.
253
120
 
254
121
 
255
122
 
123
+
124
+
125
+