版本管理全面增强:状态、补丁更新、热更新
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",
|
||||
|
||||
@@ -1385,6 +1385,7 @@
|
||||
"fileSize": "文件大小",
|
||||
"strategy": "更新策略",
|
||||
"method": "更新方式",
|
||||
"status": "状态",
|
||||
"createdAt": "创建时间",
|
||||
"actions": "操作"
|
||||
},
|
||||
@@ -1394,7 +1395,12 @@
|
||||
},
|
||||
"methods": {
|
||||
"manual": "手动更新",
|
||||
"auto": "自动更新"
|
||||
"hot": "热更新",
|
||||
"full": "完整更新"
|
||||
},
|
||||
"status": {
|
||||
"active": "有效",
|
||||
"superseded": "已失效"
|
||||
},
|
||||
"createForm": {
|
||||
"title": "创建版本",
|
||||
@@ -1428,6 +1434,12 @@
|
||||
"entryFilePlaceholder": "选择入口文件(可选)",
|
||||
"forcedUpdate": "强制更新",
|
||||
"forcedUpdateDesc": "启用后用户必须更新到此版本才能继续使用",
|
||||
"updateMethod": "更新方式",
|
||||
"baseVersion": "基础版本",
|
||||
"baseVersionPlaceholder": "选择基础版本(补丁模式)",
|
||||
"baseVersionDesc": "选择基础版本后,只会上传变更的文件,用于增量补丁更新",
|
||||
"noBaseVersion": "无(完整版本)",
|
||||
"status": "状态",
|
||||
"autoUpdate": "自动更新",
|
||||
"autoUpdateDesc": "启用后应用将自动下载并安装更新",
|
||||
"changelog": "更新日志",
|
||||
@@ -1441,6 +1453,7 @@
|
||||
"previewFileCount": "文件数量",
|
||||
"previewEntryFile": "入口文件",
|
||||
"previewForcedUpdate": "强制更新",
|
||||
"previewUpdateMethod": "更新方式",
|
||||
"previewAutoUpdate": "自动更新",
|
||||
"changelogPreview": "更新日志预览",
|
||||
"noChangelog": "暂无更新日志",
|
||||
|
||||
Reference in New Issue
Block a user