feat(update): 增强更新检查功能,展示发布日志和发布时间

- 后端从 GitHub Tags API 改为 Releases API,获取更丰富的发布信息
- 新增 release_notes 和 published_at 字段
- 前端更新对话框展示发布时间和 Markdown 格式的更新日志
- 使用 DOMPurify 对 Markdown 渲染结果进行 XSS 防护
- 简化 GlobalModel 缓存失效逻辑,合并同步/异步调用
This commit is contained in:
fawney19
2026-01-13 20:29:16 +08:00
parent 8c4c5fa394
commit 5374add5d8
5 changed files with 110 additions and 63 deletions

View File

@@ -303,6 +303,8 @@
:current-version="updateInfo.current_version"
:latest-version="updateInfo.latest_version || ''"
:release-url="updateInfo.release_url"
:release-notes="updateInfo.release_notes"
:published-at="updateInfo.published_at"
/>
</AppShell>
</template>