fix: 发布 0.6.17,修复全球部署量两处(0.6.16 接口 500 + 前端 0 时隐藏);中转校验传入 classifier

This commit is contained in:
Su Yijun committed 2026-10-25 15:37:19 +08:00
1 parent efdda2ebca
commit f5f5ca9956
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -1,5 +1,13 @@
# Changelog
## [0.6.17] - 2026-10-25
修复全球部署量(0.6.16 两处:接口 500 / 前端隐藏)
- 修复 `deployments_with_relays` 漏传 db 形参导致 /api/system/deployments 返回 500(0.6.16 部署后访问该接口会报"服务器内部错误")。
- 前端「全球部署量」一行不再在数量为 0 时隐藏——没有心跳时显示 0,让用户知道功能在。
- 附带:中转校验在生产路径传入 classifier(0.6.16 的应用白名单只在测试路径生效)。
## [0.6.16] - 2026-10-25
共享库连接状态指示 + 社区库数量;中转端校验强化(debug20)
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.6.16"
__version__ = "0.6.17"
+1 -1
View File
@@ -186,7 +186,7 @@
<b>{{ t('sources.communitySize') }}</b>:{{ t('sources.communityDetail', { ip: (deploys.sync.community_ips || 0).toLocaleString(), dom: (deploys.sync.community_domains || 0).toLocaleString() }) }}
<span class="faint small">({{ t('settings.last') }} {{ ago(deploys.sync.ts) }})</span>
</div>
<div class="small" style="margin-top:8px" v-if="deploys && (s.share_hub || deploys.total)">
<div class="small" style="margin-top:8px" v-if="deploys">
<b>{{ t('sources.deploys') }}</b>:{{ t('sources.deployed', { n: deploys.total }) }} ·
<span style="color:var(--up)">{{ t('sources.online', { n: deploys.online }) }}</span> ·
{{ t('sources.offline', { n: deploys.offline }) }}