diff --git a/.trae/skills/access-plugin-dev/SKILL.md b/.trae/skills/access-plugin-dev/SKILL.md index 14b3cb714..d125b1113 100644 --- a/.trae/skills/access-plugin-dev/SKILL.md +++ b/.trae/skills/access-plugin-dev/SKILL.md @@ -23,6 +23,8 @@ version: 1.0.0 - 配置插件的唯一标识、标题、图标和描述 - 继承 `BaseAccess` 类 + - 插件默认文案使用中文;需要英文时,在注解参数对象中添加同级 `i18n: { "en-US": { ... } }`,不要写成 `metadata.i18n`。`define` 本身就是插件 metadata。 + - `i18n["en-US"]` 仅配置要翻译的展示字段,如 `title`、`desc`、`input`;输入字段可翻译 `title`、`helper`、组件展示文案和 `optionsMapping`。缺少英文翻译时回退默认中文。 3. **定义授权属性** diff --git a/.trae/skills/dns-provider-dev/SKILL.md b/.trae/skills/dns-provider-dev/SKILL.md index 4c43ce181..d533bfa8c 100644 --- a/.trae/skills/dns-provider-dev/SKILL.md +++ b/.trae/skills/dns-provider-dev/SKILL.md @@ -30,6 +30,8 @@ version: 1.0.0 - 指定对应的云平台的 access 类型名称 - 设置排序值(可选) - 继承 `AbstractDnsProvider` 类 + - 插件默认文案使用中文;需要英文时,在注解参数对象中添加同级 `i18n: { "en-US": { ... } }`,不要写成 `metadata.i18n`。`define` 本身就是插件 metadata。 + - `i18n["en-US"]` 仅配置要翻译的展示字段,如 `title`、`desc`、`input`;输入字段可翻译 `title`、`helper`、组件展示文案和 `optionsMapping`。缺少英文翻译时回退默认中文。 4. **实现 onInstance 方法** diff --git a/.trae/skills/task-plugin-dev/SKILL.md b/.trae/skills/task-plugin-dev/SKILL.md index 9bbeb3966..87d086b39 100644 --- a/.trae/skills/task-plugin-dev/SKILL.md +++ b/.trae/skills/task-plugin-dev/SKILL.md @@ -28,6 +28,8 @@ version: 1.0.0 - 设置插件分组 - 配置默认策略(如 `SkipWhenSucceed`) - 确保类名与插件名称一致 + - 插件默认文案使用中文;需要英文时,在注解参数对象中添加同级 `i18n: { "en-US": { ... } }`,不要写成 `metadata.i18n`。`define` 本身就是插件 metadata。 + - `i18n["en-US"]` 仅配置要翻译的展示字段,如 `title`、`desc`、`group`、`input`、`output`;未配置的字段自动回退默认中文。不要翻译插件标识、组件类型、默认值或执行参数。 3. **定义任务输入参数** diff --git a/CHANGELOG.md b/CHANGELOG.md index 9271b14e5..3ed00c1b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Bug Fixes + +* 修复批量修改证书申请参数,无法选择证书颁发机构的bug ([9d9ae64](https://github.com/certd/certd/commit/9d9ae64aff76a09d64a5be04968ff0cc3ad097a4)) +* **aliyun-cert:** 阿里云订阅证书增加申请请求接口 ([949a69f](https://github.com/certd/certd/commit/949a69f0dcf929980363fc2b3d772edae696dcaf)) + +### Performance Improvements + +* 插件市场新增同步按钮并调整搜索区域布局 ([41ca198](https://github.com/certd/certd/commit/41ca198116e1890e65973c4317acfecb32126951)) +* 多语言国际化优化,插件支持国际化配置 ([8f1b38a](https://github.com/certd/certd/commit/8f1b38ad7d445473ae71d537ad8e465f2e55ebc7)) +* 开放接口支持返回证书密码,需要在openKey主动开启该设置,客户端部署证书时可以直接获取密码部署 ([3e001b8](https://github.com/certd/certd/commit/3e001b8ba431eb9af8c4ea1b20118bcf5e7ebce4)) +* 完善插件翻译 ([d0463ab](https://github.com/certd/certd/commit/d0463abc2607d22aba50ae3acc6584bbed6e3a0e)) +* 证书申请成功通知支持批量修改 ([22715a4](https://github.com/certd/certd/commit/22715a430e24a6132482cadb6b217acc283f270c)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Bug Fixes diff --git a/client/src/locales/langs/en-US/certd/apply-template.ts b/client/src/locales/langs/en-US/certd/apply-template.ts new file mode 100644 index 000000000..7aa78b134 --- /dev/null +++ b/client/src/locales/langs/en-US/certd/apply-template.ts @@ -0,0 +1 @@ +export default { setSuccess: "Settings saved", editTitle: "Edit Certificate Application Template", addTitle: "Add Certificate Application Template", name: "Template Name", default: "Default", setDefault: "Set as Default", disabled: "Disabled", createTime: "Created At", config: "Configuration" }; diff --git a/docs/guide/changelogs/CHANGELOG.md b/docs/guide/changelogs/CHANGELOG.md index 9271b14e5..3ed00c1b3 100644 --- a/docs/guide/changelogs/CHANGELOG.md +++ b/docs/guide/changelogs/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Bug Fixes + +* 修复批量修改证书申请参数,无法选择证书颁发机构的bug ([9d9ae64](https://github.com/certd/certd/commit/9d9ae64aff76a09d64a5be04968ff0cc3ad097a4)) +* **aliyun-cert:** 阿里云订阅证书增加申请请求接口 ([949a69f](https://github.com/certd/certd/commit/949a69f0dcf929980363fc2b3d772edae696dcaf)) + +### Performance Improvements + +* 插件市场新增同步按钮并调整搜索区域布局 ([41ca198](https://github.com/certd/certd/commit/41ca198116e1890e65973c4317acfecb32126951)) +* 多语言国际化优化,插件支持国际化配置 ([8f1b38a](https://github.com/certd/certd/commit/8f1b38ad7d445473ae71d537ad8e465f2e55ebc7)) +* 开放接口支持返回证书密码,需要在openKey主动开启该设置,客户端部署证书时可以直接获取密码部署 ([3e001b8](https://github.com/certd/certd/commit/3e001b8ba431eb9af8c4ea1b20118bcf5e7ebce4)) +* 完善插件翻译 ([d0463ab](https://github.com/certd/certd/commit/d0463abc2607d22aba50ae3acc6584bbed6e3a0e)) +* 证书申请成功通知支持批量修改 ([22715a4](https://github.com/certd/certd/commit/22715a430e24a6132482cadb6b217acc283f270c)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Bug Fixes diff --git a/docs/guide/plugins/deploy.md b/docs/guide/plugins/deploy.md index dcc71a0fb..601dcb3a6 100644 --- a/docs/guide/plugins/deploy.md +++ b/docs/guide/plugins/deploy.md @@ -13,7 +13,7 @@ | 序号 | 名称 | 说明 | |-----|-----|-----| -| 1.| **主机-复制到本机** | 【仅管理员使用】实际上是复制证书到docker容器内的某个路径,需要做目录映射到宿主机 | +| 1.| **主机-复制证书到本机** | 【仅管理员使用】实际上是复制证书到docker容器内的某个路径,需要做目录映射到宿主机 | | 2.| **主机-执行远程主机脚本命令** | 可以执行重启nginx等操作让证书生效 | | 3.| **IIS-部署到IIS站点** | | | 4.| **上传证书到对象存储OSS** | 支持阿里云OSS、腾讯云COS、七牛云KODO、S3、MinIO、FTP、SFTP | @@ -51,7 +51,7 @@ | 24.| **易盾-部署到易盾RCDN** | 易盾CDN,每月免费30G,[注册即领](https://rhcdn.yiduncdn.com/register?code=8mn536rrzfbf8) | | 25.| **雨云-更新证书** | app.rainyun.com | | 26.| **又拍云-部署证书到CDN/USS** | 支持又拍云CDN,又拍云云存储USS | -| 27.| **网宿-更新证书** | 网宿证书自动更新 | +| 27.| **网宿-更新证书** | 网宿证书自动更新,注意:仅支持普通CDN证书更新,CDN pro的证书请安装在线插件“网宿-CDNPro更新证书” | | 28.| **西数-部署到虚拟主机** | 西部数码部署证书到虚拟主机 | | 29.| **我爱云-部署证书到我爱云CDN** | 部署证书到我爱云CDN | | 30.| **Zenlayer-刷新证书** | 刷新Zenlayer CDN证书 | diff --git a/lerna.json b/lerna.json index 1e498256b..61152c01e 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ } }, "npmClient": "pnpm", - "version": "1.45.0" + "version": "1.45.1" } diff --git a/packages/core/acme-client/CHANGELOG.md b/packages/core/acme-client/CHANGELOG.md index c4ccb6235..e2d9b869b 100644 --- a/packages/core/acme-client/CHANGELOG.md +++ b/packages/core/acme-client/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/publishlab/node-acme-client/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/acme-client + # [1.45.0](https://github.com/publishlab/node-acme-client/compare/v1.44.4...v1.45.0) (2026-10-02) ### Bug Fixes diff --git a/packages/core/acme-client/package.json b/packages/core/acme-client/package.json index 9e929dcb4..a5f83fc17 100644 --- a/packages/core/acme-client/package.json +++ b/packages/core/acme-client/package.json @@ -3,7 +3,7 @@ "description": "Simple and unopinionated ACME client", "private": false, "author": "nmorsman", - "version": "1.45.0", + "version": "1.45.1", "type": "module", "module": "./dist/index.js", "main": "./dist/index.js", @@ -18,7 +18,7 @@ "types" ], "dependencies": { - "@certd/basic": "^1.45.0", + "@certd/basic": "^1.45.1", "@peculiar/x509": "^1.11.0", "asn1js": "^3.0.5", "axios": "^1.9.0", @@ -77,5 +77,5 @@ "bugs": { "url": "https://github.com/publishlab/node-acme-client/issues" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/core/basic/CHANGELOG.md b/packages/core/basic/CHANGELOG.md index 28b88178a..2e11e067c 100644 --- a/packages/core/basic/CHANGELOG.md +++ b/packages/core/basic/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/basic + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Bug Fixes diff --git a/packages/core/basic/build.md b/packages/core/basic/build.md index 38ca9794e..d3f67fb8d 100644 --- a/packages/core/basic/build.md +++ b/packages/core/basic/build.md @@ -1 +1 @@ -00:51 +22:40 diff --git a/packages/core/basic/package.json b/packages/core/basic/package.json index 18f893499..7858b9cf5 100644 --- a/packages/core/basic/package.json +++ b/packages/core/basic/package.json @@ -1,7 +1,7 @@ { "name": "@certd/basic", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", @@ -54,5 +54,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/core/pipeline/CHANGELOG.md b/packages/core/pipeline/CHANGELOG.md index 195fb760d..edce49e23 100644 --- a/packages/core/pipeline/CHANGELOG.md +++ b/packages/core/pipeline/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Performance Improvements + +* 多语言国际化优化,插件支持国际化配置 ([8f1b38a](https://github.com/certd/certd/commit/8f1b38ad7d445473ae71d537ad8e465f2e55ebc7)) +* 开放接口支持返回证书密码,需要在openKey主动开启该设置,客户端部署证书时可以直接获取密码部署 ([3e001b8](https://github.com/certd/certd/commit/3e001b8ba431eb9af8c4ea1b20118bcf5e7ebce4)) +* 完善插件翻译 ([d0463ab](https://github.com/certd/certd/commit/d0463abc2607d22aba50ae3acc6584bbed6e3a0e)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Bug Fixes diff --git a/packages/core/pipeline/package.json b/packages/core/pipeline/package.json index e9d34c1a4..04b06b603 100644 --- a/packages/core/pipeline/package.json +++ b/packages/core/pipeline/package.json @@ -1,7 +1,7 @@ { "name": "@certd/pipeline", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", @@ -21,8 +21,8 @@ "lint": "eslint --fix --ext .ts src" }, "dependencies": { - "@certd/basic": "^1.45.0", - "@certd/plus-core": "^1.45.0", + "@certd/basic": "^1.45.1", + "@certd/plus-core": "^1.45.1", "dayjs": "^1.11.7", "lodash-es": "^4.17.21", "reflect-metadata": "^0.2.2" @@ -51,5 +51,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/core/pipeline/src/access/api.ts b/packages/core/pipeline/src/access/api.ts index 92ee6c371..b27f3f886 100644 --- a/packages/core/pipeline/src/access/api.ts +++ b/packages/core/pipeline/src/access/api.ts @@ -19,6 +19,7 @@ export type AccessInputDefine = FormItemProps & { encrypt?: boolean; }; export type AccessDefine = Registrable & { + i18n?: Record; icon?: string; subtype?: string; dependPlugins?: Record; diff --git a/packages/core/pipeline/src/notification/api.ts b/packages/core/pipeline/src/notification/api.ts index c79d309a4..27572b9cd 100644 --- a/packages/core/pipeline/src/notification/api.ts +++ b/packages/core/pipeline/src/notification/api.ts @@ -44,6 +44,7 @@ export type NotificationDefine = Registrable & { input?: { [key: string]: NotificationInputDefine; }; + i18n?: Record; }; export type NotificationInstanceConfig = { diff --git a/packages/core/pipeline/src/plugin/api.ts b/packages/core/pipeline/src/plugin/api.ts index 6c87c0fda..879ab70b4 100644 --- a/packages/core/pipeline/src/plugin/api.ts +++ b/packages/core/pipeline/src/plugin/api.ts @@ -43,6 +43,7 @@ export type TaskInputDefine = { } & FormItemProps; export type PluginDefine = Registrable & { + i18n?: Record; default?: any; group?: string; icon?: string; @@ -97,6 +98,7 @@ export type CertTargetItem = { export type PipelineEvent = { cert: T; + certPassword?: string; runnableId: string; pipelineId: number; }; diff --git a/packages/libs/lib-huawei/CHANGELOG.md b/packages/libs/lib-huawei/CHANGELOG.md index bce58e1fe..27554971a 100644 --- a/packages/libs/lib-huawei/CHANGELOG.md +++ b/packages/libs/lib-huawei/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/lib-huawei + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/lib-huawei diff --git a/packages/libs/lib-huawei/package.json b/packages/libs/lib-huawei/package.json index 873a8f946..192dbc1b8 100644 --- a/packages/libs/lib-huawei/package.json +++ b/packages/libs/lib-huawei/package.json @@ -1,7 +1,7 @@ { "name": "@certd/lib-huawei", "private": false, - "version": "1.45.0", + "version": "1.45.1", "main": "./dist/bundle.js", "module": "./dist/bundle.js", "types": "./dist/d/index.d.ts", @@ -31,5 +31,5 @@ "prettier": "3.3.3", "tslib": "^2.8.1" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/libs/lib-iframe/CHANGELOG.md b/packages/libs/lib-iframe/CHANGELOG.md index 23e9e5a57..c0d48acca 100644 --- a/packages/libs/lib-iframe/CHANGELOG.md +++ b/packages/libs/lib-iframe/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/lib-iframe + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/lib-iframe diff --git a/packages/libs/lib-iframe/package.json b/packages/libs/lib-iframe/package.json index 46e86fbfa..de8e5d614 100644 --- a/packages/libs/lib-iframe/package.json +++ b/packages/libs/lib-iframe/package.json @@ -1,7 +1,7 @@ { "name": "@certd/lib-iframe", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", @@ -37,5 +37,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/libs/lib-jdcloud/CHANGELOG.md b/packages/libs/lib-jdcloud/CHANGELOG.md index a67b326ba..460e0c919 100644 --- a/packages/libs/lib-jdcloud/CHANGELOG.md +++ b/packages/libs/lib-jdcloud/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/jdcloud + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/jdcloud diff --git a/packages/libs/lib-jdcloud/package.json b/packages/libs/lib-jdcloud/package.json index 004359a5f..d4e50d3d4 100644 --- a/packages/libs/lib-jdcloud/package.json +++ b/packages/libs/lib-jdcloud/package.json @@ -1,6 +1,6 @@ { "name": "@certd/jdcloud", - "version": "1.45.0", + "version": "1.45.1", "description": "jdcloud openApi sdk", "main": "./dist/bundle.js", "module": "./dist/bundle.js", @@ -63,5 +63,5 @@ "fetch" ] }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/libs/lib-k8s/CHANGELOG.md b/packages/libs/lib-k8s/CHANGELOG.md index 3a1839845..a8dd2c78d 100644 --- a/packages/libs/lib-k8s/CHANGELOG.md +++ b/packages/libs/lib-k8s/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/lib-k8s + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/lib-k8s diff --git a/packages/libs/lib-k8s/package.json b/packages/libs/lib-k8s/package.json index 0abaf6046..6a1cb2bcf 100644 --- a/packages/libs/lib-k8s/package.json +++ b/packages/libs/lib-k8s/package.json @@ -1,7 +1,7 @@ { "name": "@certd/lib-k8s", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", @@ -21,7 +21,7 @@ "lint": "eslint --fix --ext .ts src" }, "dependencies": { - "@certd/basic": "^1.45.0", + "@certd/basic": "^1.45.1", "@kubernetes/client-node": "0.21.0" }, "devDependencies": { @@ -38,5 +38,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/libs/lib-server/CHANGELOG.md b/packages/libs/lib-server/CHANGELOG.md index 1a69aef70..ed4f50ecf 100644 --- a/packages/libs/lib-server/CHANGELOG.md +++ b/packages/libs/lib-server/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Performance Improvements + +* 完善插件翻译 ([d0463ab](https://github.com/certd/certd/commit/d0463abc2607d22aba50ae3acc6584bbed6e3a0e)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Features diff --git a/packages/libs/lib-server/package.json b/packages/libs/lib-server/package.json index 226bf88c8..25229aee4 100644 --- a/packages/libs/lib-server/package.json +++ b/packages/libs/lib-server/package.json @@ -1,6 +1,6 @@ { "name": "@certd/lib-server", - "version": "1.45.0", + "version": "1.45.1", "description": "midway with flyway, sql upgrade way ", "private": false, "type": "module", @@ -29,11 +29,11 @@ ], "license": "AGPL", "dependencies": { - "@certd/acme-client": "^1.45.0", - "@certd/basic": "^1.45.0", - "@certd/pipeline": "^1.45.0", - "@certd/plugin-lib": "^1.45.0", - "@certd/plus-core": "^1.45.0", + "@certd/acme-client": "^1.45.1", + "@certd/basic": "^1.45.1", + "@certd/pipeline": "^1.45.1", + "@certd/plugin-lib": "^1.45.1", + "@certd/plus-core": "^1.45.1", "@midwayjs/cache": "3.14.0", "@midwayjs/core": "3.20.11", "@midwayjs/i18n": "3.20.13", @@ -69,5 +69,5 @@ "typeorm": "^0.3.20", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/libs/lib-server/src/user/addon/api/api.ts b/packages/libs/lib-server/src/user/addon/api/api.ts index 3c0200f09..3f0124466 100644 --- a/packages/libs/lib-server/src/user/addon/api/api.ts +++ b/packages/libs/lib-server/src/user/addon/api/api.ts @@ -26,6 +26,7 @@ export type AddonDefine = Registrable & { }; showTest?: boolean; icon?: string; + i18n?: Record; }; export type AddonInstanceConfig = { diff --git a/packages/libs/midway-flyway-js/CHANGELOG.md b/packages/libs/midway-flyway-js/CHANGELOG.md index c77793587..adf150014 100644 --- a/packages/libs/midway-flyway-js/CHANGELOG.md +++ b/packages/libs/midway-flyway-js/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/midway-flyway-js + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/midway-flyway-js diff --git a/packages/libs/midway-flyway-js/package.json b/packages/libs/midway-flyway-js/package.json index 6a3bdea5c..6b561e498 100644 --- a/packages/libs/midway-flyway-js/package.json +++ b/packages/libs/midway-flyway-js/package.json @@ -1,6 +1,6 @@ { "name": "@certd/midway-flyway-js", - "version": "1.45.0", + "version": "1.45.1", "description": "midway with flyway, sql upgrade way ", "private": false, "type": "module", @@ -52,5 +52,5 @@ "typeorm": "^0.3.20", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/plugins/plugin-cert/CHANGELOG.md b/packages/plugins/plugin-cert/CHANGELOG.md index 21b771c5d..6ba7da13d 100644 --- a/packages/plugins/plugin-cert/CHANGELOG.md +++ b/packages/plugins/plugin-cert/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +**Note:** Version bump only for package @certd/plugin-cert + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/plugin-cert diff --git a/packages/plugins/plugin-cert/package.json b/packages/plugins/plugin-cert/package.json index c3f3445fb..b194f8d4c 100644 --- a/packages/plugins/plugin-cert/package.json +++ b/packages/plugins/plugin-cert/package.json @@ -1,7 +1,7 @@ { "name": "@certd/plugin-cert", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -20,7 +20,7 @@ "lint": "eslint --fix --ext .ts src" }, "dependencies": { - "@certd/plugin-lib": "^1.45.0" + "@certd/plugin-lib": "^1.45.1" }, "devDependencies": { "@types/chai": "^4.3.12", @@ -38,5 +38,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/plugins/plugin-lib/CHANGELOG.md b/packages/plugins/plugin-lib/CHANGELOG.md index f91eab9e2..e738bd679 100644 --- a/packages/plugins/plugin-lib/CHANGELOG.md +++ b/packages/plugins/plugin-lib/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Performance Improvements + +* 多语言国际化优化,插件支持国际化配置 ([8f1b38a](https://github.com/certd/certd/commit/8f1b38ad7d445473ae71d537ad8e465f2e55ebc7)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) **Note:** Version bump only for package @certd/plugin-lib diff --git a/packages/plugins/plugin-lib/package.json b/packages/plugins/plugin-lib/package.json index c70a2a9de..36e117277 100644 --- a/packages/plugins/plugin-lib/package.json +++ b/packages/plugins/plugin-lib/package.json @@ -1,7 +1,7 @@ { "name": "@certd/plugin-lib", "private": false, - "version": "1.45.0", + "version": "1.45.1", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -17,9 +17,9 @@ "lint": "eslint --fix --ext .ts src" }, "dependencies": { - "@certd/acme-client": "^1.45.0", - "@certd/basic": "^1.45.0", - "@certd/pipeline": "^1.45.0", + "@certd/acme-client": "^1.45.1", + "@certd/basic": "^1.45.1", + "@certd/pipeline": "^1.45.1", "dayjs": "^1.11.7", "jszip": "^3.10.1", "lodash-es": "^4.17.21", @@ -45,5 +45,5 @@ "tslib": "^2.8.1", "typescript": "^5.4.2" }, - "gitHead": "fcbf1045fe3806fa1a0bebf5038a6f67aec283d0" + "gitHead": "e9b9839d79532e4961dc0de5c097f81235e557f6" } diff --git a/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts b/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts index de162bf6d..ce4b3e019 100644 --- a/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts +++ b/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts @@ -3,6 +3,7 @@ import { IAccess, IAccessService, IServiceGetter, PageRes, PageSearch, Registrab export type DnsProviderDefine = Registrable & { accessType: string; + i18n?: Record; icon?: string; dependPlugins?: Record; dependPackages?: Record; diff --git a/packages/ui/certd-client/CHANGELOG.md b/packages/ui/certd-client/CHANGELOG.md index 2c8ec33f1..4770c3e83 100644 --- a/packages/ui/certd-client/CHANGELOG.md +++ b/packages/ui/certd-client/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.45.1](https://github.com/certd/certd/compare/v1.45.0...v1.45.1) (2026-10-14) + +### Bug Fixes + +* 修复批量修改证书申请参数,无法选择证书颁发机构的bug ([9d9ae64](https://github.com/certd/certd/commit/9d9ae64aff76a09d64a5be04968ff0cc3ad097a4)) + +### Performance Improvements + +* 插件市场新增同步按钮并调整搜索区域布局 ([41ca198](https://github.com/certd/certd/commit/41ca198116e1890e65973c4317acfecb32126951)) +* 多语言国际化优化,插件支持国际化配置 ([8f1b38a](https://github.com/certd/certd/commit/8f1b38ad7d445473ae71d537ad8e465f2e55ebc7)) +* 开放接口支持返回证书密码,需要在openKey主动开启该设置,客户端部署证书时可以直接获取密码部署 ([3e001b8](https://github.com/certd/certd/commit/3e001b8ba431eb9af8c4ea1b20118bcf5e7ebce4)) +* 证书申请成功通知支持批量修改 ([22715a4](https://github.com/certd/certd/commit/22715a430e24a6132482cadb6b217acc283f270c)) + # [1.45.0](https://github.com/certd/certd/compare/v1.44.4...v1.45.0) (2026-10-02) ### Features diff --git a/packages/ui/certd-client/build/tailwind-config/index.mjs b/packages/ui/certd-client/build/tailwind-config/index.mjs index 9742789ae..9af22e488 100644 --- a/packages/ui/certd-client/build/tailwind-config/index.mjs +++ b/packages/ui/certd-client/build/tailwind-config/index.mjs @@ -13,7 +13,7 @@ const { packages } = getPackagesSync(process.cwd()); const tailwindPackages = []; -packages.forEach((pkg) => { +packages.forEach(pkg => { // apps目录下和 @vben-core/tailwind-ui 包需要使用到 tailwindcss ui // if (fs.existsSync(path.join(pkg.dir, 'tailwind.config.mjs'))) { tailwindPackages.push(pkg.dir); @@ -25,96 +25,96 @@ const shadcnUiColors = { DEFAULT: "hsl(var(--accent))", foreground: "hsl(var(--accent-foreground))", hover: "hsl(var(--accent-hover))", - lighter: "has(val(--accent-lighter))" + lighter: "has(val(--accent-lighter))", }, background: { deep: "hsl(var(--background-deep))", - DEFAULT: "hsl(var(--background))" + DEFAULT: "hsl(var(--background))", }, border: { - DEFAULT: "hsl(var(--border))" + DEFAULT: "hsl(var(--border))", }, card: { DEFAULT: "hsl(var(--card))", - foreground: "hsl(var(--card-foreground))" + foreground: "hsl(var(--card-foreground))", }, destructive: { ...createColorsPalette("destructive"), - DEFAULT: "hsl(var(--destructive))" + DEFAULT: "hsl(var(--destructive))", }, foreground: { - DEFAULT: "hsl(var(--foreground))" + DEFAULT: "hsl(var(--foreground))", }, input: { background: "hsl(var(--input-background))", - DEFAULT: "hsl(var(--input))" + DEFAULT: "hsl(var(--input))", }, muted: { DEFAULT: "hsl(var(--muted))", - foreground: "hsl(var(--muted-foreground))" + foreground: "hsl(var(--muted-foreground))", }, popover: { DEFAULT: "hsl(var(--popover))", - foreground: "hsl(var(--popover-foreground))" + foreground: "hsl(var(--popover-foreground))", }, primary: { ...createColorsPalette("primary"), - DEFAULT: "hsl(var(--primary))" + DEFAULT: "hsl(var(--primary))", }, ring: "hsl(var(--ring))", secondary: { DEFAULT: "hsl(var(--secondary))", desc: "hsl(var(--secondary-desc))", - foreground: "hsl(var(--secondary-foreground))" - } + foreground: "hsl(var(--secondary-foreground))", + }, }; const customColors = { green: { ...createColorsPalette("green"), - foreground: "hsl(var(--success-foreground))" + foreground: "hsl(var(--success-foreground))", }, header: { - DEFAULT: "hsl(var(--header))" + DEFAULT: "hsl(var(--header))", }, heavy: { DEFAULT: "hsl(var(--heavy))", - foreground: "hsl(var(--heavy-foreground))" + foreground: "hsl(var(--heavy-foreground))", }, main: { - DEFAULT: "hsl(var(--main))" + DEFAULT: "hsl(var(--main))", }, overlay: { content: "hsl(var(--overlay-content))", - DEFAULT: "hsl(var(--overlay))" + DEFAULT: "hsl(var(--overlay))", }, red: { ...createColorsPalette("red"), - foreground: "hsl(var(--destructive-foreground))" + foreground: "hsl(var(--destructive-foreground))", }, sidebar: { deep: "hsl(var(--sidebar-deep))", - DEFAULT: "hsl(var(--sidebar))" + DEFAULT: "hsl(var(--sidebar))", }, success: { ...createColorsPalette("success"), - DEFAULT: "hsl(var(--success))" + DEFAULT: "hsl(var(--success))", }, warning: { ...createColorsPalette("warning"), - DEFAULT: "hsl(var(--warning))" + DEFAULT: "hsl(var(--warning))", }, yellow: { ...createColorsPalette("yellow"), - foreground: "hsl(var(--warning-foreground))" - } + foreground: "hsl(var(--warning-foreground))", + }, }; export default { - content: ["./index.html", ...tailwindPackages.map((item) => path.join(item, "src/**/*.{vue,js,ts,jsx,tsx,svelte,astro,html}"))], + content: ["./index.html", ...tailwindPackages.map(item => path.join(item, "src/**/*.{vue,js,ts,jsx,tsx,svelte,astro,html}"))], darkMode: "selector", plugins: [animate, typographyPlugin, addDynamicIconSelectors(), enterAnimationPlugin], prefix: "", @@ -123,8 +123,8 @@ export default { center: true, padding: "2rem", screens: { - "2xl": "1400px" - } + "2xl": "1400px", + }, }, extend: { animation: { @@ -132,64 +132,67 @@ export default { "accordion-up": "accordion-up 0.2s ease-out", "collapsible-down": "collapsible-down 0.2s ease-in-out", "collapsible-up": "collapsible-up 0.2s ease-in-out", - float: "float 5s linear 0ms infinite" + float: "float 5s linear 0ms infinite", + }, + flex: { + 2: "2 1 0%", }, animationDuration: { 2000: "2000ms", - 3000: "3000ms" + 3000: "3000ms", }, borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", - xl: "calc(var(--radius) + 4px)" + xl: "calc(var(--radius) + 4px)", }, boxShadow: { float: `0 6px 16px 0 rgb(0 0 0 / 8%), 0 3px 6px -4px rgb(0 0 0 / 12%), - 0 9px 28px 8px rgb(0 0 0 / 5%)` + 0 9px 28px 8px rgb(0 0 0 / 5%)`, }, colors: { ...customColors, - ...shadcnUiColors + ...shadcnUiColors, }, fontFamily: { sans: [ - "var(--font-family)" + "var(--font-family)", // ...defaultTheme.fontFamily.sans - ] + ], }, keyframes: { "accordion-down": { from: { height: "0" }, - to: { height: "var(--radix-accordion-content-height)" } + to: { height: "var(--radix-accordion-content-height)" }, }, "accordion-up": { from: { height: "var(--radix-accordion-content-height)" }, - to: { height: "0" } + to: { height: "0" }, }, "collapsible-down": { from: { height: "0" }, - to: { height: "var(--radix-collapsible-content-height)" } + to: { height: "var(--radix-collapsible-content-height)" }, }, "collapsible-up": { from: { height: "var(--radix-collapsible-content-height)" }, - to: { height: "0" } + to: { height: "0" }, }, float: { "0%": { transform: "translateY(0)" }, "50%": { transform: "translateY(-20px)" }, - "100%": { transform: "translateY(0)" } - } + "100%": { transform: "translateY(0)" }, + }, }, zIndex: { 100: "100", - 1000: "1000" - } - } + 1000: "1000", + }, + }, }, - safelist: ["dark"] + safelist: ["dark"], }; function createColorsPalette(name) { @@ -249,6 +252,6 @@ function createColorsPalette(name) { // 主色文本激活态 "text-active": `hsl(var(--${name}-700))`, // 主色文本悬浮态 - "text-hover": `hsl(var(--${name}-600))` + "text-hover": `hsl(var(--${name}-600))`, }; } diff --git a/packages/ui/certd-client/build/tailwind-config/postcss.config.mjs b/packages/ui/certd-client/build/tailwind-config/postcss.config.mjs index 914e44b20..ea1db39fc 100644 --- a/packages/ui/certd-client/build/tailwind-config/postcss.config.mjs +++ b/packages/ui/certd-client/build/tailwind-config/postcss.config.mjs @@ -10,6 +10,6 @@ export default { "postcss-import": {}, "postcss-preset-env": {}, tailwindcss: { config }, - "tailwindcss/nesting": {} - } + "tailwindcss/nesting": {}, + }, }; diff --git a/packages/ui/certd-client/package.json b/packages/ui/certd-client/package.json index 8f2659195..85c21b383 100644 --- a/packages/ui/certd-client/package.json +++ b/packages/ui/certd-client/package.json @@ -1,6 +1,6 @@ { "name": "@certd/ui-client", - "version": "1.45.0", + "version": "1.45.1", "private": true, "scripts": { "dev": "vite --open", @@ -34,11 +34,11 @@ "@aws-sdk/s3-request-presigner": "^3.964.0", "@certd/vue-js-cron-light": "^4.0.14", "@ctrl/tinycolor": "^4.1.0", - "@fast-crud/editor-code": "^1.28.7", - "@fast-crud/fast-crud": "^1.28.7", - "@fast-crud/fast-extends": "^1.28.7", - "@fast-crud/ui-antdv4": "^1.28.7", - "@fast-crud/ui-interface": "^1.28.7", + "@fast-crud/editor-code": "^1.29.0", + "@fast-crud/fast-crud": "^1.29.0", + "@fast-crud/fast-extends": "^1.29.0", + "@fast-crud/ui-antdv4": "^1.29.0", + "@fast-crud/ui-interface": "^1.29.0", "@iconify/tailwind": "^1.2.0", "@iconify/vue": "^4.1.1", "@manypkg/get-packages": "^2.2.2", @@ -104,8 +104,8 @@ "zod-defaults": "^0.1.3" }, "devDependencies": { - "@certd/lib-iframe": "^1.45.0", - "@certd/pipeline": "^1.45.0", + "@certd/lib-iframe": "^1.45.1", + "@certd/pipeline": "^1.45.1", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@types/chai": "^4.3.12", diff --git a/packages/ui/certd-client/src/api/service.ts b/packages/ui/certd-client/src/api/service.ts index a38d92c49..ff6750cad 100644 --- a/packages/ui/certd-client/src/api/service.ts +++ b/packages/ui/certd-client/src/api/service.ts @@ -4,6 +4,7 @@ import { errorLog, errorCreate } from "./tools"; import { env } from "/src/utils/util.env"; import { useUserStore } from "/@/store/user"; import { useProjectStore } from "../store/project"; +import { i18n } from "/@/locales"; export class CodeError extends Error { code: number; @@ -139,6 +140,7 @@ function createRequestFunction(service: any) { const configDefault: any = { headers: { "Content-Type": get(config, "headers.Content-Type", "application/json"), + "Accept-Language": i18n.global.locale.value, } as any, timeout: 30000, baseURL: env.API, @@ -154,6 +156,10 @@ function createRequestFunction(service: any) { configDefault.headers.Authorization = token; } Object.assign(configDefault, config); + configDefault.headers = { + ...configDefault.headers, + "Accept-Language": i18n.global.locale.value, + }; if (!configDefault.params.projectId && projectStore.isEnterprise && !config.url.startsWith("/sys") && !config.url.startsWith("http")) { configDefault.params.projectId = projectStore.currentProject?.id; diff --git a/packages/ui/certd-client/src/components/captcha/captchas/image_captcha.vue b/packages/ui/certd-client/src/components/captcha/captchas/image_captcha.vue index 45dc81c23..f5742af9d 100644 --- a/packages/ui/certd-client/src/components/captcha/captchas/image_captcha.vue +++ b/packages/ui/certd-client/src/components/captcha/captchas/image_captcha.vue @@ -1,11 +1,11 @@