@reventlessdev/reventless-aws 3.0.0-alpha.299 → 3.0.0-alpha.300
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
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.300 (2026-08-14)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **core:** one contract for which refusal a platform gave ([7705c13](https://github.com/ReventlessDev/reventless-core/commit/7705c13ec63f41a3a659bc98cfb45b880fd5b222))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 3.0.0-alpha.299 (2026-08-14)
|
|
7
14
|
|
|
8
15
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-aws",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.300",
|
|
4
4
|
"description": "AWS adapters for Reventless",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
"@aws-sdk/s3-request-presigner": "3.970.0",
|
|
13
13
|
"sury": "11.0.0-alpha.4",
|
|
14
14
|
"uuid": "^13.0.0",
|
|
15
|
+
"@reventlessdev/rescript-jest": "1.0.0-alpha.10",
|
|
15
16
|
"@reventlessdev/rescript-effect": "0.1.0-alpha.32",
|
|
16
17
|
"@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.10",
|
|
17
|
-
"@reventlessdev/rescript-jest": "1.0.0-alpha.10",
|
|
18
18
|
"@reventlessdev/rescript-node": "2.0.0-alpha.6",
|
|
19
19
|
"@reventlessdev/rescript-pulumi-aws": "2.4.0-alpha.75",
|
|
20
20
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.19",
|
|
21
21
|
"@reventlessdev/rescript-uuid": "2.0.0-alpha.0",
|
|
22
|
-
"@reventlessdev/reventless-
|
|
23
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.140",
|
|
22
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.141",
|
|
24
23
|
"@reventlessdev/reventless-interop": "3.0.0-alpha.31",
|
|
25
|
-
"@reventlessdev/reventless-postgres": "3.0.0-alpha.
|
|
24
|
+
"@reventlessdev/reventless-postgres": "3.0.0-alpha.98",
|
|
25
|
+
"@reventlessdev/reventless-core": "3.0.0-alpha.234",
|
|
26
26
|
"@reventlessdev/reventless-spec": "3.0.0-alpha.113"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -68,7 +68,7 @@ let make: ReventlessCore.QueryDb_Adapter.resolversMaker<api, role> = (
|
|
|
68
68
|
~subIdField,
|
|
69
69
|
~idResolverConfigs: array<idResolverConfig>,
|
|
70
70
|
~idsResolverConfigs: array<idsResolverConfig>,
|
|
71
|
-
// AWS path enforces authorization via `@
|
|
71
|
+
// AWS path enforces authorization via `@aws_cognito_user_pools(cognito_groups: …)` on the
|
|
72
72
|
// SDL fields (see Stage E in docs/plans/host-ui-login-core.md). Accepted but
|
|
73
73
|
// ignored here so the in-memory and AWS resolver maker signatures stay aligned.
|
|
74
74
|
~authorization as _: Reventless.Authorization.permission,
|
|
@@ -185,10 +185,13 @@ let rec waitForMergeSuccess = async (
|
|
|
185
185
|
// When both are present on the same field, the spec-level permission wins
|
|
186
186
|
// (it is more specific). `AllowGroups([g1, g2, ...])` emits
|
|
187
187
|
// `@aws_cognito_user_pools(cognito_groups: ["g1", "g2", ...])`.
|
|
188
|
-
// `AllowAuthenticated` / `AllowAnonymous` emit
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
188
|
+
// `AllowAuthenticated` / `AllowAnonymous` emit the group-less
|
|
189
|
+
// `@aws_cognito_user_pools` — same reachability (with Cognito as primary auth
|
|
190
|
+
// any reaching request is already authenticated), but stated rather than left
|
|
191
|
+
// implicit, so `assertGateable` can tell "deliberately open" from "nobody
|
|
192
|
+
// stamped this". `AllowGroups([])` and `DenyAll` emit a sentinel `__deny_all__`
|
|
193
|
+
// group that no Cognito user can belong to — effectively blocking the field at
|
|
194
|
+
// the API layer.
|
|
192
195
|
//
|
|
193
196
|
// NOT `@aws_auth(...)`: that is the single-mode form, which AppSync ignores on a
|
|
194
197
|
// multi-auth API — which every API this adapter provisions is. See
|
|
@@ -422,14 +425,14 @@ let injectAwsAuth = (
|
|
|
422
425
|
})
|
|
423
426
|
}
|
|
424
427
|
|
|
425
|
-
// Injects
|
|
428
|
+
// Injects the Cognito group directive on ALL mutation, query, and subscription
|
|
426
429
|
// fields in a fragment. Used for the base fragment where all fields share the
|
|
427
430
|
// same authorization group.
|
|
428
431
|
//
|
|
429
432
|
// `~iamFieldNames` opts the named mutation/query fields into deploy-time IAM
|
|
430
433
|
// (dual-auth): those fields emit `@aws_cognito_user_pools(cognito_groups:
|
|
431
|
-
// ["<group>"]) @aws_iam
|
|
432
|
-
//
|
|
434
|
+
// ["<group>"]) @aws_iam`, keeping the same Cognito group gating while also
|
|
435
|
+
// admitting the SigV4 system caller.
|
|
433
436
|
// Subscriptions are never IAM-marked (the deploy caller does not subscribe).
|
|
434
437
|
// Canonical definition lives in the runtime-pure AppSync_SdlDecorate so the
|
|
435
438
|
// bundled AdminEventCollector Lambda's reactive push decorates the admin base
|