sporades 0.9.40 โ 0.9.42
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 +81 -0
- package/README.md +6 -0
- package/bin/sporades-host-helper.js +333 -81
- package/bin/sporades.js +14618 -3136
- package/dist/access-keys-runtime.d.ts +1 -1
- package/dist/access-keys-runtime.d.ts.map +1 -1
- package/dist/access-keys-runtime.js +16 -5
- package/dist/access-keys-runtime.js.map +1 -1
- package/dist/auth-admission.d.ts.map +1 -1
- package/dist/auth-admission.js +3 -0
- package/dist/auth-admission.js.map +1 -1
- package/dist/auth-runtime.d.ts +10 -7
- package/dist/auth-runtime.d.ts.map +1 -1
- package/dist/auth-runtime.js +150 -28
- package/dist/auth-runtime.js.map +1 -1
- package/dist/capsule-services.d.ts +22 -6
- package/dist/capsule-services.d.ts.map +1 -1
- package/dist/capsule-services.js +80 -40
- package/dist/capsule-services.js.map +1 -1
- package/dist/cli/access-key-operator-envelope.js +1 -1
- package/dist/cli/access-key-operator-envelope.js.map +1 -1
- package/dist/cli/cli-version.d.ts +1 -1
- package/dist/cli/cli-version.js +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +42 -9
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/host-autostart.d.ts +7 -0
- package/dist/cli/host-autostart.d.ts.map +1 -1
- package/dist/cli/host-autostart.js +21 -4
- package/dist/cli/host-autostart.js.map +1 -1
- package/dist/cli/host-backups.d.ts +6 -0
- package/dist/cli/host-backups.d.ts.map +1 -1
- package/dist/cli/host-backups.js.map +1 -1
- package/dist/cli/host-helper-requests.d.ts +2 -2
- package/dist/cli/host-helper-requests.d.ts.map +1 -1
- package/dist/cli/project-config.js +1 -1
- package/dist/cli/project-config.js.map +1 -1
- package/dist/cli/sporades-host-helper.js +320 -71
- package/dist/cli/sporades-host-helper.js.map +1 -1
- package/dist/cli/sporades.js +194 -35
- package/dist/cli/sporades.js.map +1 -1
- package/dist/compose-spec-schema.d.ts +2318 -0
- package/dist/compose-spec-schema.d.ts.map +1 -0
- package/dist/compose-spec-schema.js +2692 -0
- package/dist/compose-spec-schema.js.map +1 -0
- package/dist/container-service-reset.d.ts +4 -0
- package/dist/container-service-reset.d.ts.map +1 -0
- package/dist/container-service-reset.js +107 -0
- package/dist/container-service-reset.js.map +1 -0
- package/dist/container-services.d.ts +62 -0
- package/dist/container-services.d.ts.map +1 -0
- package/dist/container-services.js +701 -0
- package/dist/container-services.js.map +1 -0
- package/dist/endpoint-file-response.d.ts +2 -0
- package/dist/endpoint-file-response.d.ts.map +1 -1
- package/dist/endpoint-file-response.js +5 -0
- package/dist/endpoint-file-response.js.map +1 -1
- package/dist/endpoint-session.d.ts +3 -0
- package/dist/endpoint-session.d.ts.map +1 -0
- package/dist/endpoint-session.js +15 -0
- package/dist/endpoint-session.js.map +1 -0
- package/dist/generated-source-manifest.json +27 -6
- package/dist/observability-runtime.d.ts +1 -2
- package/dist/observability-runtime.d.ts.map +1 -1
- package/dist/observability-runtime.js +65 -43
- package/dist/observability-runtime.js.map +1 -1
- package/dist/server-env-requirements.d.ts.map +1 -1
- package/dist/server-env-requirements.js +8 -0
- package/dist/server-env-requirements.js.map +1 -1
- package/dist/server-runtime-source.d.ts +5 -1
- package/dist/server-runtime-source.d.ts.map +1 -1
- package/dist/server-runtime-source.js +293 -92
- package/dist/server-runtime-source.js.map +1 -1
- package/dist/server.d.ts +12 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +13 -0
- package/dist/server.js.map +1 -1
- package/dist/services-context.d.ts +11 -0
- package/dist/services-context.d.ts.map +1 -0
- package/dist/services-context.js +65 -0
- package/dist/services-context.js.map +1 -0
- package/dist/teams-runtime.d.ts.map +1 -1
- package/dist/teams-runtime.js +30 -0
- package/dist/teams-runtime.js.map +1 -1
- package/dist/templates/client-runtime-template.d.ts.map +1 -1
- package/dist/templates/client-runtime-template.js +17 -1
- package/dist/templates/client-runtime-template.js.map +1 -1
- package/dist/templates/server-bundle-entry.js +1 -0
- package/dist/templates/server-bundle-entry.js.map +1 -1
- package/package.json +11 -4
- package/src/types/client.d.ts +19 -4
- package/src/types/host-backups.d.ts +4 -1
- package/src/types/observability.d.ts +12 -2
- package/src/types/server.d.ts +72 -6
- package/vendor/compose-spec-LICENSE +191 -0
- package/dist/stored-row-decoding.d.ts +0 -7
- package/dist/stored-row-decoding.d.ts.map +0 -1
- package/dist/stored-row-decoding.js +0 -69
- package/dist/stored-row-decoding.js.map +0 -1
package/CHANGES.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## v0.9.42 - 2026-10-30
|
|
4
|
+
|
|
5
|
+
Changes since v0.9.41.
|
|
6
|
+
|
|
7
|
+
### ๐ Features
|
|
8
|
+
|
|
9
|
+
- Add atomic Capsule password-change reservations (#320) (94b959e7).
|
|
10
|
+
- Add declared local Capsule container services (#315) (56a08078).
|
|
11
|
+
|
|
12
|
+
### ๐ Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Fix Hosted route worker readiness timeout and record hosted acceptance (#321) (09f7e539).
|
|
15
|
+
|
|
16
|
+
### ๐ง Improvements
|
|
17
|
+
|
|
18
|
+
- Regenerate dist and bin [skip ci] (b936a834).
|
|
19
|
+
- Regenerate dist and bin [skip ci] (5ecc7466).
|
|
20
|
+
- Regenerate dist and bin [skip ci] (898582f5).
|
|
21
|
+
- Regenerate dist and bin [skip ci] (02920387).
|
|
22
|
+
|
|
23
|
+
### ๐ Documentation
|
|
24
|
+
|
|
25
|
+
- Automate npm releases with GitHub OIDC trusted publishing (#322) (31e6606c).
|
|
26
|
+
- Reconcile Hosted routes after dynamic Docker port changes (#317) (08ff36b8).
|
|
27
|
+
|
|
28
|
+
## v0.9.41 - 2026-10-24
|
|
29
|
+
|
|
30
|
+
Changes since v0.9.40.
|
|
31
|
+
|
|
32
|
+
### ๐ Features
|
|
33
|
+
|
|
34
|
+
- Allow any script version (4a43c515).
|
|
35
|
+
- Add Capsule implicitMutations opt-out for the implicit table mutation surface (#304) (9692d63e).
|
|
36
|
+
- Add explicitly sessionless public endpoints (#308) (1b367744).
|
|
37
|
+
- Add atomic Capsule admission for additional Team creation (#305) (d74d7999).
|
|
38
|
+
|
|
39
|
+
### ๐ Bug Fixes
|
|
40
|
+
|
|
41
|
+
- Prevent account-wide sign-in lockout with bounded verification (#299) (b73dc192).
|
|
42
|
+
|
|
43
|
+
### ๐ง Improvements
|
|
44
|
+
|
|
45
|
+
- Regenerate dist and bin [skip ci] (271b05d2).
|
|
46
|
+
- Regenerate dist and bin [skip ci] (9c3e3204).
|
|
47
|
+
|
|
48
|
+
### ๐ Documentation
|
|
49
|
+
|
|
50
|
+
- Build dist and bin on main with local CI (#314) (3f555768).
|
|
51
|
+
- Remove the runtime-owned ctx.env browser query (#289) (#301) (cde2b5cf).
|
|
52
|
+
- Reject email signup from linked identities (#300) (e6348a83).
|
|
53
|
+
- Make the full test suite pass in office worktrees (#309) (23d1663d).
|
|
54
|
+
- Expose shared rate limits during Capsule File ingress admission (#307) (2f57e950).
|
|
55
|
+
- Revoke all account authority atomically on a browser password change (#302) (32962832).
|
|
56
|
+
- Isolate public collection budgets from server error delivery (#303) (c1956ad0).
|
|
57
|
+
|
|
58
|
+
### ๐งช Tests
|
|
59
|
+
|
|
60
|
+
- Wait for exported durable Job metrics (#311) (48951c93).
|
|
61
|
+
|
|
3
62
|
## v0.9.40 - 2026-10-23
|
|
4
63
|
|
|
5
64
|
Changes since v0.9.39.
|
|
@@ -22,6 +81,15 @@ Changes since v0.9.38.
|
|
|
22
81
|
|
|
23
82
|
## Unreleased
|
|
24
83
|
|
|
84
|
+
### ๐ Security
|
|
85
|
+
|
|
86
|
+
- Remove the runtime-owned `ctx.env` browser query (#289). Query clients,
|
|
87
|
+
including Anonymous Sessions, could subscribe to the undeclared `ctx.env`
|
|
88
|
+
name and receive the entire server environment. That name now follows the
|
|
89
|
+
ordinary unknown-query response and returns no environment data, while
|
|
90
|
+
`ctx.env` stays available to trusted server handlers. A Capsule that declares
|
|
91
|
+
its own query with that name keeps the normal declared-query contract.
|
|
92
|
+
|
|
25
93
|
### ๐ฆ Packaging
|
|
26
94
|
|
|
27
95
|
- Upgrade the default Capsule Base image to `0.3.0-node24-alpine`, using Node
|
|
@@ -34,6 +102,19 @@ Changes since v0.9.38.
|
|
|
34
102
|
|
|
35
103
|
### ๐ Features
|
|
36
104
|
|
|
105
|
+
- Let Capsules opt out of implicit table mutations (#292). Declaring
|
|
106
|
+
`implicitMutations: false` bounds the mutation surface to explicitly declared
|
|
107
|
+
names: every undeclared name answers the ordinary unknown-mutation refusal
|
|
108
|
+
before context middleware, any fallback write, mutation hooks, or success
|
|
109
|
+
effects such as the deferred query rebroadcast. Omitting the flag or passing
|
|
110
|
+
`true` keeps 0.9.x behavior, where undeclared names that describe a table
|
|
111
|
+
(`addNote`, `updateNoteText`) insert or update rows under their fallback
|
|
112
|
+
semantics. Declared mutations, server `ctx.db`, implicit table queries and
|
|
113
|
+
table ACLs keep their behavior, and a bundled declared mutation matching the
|
|
114
|
+
generated scaffold `addโฆ` body stops riding the implicit path while the
|
|
115
|
+
surface is retired. Present non-boolean values are rejected at authoring and
|
|
116
|
+
at Capsule startup (`INVALID_IMPLICIT_MUTATIONS`). The flag is not business
|
|
117
|
+
quota enforcement; declare checks in mutations, ACL rules, or hooks.
|
|
37
118
|
- Add read-only `sporades host db list|dump|query` for running Hosted Capsules (#285).
|
|
38
119
|
It runs the Host helper over the operator's existing SSH access and the
|
|
39
120
|
generated Bundle's one-shot action seam, opens the Capsule SQLite file
|
package/README.md
CHANGED
|
@@ -360,6 +360,12 @@ Capsules through authorized public keys in `sporades.json`. Normal management
|
|
|
360
360
|
remains the CLI and Host helper surfaces; SSH is a compatibility and emergency
|
|
361
361
|
access path.
|
|
362
362
|
|
|
363
|
+
## Contributing
|
|
364
|
+
|
|
365
|
+
Run a local build and tests, but never commit `dist/` or `bin/` in a PR. CI
|
|
366
|
+
regenerates their tracked copies on main after merge. See the
|
|
367
|
+
[generated artifacts workflow](https://github.com/mgscox/sporades/blob/main/docs/agents/generated-artifacts.md).
|
|
368
|
+
|
|
363
369
|
## License
|
|
364
370
|
|
|
365
371
|
MIT
|