@geek-fun/serverlessinsight 0.9.3 → 0.9.4

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 (30) hide show
  1. package/.serverlessinsight/state-cdn-flow-app-cdn-flow-service.json.backup +1 -1
  2. package/.serverlessinsight/state-iam-test-app-iam-test-service.json.backup +2 -2
  3. package/.serverlessinsight/state-insight-poc-app-insight-poc-tencent.json.backup +2 -2
  4. package/.serverlessinsight/state-insight-poc-app-log-insight-poc-tencent-log.json.backup +3 -3
  5. package/.serverlessinsight/state-insight-poc-deploy-app-insight-poc-deploy.json.backup +4 -4
  6. package/.serverlessinsight/state-insight-poc-destroy-app-insight-poc-destroy.json.backup +1 -1
  7. package/.serverlessinsight/state-insight-poc-timer-app-insight-poc-timer.json.backup +2 -2
  8. package/.serverlessinsight/state-insight-volc-app-insight-volc.json.backup +2 -2
  9. package/.serverlessinsight/state-insight-volc-nested-app-insight-volc-nested.json.backup +3 -3
  10. package/.serverlessinsight/state-nested-drift-app-nested-drift-service.json.backup +2 -2
  11. package/.serverlessinsight/state-role-reconcile-test-app-role-reconcile-test-service.json.backup +3 -3
  12. package/CHANGELOG.md +28 -0
  13. package/README.md +246 -179
  14. package/README.zh-CN.md +244 -147
  15. package/dist/package.json +22 -19
  16. package/dist/src/commands/index.js +12 -59
  17. package/dist/src/commands/plan.js +25 -1
  18. package/dist/src/common/aliyunClient/apigwOperations.js +32 -9
  19. package/dist/src/lang/en.js +5 -4
  20. package/dist/src/lang/index.js +28 -14
  21. package/dist/src/lang/zh-CN.js +5 -4
  22. package/dist/src/stack/aliyunStack/apigwDomainPlan.js +82 -0
  23. package/dist/src/stack/aliyunStack/apigwExecutor.js +4 -1
  24. package/dist/src/stack/aliyunStack/apigwPlanner.js +115 -55
  25. package/dist/src/stack/aliyunStack/apigwResource.js +169 -124
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +22 -19
  28. package/release-notes.md +33 -59
  29. package/samples/README_TENCENT_COS.md +3 -3
  30. package/samples/README_TENCENT_SCF.md +3 -3
@@ -9,6 +9,6 @@
9
9
  "shared": {}
10
10
  }
11
11
  },
12
- "lineage": "6d2a231a-895d-4113-a6dc-0a8956d0d700",
12
+ "lineage": "6c565df9-f6b3-4643-8702-8afb0da5c4cb",
13
13
  "serial": 5
14
14
  }
@@ -22,11 +22,11 @@
22
22
  "id": "iam-test-app-dev-sls"
23
23
  }
24
24
  ],
25
- "lastUpdated": "2026-10-24T09:46:08.930Z"
25
+ "lastUpdated": "2026-10-27T03:28:43.284Z"
26
26
  }
27
27
  }
28
28
  }
29
29
  },
30
- "lineage": "85e03b0b-0403-48e5-ba77-e1204bc0bd7f",
30
+ "lineage": "273e372c-c828-4b97-bd99-ee0bc9d7d154",
31
31
  "serial": 3
32
32
  }
@@ -79,12 +79,12 @@
79
79
  "instanceConcurrencyConfig": {}
80
80
  }
81
81
  ],
82
- "lastUpdated": "2026-10-24T09:46:45.563Z"
82
+ "lastUpdated": "2026-10-27T03:29:23.178Z"
83
83
  }
84
84
  },
85
85
  "shared": {}
86
86
  }
87
87
  },
88
- "lineage": "bd0e7ed3-4d08-4ad7-9544-bff241577f5a",
88
+ "lineage": "77724ac6-4273-413d-a5a2-b6aaa9c13ecd",
89
89
  "serial": 4
90
90
  }
@@ -88,7 +88,7 @@
88
88
  "topicName": "insight-poc-tencent-log-default-log_fn-fn-logs"
89
89
  }
90
90
  ],
91
- "lastUpdated": "2026-10-24T09:42:22.479Z"
91
+ "lastUpdated": "2026-10-27T03:26:05.076Z"
92
92
  }
93
93
  },
94
94
  "shared": {
@@ -108,11 +108,11 @@
108
108
  "logsetId": "logset-1"
109
109
  }
110
110
  ],
111
- "lastUpdated": "2026-10-24T09:42:22.449Z"
111
+ "lastUpdated": "2026-10-27T03:26:05.052Z"
112
112
  }
113
113
  }
114
114
  }
115
115
  },
116
- "lineage": "1dd5e229-5a81-4989-87b8-3c6e8dbcc707",
116
+ "lineage": "998d7efe-600f-45d2-a0a1-d09f7ad4ac73",
117
117
  "serial": 4
118
118
  }
@@ -111,7 +111,7 @@
111
111
  ]
112
112
  }
113
113
  ],
114
- "lastUpdated": "2026-10-24T09:46:58.661Z",
114
+ "lastUpdated": "2026-10-27T03:29:35.384Z",
115
115
  "status": "ready"
116
116
  },
117
117
  "events.gateway_event": {
@@ -186,7 +186,7 @@
186
186
  "stageName": "RELEASE"
187
187
  }
188
188
  ],
189
- "lastUpdated": "2026-10-24T09:46:58.666Z"
189
+ "lastUpdated": "2026-10-27T03:29:35.385Z"
190
190
  }
191
191
  },
192
192
  "shared": {
@@ -205,11 +205,11 @@
205
205
  "id": "insight-poc-deploy-app-dev-sls"
206
206
  }
207
207
  ],
208
- "lastUpdated": "2026-10-24T09:46:53.659Z"
208
+ "lastUpdated": "2026-10-27T03:29:30.380Z"
209
209
  }
210
210
  }
211
211
  }
212
212
  },
213
- "lineage": "0325f40e-8920-407d-8276-90e594078696",
213
+ "lineage": "9feb88fa-29ef-46de-9023-a6150ec92410",
214
214
  "serial": 2
215
215
  }
@@ -9,6 +9,6 @@
9
9
  "shared": {}
10
10
  }
11
11
  },
12
- "lineage": "9f879266-9a17-4af8-9cee-68351c9cb957",
12
+ "lineage": "6596b625-0b01-4c3a-bcc9-de3ec9150425",
13
13
  "serial": 1
14
14
  }
@@ -121,12 +121,12 @@
121
121
  ]
122
122
  }
123
123
  ],
124
- "lastUpdated": "2026-10-24T09:45:13.165Z"
124
+ "lastUpdated": "2026-10-27T03:27:51.177Z"
125
125
  }
126
126
  },
127
127
  "shared": {}
128
128
  }
129
129
  },
130
- "lineage": "b56a895e-0206-4c8b-8ea0-e5bdeae3d1f9",
130
+ "lineage": "90d84e24-4ee1-44fa-a138-125c783be32b",
131
131
  "serial": 3
132
132
  }
@@ -44,12 +44,12 @@
44
44
  "serverSideEncryptionConfiguration": null
45
45
  }
46
46
  ],
47
- "lastUpdated": "2026-10-24T09:47:19.214Z"
47
+ "lastUpdated": "2026-10-27T03:29:49.172Z"
48
48
  }
49
49
  },
50
50
  "shared": {}
51
51
  }
52
52
  },
53
- "lineage": "b0e4b648-ee9e-4e33-80f6-e40aa2370837",
53
+ "lineage": "6bf13cbc-2ee5-47be-bd2c-f7f07413d865",
54
54
  "serial": 4
55
55
  }
@@ -63,7 +63,7 @@
63
63
  }
64
64
  ],
65
65
  "status": "ready",
66
- "lastUpdated": "2026-10-24T09:42:25.796Z"
66
+ "lastUpdated": "2026-10-27T03:26:08.172Z"
67
67
  }
68
68
  },
69
69
  "shared": {
@@ -83,11 +83,11 @@
83
83
  "projectId": "proj-123"
84
84
  }
85
85
  ],
86
- "lastUpdated": "2026-10-24T09:42:22.534Z"
86
+ "lastUpdated": "2026-10-27T03:26:05.120Z"
87
87
  }
88
88
  }
89
89
  }
90
90
  },
91
- "lineage": "f3480143-7aa8-4e0f-b167-376825dd84ce",
91
+ "lineage": "bca5f86c-9063-4c8d-80c9-696dd7dec5f0",
92
92
  "serial": 5
93
93
  }
@@ -152,12 +152,12 @@
152
152
  "accessGroupName": "nested-drift-fn-dev-nas-access-mnt-data"
153
153
  }
154
154
  ],
155
- "lastUpdated": "2026-10-24T09:42:22.394Z"
155
+ "lastUpdated": "2026-10-27T03:26:05.008Z"
156
156
  }
157
157
  },
158
158
  "shared": {}
159
159
  }
160
160
  },
161
- "lineage": "c1b8f5d7-306e-425d-a452-b650b0436fd0",
161
+ "lineage": "d41db85e-aae6-4459-a920-604154f55cb0",
162
162
  "serial": 4
163
163
  }
@@ -118,7 +118,7 @@
118
118
  ]
119
119
  }
120
120
  ],
121
- "lastUpdated": "2026-10-24T09:45:43.481Z",
121
+ "lastUpdated": "2026-10-27T03:28:19.566Z",
122
122
  "status": "ready"
123
123
  }
124
124
  },
@@ -138,11 +138,11 @@
138
138
  "id": "role-reconcile-test-app-dev-sls"
139
139
  }
140
140
  ],
141
- "lastUpdated": "2026-10-24T09:45:38.480Z"
141
+ "lastUpdated": "2026-10-27T03:28:14.564Z"
142
142
  }
143
143
  }
144
144
  }
145
145
  },
146
- "lineage": "f512fbf2-43ab-4a0c-8e0b-33d1cbd1c1dd",
146
+ "lineage": "35466c85-445c-457f-921c-3b1bf3d348d0",
147
147
  "serial": 2
148
148
  }
package/CHANGELOG.md CHANGED
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.4] - 2026-10-27
11
+
12
+ ### Changed
13
+
14
+ - CLI help, README examples, command references and sample guides now promote
15
+ `si diff` as the only planning command.
16
+
17
+ ### Removed
18
+
19
+ - **Breaking:** `si plan` has been removed; `si diff` is now the sole CLI
20
+ command for previewing deployment changes
21
+ ([#271](https://github.com/geek-fun/serverlessinsight/issues/271)). Invoking
22
+ `si plan` fails fast with a localized error directing to `si diff` before any
23
+ cloud or state access. Migrate by replacing the command verb — `si diff`
24
+ accepts the same options and arguments, exit codes (`0` no changes / `2`
25
+ changes / `1` errors) and `--json` envelope (`planVersion: 1`) as the removed
26
+ command.
27
+
28
+ ### Fixed
29
+
30
+ - Aliyun API Gateway plans now report each custom domain's binding and
31
+ certificate fingerprint, and rewrite only the dimensions that changed.
32
+ - Certificate-only and redirect updates skip DNS verification, and removing a
33
+ domain deletes only the bindings and DNS records si owns, leaving foreign
34
+ records intact.
35
+ - CLI language detection now honors `SI_LANG`, normalizes `LC_ALL`/`LANG`, and
36
+ no longer prints `chcp` errors on Linux and macOS.
37
+
10
38
  ## [0.9.3] - 2026-10-24
11
39
 
12
40
  ### Added