@reventlessdev/rescript-pulumi-aws 3.0.0-alpha.34 → 3.0.0-alpha.36

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,28 @@
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.36 (2026-10-29)
7
+
8
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
9
+
10
+
11
+
12
+
13
+
14
+ # 3.0.0-alpha.35 (2026-10-29)
15
+
16
+ * feat(core)!: the caller's IP address leaves the messages a request causes ([aa9e8c7](https://github.com/ReventlessDev/reventless-core/commit/aa9e8c79c0360528a5cfeda2bb88d1da52f28674))
17
+
18
+ ### BREAKING CHANGES
19
+
20
+ * `Message.generateMeta` no longer takes `~ip`. Drop the argument; a
21
+ message that must carry the address declares it as a field of its own payload.
22
+
23
+ Step PD3 of docs/plans/a-personal-field-is-marked-redacted-and-encrypted-at-the-seam.md.
24
+ Claude-Session: https://claude.ai/code/session_01HiQfdxVEsHwLHRoHSUcus1
25
+
26
+
27
+
6
28
  # 3.0.0-alpha.34 (2026-10-25)
7
29
 
8
30
  * refactor(bindings)!: response fields AWS may omit are optional fields ([8babc00](https://github.com/ReventlessDev/reventless-core/commit/8babc008c4cdd6e88721d856ca35648f0552d5b9))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/rescript-pulumi-aws",
3
- "version": "3.0.0-alpha.34",
3
+ "version": "3.0.0-alpha.36",
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.36",
26
- "@reventlessdev/rescript-node": "2.0.0-alpha.23",
27
- "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0"
25
+ "@reventlessdev/rescript-node": "2.0.0-alpha.24",
26
+ "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0",
27
+ "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.37"
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
  },
@@ -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
- expect(payload.meta.ip).toEqual(['10.0.0.1'])
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.ip).toBeNull()
741
+ expect(payload.meta).not.toHaveProperty('ip')
741
742
  expect(payload.meta.user).toBeNull()
742
743
  expect(payload.command).toBe('CreateProduct')
743
744
  })