mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
feat(update): 增强更新检查功能,展示发布日志和发布时间
- 后端从 GitHub Tags API 改为 Releases API,获取更丰富的发布信息 - 新增 release_notes 和 published_at 字段 - 前端更新对话框展示发布时间和 Markdown 格式的更新日志 - 使用 DOMPurify 对 Markdown 渲染结果进行 XSS 防护 - 简化 GlobalModel 缓存失效逻辑,合并同步/异步调用
This commit is contained in:
@@ -166,6 +166,8 @@ export interface CheckUpdateResponse {
|
||||
latest_version: string | null
|
||||
has_update: boolean
|
||||
release_url: string | null
|
||||
release_notes: string | null
|
||||
published_at: string | null
|
||||
error: string | null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user