@reventlessdev/rescript-pulumi-aws 3.0.0-alpha.33 → 3.0.0-alpha.35
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 +25 -0
- package/package.json +4 -4
- package/src/AppSync/AppSync_Resolver_Functions.res +0 -2
- package/src/AppSync/AppSync_Resolver_Functions.res.mjs +0 -2
- package/src/Lambda/Lambda.res +1 -1
- package/src/S3/S3_Bucket.res +1 -1
- package/src/SNS/SNS_Topic.res +9 -9
- package/src/SecretsManager/GetSecretVersion.res +1 -1
- package/tests/AppSync_Resolver_FunctionsTest.mjs +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
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.35 (2026-10-29)
|
|
7
|
+
|
|
8
|
+
* feat(core)!: the caller's IP address leaves the messages a request causes ([aa9e8c7](https://github.com/ReventlessDev/reventless-core/commit/aa9e8c79c0360528a5cfeda2bb88d1da52f28674))
|
|
9
|
+
|
|
10
|
+
### BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* `Message.generateMeta` no longer takes `~ip`. Drop the argument; a
|
|
13
|
+
message that must carry the address declares it as a field of its own payload.
|
|
14
|
+
|
|
15
|
+
Step PD3 of docs/plans/a-personal-field-is-marked-redacted-and-encrypted-at-the-seam.md.
|
|
16
|
+
Claude-Session: https://claude.ai/code/session_01HiQfdxVEsHwLHRoHSUcus1
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# 3.0.0-alpha.34 (2026-10-25)
|
|
21
|
+
|
|
22
|
+
* refactor(bindings)!: response fields AWS may omit are optional fields ([8babc00](https://github.com/ReventlessDev/reventless-core/commit/8babc008c4cdd6e88721d856ca35648f0552d5b9))
|
|
23
|
+
|
|
24
|
+
### BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* code that builds these records drops `name: None` and
|
|
27
|
+
writes `name: x` for `name: Some(x)`.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
6
31
|
# 3.0.0-alpha.33 (2026-10-23)
|
|
7
32
|
|
|
8
33
|
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/rescript-pulumi-aws",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.35",
|
|
4
4
|
"description": "ReScript bindings for @pulumi/aws",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@pulumi/aws": "~7.19.0",
|
|
23
23
|
"@pulumi/aws-native": "^1.62.0",
|
|
24
24
|
"sury": "11.0.0",
|
|
25
|
-
"@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.
|
|
26
|
-
"@reventlessdev/rescript-
|
|
27
|
-
"@reventlessdev/rescript-
|
|
25
|
+
"@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.36",
|
|
26
|
+
"@reventlessdev/rescript-node": "2.0.0-alpha.23",
|
|
27
|
+
"@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"esbuild": "^0.25.12",
|
|
@@ -1706,7 +1706,6 @@ export function request(ctx) {
|
|
|
1706
1706
|
command: '${command}',
|
|
1707
1707
|
arguments: ctx.args,
|
|
1708
1708
|
meta: {
|
|
1709
|
-
ip: id?.sourceIp ?? null,
|
|
1710
1709
|
user: id?.username ?? null,
|
|
1711
1710
|
info: ctx.info.parentTypeName + '.' + ctx.info.fieldName
|
|
1712
1711
|
},
|
|
@@ -1729,7 +1728,6 @@ export function request(ctx) {
|
|
|
1729
1728
|
command: '${tag}',
|
|
1730
1729
|
arguments: ctx.args,
|
|
1731
1730
|
meta: {
|
|
1732
|
-
ip: id?.sourceIp ?? null,
|
|
1733
1731
|
user: id?.username ?? null,
|
|
1734
1732
|
info: ctx.info.parentTypeName + '.' + ctx.info.fieldName
|
|
1735
1733
|
},
|
|
@@ -1168,7 +1168,6 @@ export function request(ctx) {
|
|
|
1168
1168
|
command: '` + command + `',
|
|
1169
1169
|
arguments: ctx.args,
|
|
1170
1170
|
meta: {
|
|
1171
|
-
ip: id?.sourceIp ?? null,
|
|
1172
1171
|
user: id?.username ?? null,
|
|
1173
1172
|
info: ctx.info.parentTypeName + '.' + ctx.info.fieldName
|
|
1174
1173
|
},
|
|
@@ -1191,7 +1190,6 @@ export function request(ctx) {
|
|
|
1191
1190
|
command: '` + tag + `',
|
|
1192
1191
|
arguments: ctx.args,
|
|
1193
1192
|
meta: {
|
|
1194
|
-
ip: id?.sourceIp ?? null,
|
|
1195
1193
|
user: id?.username ?? null,
|
|
1196
1194
|
info: ctx.info.parentTypeName + '.' + ctx.info.fieldName
|
|
1197
1195
|
},
|
package/src/Lambda/Lambda.res
CHANGED
package/src/S3/S3_Bucket.res
CHANGED
package/src/SNS/SNS_Topic.res
CHANGED
|
@@ -37,15 +37,15 @@ external make: (~name: string, ~args: args=?, ~opts: Pulumi.CustomResourceOption
|
|
|
37
37
|
|
|
38
38
|
type message = {
|
|
39
39
|
@as("Message") message: string,
|
|
40
|
-
@as("SignatureVersion") signatureVersion
|
|
41
|
-
@as("Timestamp") timestamp
|
|
42
|
-
@as("Signature") signature
|
|
43
|
-
@as("SigningCertUrl") signingCertUrl
|
|
44
|
-
@as("MessageId") messageId
|
|
45
|
-
@as("Type") type_
|
|
46
|
-
@as("UnsubscribeUrl") unsubscribeUrl
|
|
47
|
-
@as("TopicArn") topicArn
|
|
48
|
-
@as("Subject") subject
|
|
40
|
+
@as("SignatureVersion") signatureVersion?: string,
|
|
41
|
+
@as("Timestamp") timestamp?: string,
|
|
42
|
+
@as("Signature") signature?: string,
|
|
43
|
+
@as("SigningCertUrl") signingCertUrl?: string,
|
|
44
|
+
@as("MessageId") messageId?: string,
|
|
45
|
+
@as("Type") type_?: string,
|
|
46
|
+
@as("UnsubscribeUrl") unsubscribeUrl?: string,
|
|
47
|
+
@as("TopicArn") topicArn?: string,
|
|
48
|
+
@as("Subject") subject?: string,
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
type record = {
|
|
@@ -729,7 +729,8 @@ describe('invokeCommandGenerator', () => {
|
|
|
729
729
|
expect(payload.identity.userArn).toBe('arn:aws:iam::123:role/SyncRole')
|
|
730
730
|
expect(payload.identity.accountId).toBe('123')
|
|
731
731
|
expect(payload.identity.username).toBe('AROAEXAMPLE:caller')
|
|
732
|
-
|
|
732
|
+
// The caller's address is personal data and never reaches the command.
|
|
733
|
+
expect(payload.meta).not.toHaveProperty('ip')
|
|
733
734
|
expect(payload.meta.user).toBe('AROAEXAMPLE:caller')
|
|
734
735
|
})
|
|
735
736
|
|
|
@@ -737,7 +738,7 @@ describe('invokeCommandGenerator', () => {
|
|
|
737
738
|
const ctx = makeCtx({ identity: null })
|
|
738
739
|
const { payload } = request(ctx)
|
|
739
740
|
expect(payload.identity).toBeNull()
|
|
740
|
-
expect(payload.meta
|
|
741
|
+
expect(payload.meta).not.toHaveProperty('ip')
|
|
741
742
|
expect(payload.meta.user).toBeNull()
|
|
742
743
|
expect(payload.command).toBe('CreateProduct')
|
|
743
744
|
})
|