@cloudbase/manager-node 5.6.2 → 5.6.3

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
@@ -1,3 +1,9 @@
1
+ ## @cloudbase/manager-node v5.6.2 版本发布 🚀(2026-07-09)
2
+
3
+ - 新增 支持镜像部署模式
4
+
5
+ ---
6
+
1
7
  ## @cloudbase/manager-node v5.6.1 版本发布 🚀(2026-07-09)
2
8
 
3
9
  - 新增 内置 AES-256-CBC 加解密能力,支持明文 envVariables 自动加密
@@ -233,8 +233,8 @@ function configToParams(options) {
233
233
  params.Code.ImageConfig = buildImageConfig(imageConfig);
234
234
  }
235
235
  // 第三阶段:统一应用默认值
236
- const runtime = params.Runtime || 'Nodejs18.15';
237
- return Object.assign({ Handler: func.handler || 'index.main', Timeout: 10, Runtime: 'Nodejs18.15', MemorySize: 256, InstallDependency: isNodeFunction(runtime) ? 'TRUE' : 'FALSE' }, params);
236
+ const runtime = params.Runtime || 'Nodejs20.19';
237
+ return Object.assign({ Handler: func.handler || 'index.main', Runtime: 'Nodejs20.19', MemorySize: 256, InstallDependency: isNodeFunction(runtime) ? 'TRUE' : 'FALSE' }, params);
238
238
  }
239
239
  class FunctionService {
240
240
  constructor(environment) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/manager-node",
3
- "version": "5.6.2",
3
+ "version": "5.6.3",
4
4
  "description": "The node manage service api for cloudbase.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {