版本管理全面增强:状态、补丁更新、热更新
1. 自动状态管理 - 新增版本自动标记状态:最新版本为'有效',旧版本自动标记为'已失效' - 前端列表页新增状态列和状态筛选 2. 更新方式升级 - 更新方式从手动/自动改为:手动更新/热更新/完整更新 - 热更新:运行时增量替换文件,无需重启 - 完整更新:下载完整包替换,需重启 3. 补丁更新支持 - 新增 base_version_id 字段支持增量补丁 - 创建版本时可选择基础版本,自动识别为补丁模式 - 补丁模式仅上传变更文件 4. ZIP解析上传(已有功能完善) - 上传ZIP自动解析文件列表 - 支持选择入口文件 5. 国际化完善 - 中英文新增状态、更新方式等翻译
This commit is contained in:
@@ -1418,6 +1418,7 @@
|
||||
"fileSize": "File Size",
|
||||
"strategy": "Strategy",
|
||||
"method": "Method",
|
||||
"status": "Status",
|
||||
"createdAt": "Created At",
|
||||
"actions": "Actions"
|
||||
},
|
||||
@@ -1427,7 +1428,12 @@
|
||||
},
|
||||
"methods": {
|
||||
"manual": "Manual",
|
||||
"auto": "Auto"
|
||||
"hot": "Hot",
|
||||
"full": "Full"
|
||||
},
|
||||
"status": {
|
||||
"active": "Active",
|
||||
"superseded": "Superseded"
|
||||
},
|
||||
"createForm": {
|
||||
"title": "Create Version",
|
||||
@@ -1461,6 +1467,12 @@
|
||||
"entryFilePlaceholder": "Select entry file (optional)",
|
||||
"forcedUpdate": "Force Update",
|
||||
"forcedUpdateDesc": "When enabled, users must update to this version to continue using",
|
||||
"updateMethod": "Update Method",
|
||||
"baseVersion": "Base Version",
|
||||
"baseVersionPlaceholder": "Select base version (patch mode)",
|
||||
"baseVersionDesc": "Select a base version to only upload changed files for incremental patch update",
|
||||
"noBaseVersion": "None (Full version)",
|
||||
"status": "Status",
|
||||
"autoUpdate": "Auto Update",
|
||||
"autoUpdateDesc": "When enabled, the application will automatically download and install updates",
|
||||
"changelog": "Changelog",
|
||||
@@ -1474,6 +1486,7 @@
|
||||
"previewFileCount": "File Count",
|
||||
"previewEntryFile": "Entry File",
|
||||
"previewForcedUpdate": "Force Update",
|
||||
"previewUpdateMethod": "Update Method",
|
||||
"previewAutoUpdate": "Auto Update",
|
||||
"changelogPreview": "Changelog Preview",
|
||||
"noChangelog": "No changelog",
|
||||
|
||||
Reference in New Issue
Block a user