@geek-fun/serverlessinsight 0.9.2 → 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.
- package/.serverlessinsight/state-cdn-flow-app-cdn-flow-service.json.backup +1 -1
- package/.serverlessinsight/state-iam-test-app-iam-test-service.json.backup +2 -2
- package/.serverlessinsight/state-insight-poc-app-insight-poc-tencent.json.backup +4 -8
- package/.serverlessinsight/state-insight-poc-app-log-insight-poc-tencent-log.json.backup +3 -8
- package/.serverlessinsight/state-insight-poc-deploy-app-insight-poc-deploy.json.backup +4 -4
- package/.serverlessinsight/state-insight-poc-destroy-app-insight-poc-destroy.json.backup +1 -1
- package/.serverlessinsight/state-insight-poc-timer-app-insight-poc-timer.json.backup +28 -5
- package/.serverlessinsight/state-insight-volc-app-insight-volc.json.backup +2 -2
- package/.serverlessinsight/state-insight-volc-nested-app-insight-volc-nested.json.backup +3 -3
- package/.serverlessinsight/state-nested-drift-app-nested-drift-service.json.backup +20 -5
- package/.serverlessinsight/state-role-reconcile-test-app-role-reconcile-test-service.json.backup +3 -3
- package/AGENTS.md +10 -0
- package/CHANGELOG.md +62 -0
- package/README.md +256 -175
- package/README.zh-CN.md +249 -159
- package/dist/package.json +22 -19
- package/dist/src/commands/index.js +21 -52
- package/dist/src/commands/local.js +16 -3
- package/dist/src/commands/plan.js +35 -4
- package/dist/src/common/aliyunClient/apigwOperations.js +48 -9
- package/dist/src/common/aliyunClient/fc3Operations.js +7 -1
- package/dist/src/common/aliyunClient/ossOperations.js +214 -221
- package/dist/src/common/bucketPolicy.js +63 -0
- package/dist/src/common/domainUtils.js +4 -1
- package/dist/src/common/functionDefinition.js +25 -0
- package/dist/src/common/index.js +4 -0
- package/dist/src/common/jsonOutput.js +6 -1
- package/dist/src/common/nameBuilder.js +3 -1
- package/dist/src/common/planCapabilities.js +119 -0
- package/dist/src/common/planCompare.js +119 -66
- package/dist/src/common/planFormatter.js +22 -14
- package/dist/src/common/planRedaction.js +26 -0
- package/dist/src/common/refreshPlanner.js +66 -21
- package/dist/src/common/tencentClient/cosOperations.js +326 -322
- package/dist/src/common/tencentClient/scfOperations.js +9 -2
- package/dist/src/common/tencentClient/tdsqlcOperations.js +6 -11
- package/dist/src/common/triggerMapper.js +16 -1
- package/dist/src/common/volcengineClient/apigwOperations.js +82 -0
- package/dist/src/common/volcengineClient/iamOperations.js +27 -3
- package/dist/src/common/volcengineClient/tosOperations.js +62 -56
- package/dist/src/lang/en.js +33 -8
- package/dist/src/lang/index.js +28 -14
- package/dist/src/lang/zh-CN.js +33 -8
- package/dist/src/parser/eventParser.js +1 -0
- package/dist/src/parser/functionParser.js +1 -1
- package/dist/src/stack/aliyunStack/apigwDomainPlan.js +82 -0
- package/dist/src/stack/aliyunStack/apigwExecutor.js +4 -1
- package/dist/src/stack/aliyunStack/apigwPlanner.js +165 -25
- package/dist/src/stack/aliyunStack/apigwResource.js +172 -126
- package/dist/src/stack/aliyunStack/apigwTypes.js +3 -7
- package/dist/src/stack/aliyunStack/deployer.js +2 -0
- package/dist/src/stack/aliyunStack/esServerlessTypes.js +8 -4
- package/dist/src/stack/aliyunStack/fc3Executor.js +7 -3
- package/dist/src/stack/aliyunStack/fc3Planner.js +124 -155
- package/dist/src/stack/aliyunStack/fc3Resource.js +48 -52
- package/dist/src/stack/aliyunStack/fc3Types.js +30 -16
- package/dist/src/stack/aliyunStack/ossPlanner.js +15 -1
- package/dist/src/stack/aliyunStack/ossResource.js +113 -102
- package/dist/src/stack/aliyunStack/ossTypes.js +20 -20
- package/dist/src/stack/localStack/aliyunFc.js +1 -6
- package/dist/src/stack/localStack/event.js +31 -60
- package/dist/src/stack/localStack/function.js +24 -65
- package/dist/src/stack/localStack/functionRunner.js +10 -2
- package/dist/src/stack/localStack/httpAdapter.js +54 -0
- package/dist/src/stack/localStack/httpError.js +5 -0
- package/dist/src/stack/localStack/legacyLambda.js +26 -0
- package/dist/src/stack/localStack/localContext.js +29 -0
- package/dist/src/stack/localStack/localRoute.js +12 -0
- package/dist/src/stack/localStack/localRuntimes.js +22 -0
- package/dist/src/stack/localStack/localServer.js +8 -3
- package/dist/src/stack/localStack/requestBody.js +24 -0
- package/dist/src/stack/localStack/requestId.js +18 -0
- package/dist/src/stack/localStack/tencent.js +147 -0
- package/dist/src/stack/localStack/timer.js +23 -2
- package/dist/src/stack/localStack/volcengine.js +68 -0
- package/dist/src/stack/scfStack/cosPlanner.js +9 -14
- package/dist/src/stack/scfStack/cosResource.js +42 -50
- package/dist/src/stack/scfStack/cosTypes.js +19 -14
- package/dist/src/stack/scfStack/deployer.js +2 -0
- package/dist/src/stack/scfStack/scfExecutor.js +7 -3
- package/dist/src/stack/scfStack/scfHttpTrigger.js +106 -0
- package/dist/src/stack/scfStack/scfPlanner.js +67 -16
- package/dist/src/stack/scfStack/scfResource.js +170 -321
- package/dist/src/stack/scfStack/scfTypes.js +4 -3
- package/dist/src/stack/scfStack/tdsqlcPlanner.js +10 -13
- package/dist/src/stack/volcengineStack/apigwDomains.js +64 -0
- package/dist/src/stack/volcengineStack/apigwPlanner.js +71 -15
- package/dist/src/stack/volcengineStack/apigwResource.js +60 -24
- package/dist/src/stack/volcengineStack/apigwTypes.js +5 -1
- package/dist/src/stack/volcengineStack/deployer.js +6 -0
- package/dist/src/stack/volcengineStack/tosPlanner.js +8 -13
- package/dist/src/stack/volcengineStack/tosResource.js +22 -35
- package/dist/src/stack/volcengineStack/tosTypes.js +5 -8
- package/dist/src/stack/volcengineStack/vefaasPlanner.js +142 -49
- package/dist/src/stack/volcengineStack/vefaasResource.js +17 -12
- package/dist/src/stack/volcengineStack/vefaasTypes.js +6 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -19
- package/release-notes.md +53 -0
- package/samples/README_TENCENT_COS.md +3 -3
- package/samples/README_TENCENT_SCF.md +3 -3
- package/samples/tencent-local/index.js +13 -0
- package/samples/tencent-local/serverlessinsight.yml +23 -0
- package/samples/volcengine-local/index.js +13 -0
- package/samples/volcengine-local/serverlessinsight.yml +28 -0
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"id": "iam-test-app-dev-sls"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
|
-
"lastUpdated": "2026-10-
|
|
25
|
+
"lastUpdated": "2026-10-27T03:28:43.284Z"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"lineage": "
|
|
30
|
+
"lineage": "273e372c-c828-4b97-bd99-ee0bc9d7d154",
|
|
31
31
|
"serial": 3
|
|
32
32
|
}
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"diskSize": null,
|
|
22
22
|
"cfsConfig": null,
|
|
23
23
|
"useGpu": null,
|
|
24
|
-
"imageConfig": null
|
|
24
|
+
"imageConfig": null,
|
|
25
|
+
"logEnabled": false
|
|
25
26
|
},
|
|
26
27
|
"instances": [
|
|
27
28
|
{
|
|
@@ -76,19 +77,14 @@
|
|
|
76
77
|
"dnsCache": null,
|
|
77
78
|
"intranetConfig": {},
|
|
78
79
|
"instanceConcurrencyConfig": {}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"sid": "si:tencent:scf:default:test-fn",
|
|
82
|
-
"type": null,
|
|
83
|
-
"id": "test-fn"
|
|
84
80
|
}
|
|
85
81
|
],
|
|
86
|
-
"lastUpdated": "2026-10-
|
|
82
|
+
"lastUpdated": "2026-10-27T03:29:23.178Z"
|
|
87
83
|
}
|
|
88
84
|
},
|
|
89
85
|
"shared": {}
|
|
90
86
|
}
|
|
91
87
|
},
|
|
92
|
-
"lineage": "
|
|
88
|
+
"lineage": "77724ac6-4273-413d-a5a2-b6aaa9c13ecd",
|
|
93
89
|
"serial": 4
|
|
94
90
|
}
|
|
@@ -81,11 +81,6 @@
|
|
|
81
81
|
"intranetConfig": {},
|
|
82
82
|
"instanceConcurrencyConfig": {}
|
|
83
83
|
},
|
|
84
|
-
{
|
|
85
|
-
"sid": "si:tencent:scf:default:test-log-fn",
|
|
86
|
-
"type": null,
|
|
87
|
-
"id": "test-log-fn"
|
|
88
|
-
},
|
|
89
84
|
{
|
|
90
85
|
"sid": "si:tencent:cls-topic:default:insight-poc-tencent-log-default-log_fn-fn-logs",
|
|
91
86
|
"type": "TENCENT_CLS_TOPIC",
|
|
@@ -93,7 +88,7 @@
|
|
|
93
88
|
"topicName": "insight-poc-tencent-log-default-log_fn-fn-logs"
|
|
94
89
|
}
|
|
95
90
|
],
|
|
96
|
-
"lastUpdated": "2026-10-
|
|
91
|
+
"lastUpdated": "2026-10-27T03:26:05.076Z"
|
|
97
92
|
}
|
|
98
93
|
},
|
|
99
94
|
"shared": {
|
|
@@ -113,11 +108,11 @@
|
|
|
113
108
|
"logsetId": "logset-1"
|
|
114
109
|
}
|
|
115
110
|
],
|
|
116
|
-
"lastUpdated": "2026-10-
|
|
111
|
+
"lastUpdated": "2026-10-27T03:26:05.052Z"
|
|
117
112
|
}
|
|
118
113
|
}
|
|
119
114
|
}
|
|
120
115
|
},
|
|
121
|
-
"lineage": "
|
|
116
|
+
"lineage": "998d7efe-600f-45d2-a0a1-d09f7ad4ac73",
|
|
122
117
|
"serial": 4
|
|
123
118
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
]
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
|
-
"lastUpdated": "2026-10-
|
|
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-
|
|
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-
|
|
208
|
+
"lastUpdated": "2026-10-27T03:29:30.380Z"
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
-
"lineage": "
|
|
213
|
+
"lineage": "9feb88fa-29ef-46de-9023-a6150ec92410",
|
|
214
214
|
"serial": 2
|
|
215
215
|
}
|
|
@@ -21,8 +21,25 @@
|
|
|
21
21
|
"gpuConfig": null,
|
|
22
22
|
"customContainerConfig": null,
|
|
23
23
|
"nasConfig": null,
|
|
24
|
-
"logConfig":
|
|
25
|
-
|
|
24
|
+
"logConfig": {
|
|
25
|
+
"enableRequestMetrics": false,
|
|
26
|
+
"enableInstanceMetrics": false
|
|
27
|
+
},
|
|
28
|
+
"codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f",
|
|
29
|
+
"timers": [
|
|
30
|
+
{
|
|
31
|
+
"name": "billing-run",
|
|
32
|
+
"cron": "0 23 3 * * *",
|
|
33
|
+
"payload": "{\"job\":\"billing-run\"}",
|
|
34
|
+
"enable": true,
|
|
35
|
+
"description": "daily billing run"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "report-hourly",
|
|
39
|
+
"cron": "@every 1h",
|
|
40
|
+
"enable": false
|
|
41
|
+
}
|
|
42
|
+
]
|
|
26
43
|
},
|
|
27
44
|
"instances": [
|
|
28
45
|
{
|
|
@@ -42,7 +59,13 @@
|
|
|
42
59
|
"vpcConfig": {},
|
|
43
60
|
"gpuConfig": {},
|
|
44
61
|
"nasConfig": {},
|
|
45
|
-
"logConfig": {
|
|
62
|
+
"logConfig": {
|
|
63
|
+
"project": null,
|
|
64
|
+
"logstore": null,
|
|
65
|
+
"enableRequestMetrics": false,
|
|
66
|
+
"enableInstanceMetrics": false,
|
|
67
|
+
"logBeginRule": null
|
|
68
|
+
},
|
|
46
69
|
"customContainerConfig": {},
|
|
47
70
|
"description": null,
|
|
48
71
|
"internetAccess": null,
|
|
@@ -98,12 +121,12 @@
|
|
|
98
121
|
]
|
|
99
122
|
}
|
|
100
123
|
],
|
|
101
|
-
"lastUpdated": "2026-10-
|
|
124
|
+
"lastUpdated": "2026-10-27T03:27:51.177Z"
|
|
102
125
|
}
|
|
103
126
|
},
|
|
104
127
|
"shared": {}
|
|
105
128
|
}
|
|
106
129
|
},
|
|
107
|
-
"lineage": "
|
|
130
|
+
"lineage": "90d84e24-4ee1-44fa-a138-125c783be32b",
|
|
108
131
|
"serial": 3
|
|
109
132
|
}
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"serverSideEncryptionConfiguration": null
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
|
-
"lastUpdated": "2026-10-
|
|
47
|
+
"lastUpdated": "2026-10-27T03:29:49.172Z"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"shared": {}
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"lineage": "
|
|
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-
|
|
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-
|
|
86
|
+
"lastUpdated": "2026-10-27T03:26:05.120Z"
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"lineage": "
|
|
91
|
+
"lineage": "bca5f86c-9063-4c8d-80c9-696dd7dec5f0",
|
|
92
92
|
"serial": 5
|
|
93
93
|
}
|
|
@@ -36,7 +36,16 @@
|
|
|
36
36
|
}
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"nasStorage": [
|
|
40
|
+
{
|
|
41
|
+
"mount_path": "/mnt/data",
|
|
42
|
+
"storage_class": "STANDARD_PERFORMANCE"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"logConfig": {
|
|
46
|
+
"enableRequestMetrics": false,
|
|
47
|
+
"enableInstanceMetrics": false
|
|
48
|
+
},
|
|
40
49
|
"codeHash": "c96b718fa999add5e047823c3d7abfa1397fa8d0075bc6a4f3592785fcd4b76f"
|
|
41
50
|
},
|
|
42
51
|
"instances": [
|
|
@@ -73,7 +82,13 @@
|
|
|
73
82
|
}
|
|
74
83
|
]
|
|
75
84
|
},
|
|
76
|
-
"logConfig": {
|
|
85
|
+
"logConfig": {
|
|
86
|
+
"project": null,
|
|
87
|
+
"logstore": null,
|
|
88
|
+
"enableRequestMetrics": false,
|
|
89
|
+
"enableInstanceMetrics": false,
|
|
90
|
+
"logBeginRule": null
|
|
91
|
+
},
|
|
77
92
|
"customContainerConfig": {},
|
|
78
93
|
"description": null,
|
|
79
94
|
"internetAccess": null,
|
|
@@ -137,12 +152,12 @@
|
|
|
137
152
|
"accessGroupName": "nested-drift-fn-dev-nas-access-mnt-data"
|
|
138
153
|
}
|
|
139
154
|
],
|
|
140
|
-
"lastUpdated": "2026-10-
|
|
155
|
+
"lastUpdated": "2026-10-27T03:26:05.008Z"
|
|
141
156
|
}
|
|
142
157
|
},
|
|
143
158
|
"shared": {}
|
|
144
159
|
}
|
|
145
160
|
},
|
|
146
|
-
"lineage": "
|
|
147
|
-
"serial":
|
|
161
|
+
"lineage": "d41db85e-aae6-4459-a920-604154f55cb0",
|
|
162
|
+
"serial": 4
|
|
148
163
|
}
|
package/.serverlessinsight/state-role-reconcile-test-app-role-reconcile-test-service.json.backup
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
]
|
|
119
119
|
}
|
|
120
120
|
],
|
|
121
|
-
"lastUpdated": "2026-10-
|
|
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-
|
|
141
|
+
"lastUpdated": "2026-10-27T03:28:14.564Z"
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
-
"lineage": "
|
|
146
|
+
"lineage": "35466c85-445c-457f-921c-3b1bf3d348d0",
|
|
147
147
|
"serial": 2
|
|
148
148
|
}
|
package/AGENTS.md
CHANGED
|
@@ -200,6 +200,16 @@ const policyName = `${roleName}-policy`;
|
|
|
200
200
|
3. **In-place migration**: reuse branches key on instance type — existing deployments keep their recorded role/container and get trust/policy updated in place; new names apply only to newly created resources. Never recreate a role or container just to change its name.
|
|
201
201
|
4. **SIDs are per-provider**: `si:<provider>:<service>:<stage>:<id>` — intentionally NOT unified cross-provider; a SID's lifecycle is bound to its physical resource.
|
|
202
202
|
|
|
203
|
+
## Configuration Defaults and Ownership - MANDATORY
|
|
204
|
+
|
|
205
|
+
- Omission restores the documented si default on both creation and update. Never reuse the previous value of a defaulted field merely because the new YAML omits it.
|
|
206
|
+
- Resolve defaults in shared parsers or effective configuration builders before comparison, execution and state persistence. All providers must use the same field contract; provider-specific defaults must be explicit in their builders.
|
|
207
|
+
- Example: `www_bind_apex` defaults to `false`. Changing `true` to omission removes the owned www binding; changing `false` to omission is unchanged. This applies to bucket and event domains, including legacy forms.
|
|
208
|
+
- Defaults include function logging `false`, event-domain protocol `HTTP`, timer enablement `true`, website index `index.html`, and enabled CDN type/scope `web`/`global`. Function memory and timeout defaults are provider-specific and live in the effective builders.
|
|
209
|
+
- Removing an owned optional configuration block removes its recorded dependents. Persist provider-assigned identities immediately so update, retry and destroy can reconcile the exact resources si owns. Do not claim ownership of unrelated resources found during reads.
|
|
210
|
+
- A field with no si default may remain unmanaged when omitted only when its contract explicitly says so. Do not confuse YAML omission with an unavailable cloud field: failed reads propagate, confirmed absence is `null`, and unavailable dimensions are `undefined`.
|
|
211
|
+
- For each defaulted field, test non-default to omission, default to omission, execution and saved-state convergence. Reject a reset the provider cannot apply instead of saving unapplied defaults.
|
|
212
|
+
|
|
203
213
|
## Code Style
|
|
204
214
|
|
|
205
215
|
### TypeScript
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,68 @@ 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
|
+
|
|
38
|
+
## [0.9.3] - 2026-10-24
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- `si local` now invokes veFaaS functions with a veFaaS-native HTTP event and fires
|
|
43
|
+
`triggers.timer` schedules locally with the documented CloudEvents timer envelope,
|
|
44
|
+
so veFaaS HTTP- and timer-driven handlers can be debugged without deploying
|
|
45
|
+
([#268](https://github.com/geek-fun/serverlessinsight/issues/268),
|
|
46
|
+
[#261](https://github.com/geek-fun/serverlessinsight/issues/261)).
|
|
47
|
+
- `si local` runs Tencent SCF functions with an SCF-native invocation context and
|
|
48
|
+
simulates the HTTP trigger contract si deploys (function URL delivering an
|
|
49
|
+
API-Gateway-compatible event), instead of falling back to a generic non-Aliyun
|
|
50
|
+
shape; unsupported contracts are reported clearly rather than silently substituted
|
|
51
|
+
([#267](https://github.com/geek-fun/serverlessinsight/issues/267)).
|
|
52
|
+
- Plans now enforce lifecycle ownership for what si created: removing a bucket `iam`
|
|
53
|
+
policy, a bucket domain, a function HTTP trigger or custom domain, or
|
|
54
|
+
`triggers.timer` from the YAML deletes the corresponding cloud resources (and their
|
|
55
|
+
recorded dependents) on the next deploy instead of silently retaining them, and the
|
|
56
|
+
removals show up in the plan before/after
|
|
57
|
+
([#264](https://github.com/geek-fun/serverlessinsight/issues/264)).
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
|
|
61
|
+
- `si plan` and `si diff` now work for Volcengine stacks.
|
|
62
|
+
- Deployment diffs now reflect changes made to managed resources directly in the
|
|
63
|
+
cloud, restore documented defaults on update, and repair drifted dependents
|
|
64
|
+
([#264](https://github.com/geek-fun/serverlessinsight/issues/264)).
|
|
65
|
+
- veFaaS functions with `logEnabled` or HTTP/domain triggers no longer crash during
|
|
66
|
+
planning.
|
|
67
|
+
- Bucket planning no longer fails when the account lacks permission to read ACL or
|
|
68
|
+
CORS settings: those optional sub-config values are treated as absent, while
|
|
69
|
+
identity and existence checks remain strict.
|
|
70
|
+
- `si local` no longer fails on non-JSON response metadata in function logs.
|
|
71
|
+
|
|
10
72
|
## [0.9.2] - 2026-10-05
|
|
11
73
|
|
|
12
74
|
### ⚠️ Breaking change
|