Dawnland Launcher v0.0.13
本次更新带来了核心组件的全面重构与多项体验优化,重点改进了 UI 一致性、更新校验机制以及实例内存管理,并修复了微软登录失效等影响体验的核心问题。
✨ 新特性与优化 (Features & Improvements)
🎨 界面与交互重构
- 全局 UI 组件重构: 全面引入以
D为前缀的全局自定义 UI 组件(如DButton、DSelect、DSidebarTabs等),统一了整体设计规范,带来了更具现代感和一致性的视觉体验。 - 设置与多语言补全: 优化了设置页面的布局结构,并补全了多处缺失的 i18n 翻译键值,确保中英双语环境下的完整沉浸体验。
🚀 核心机制升级
- 默认内存智能分配: 新增了实例的默认内存分配机制,能够根据玩家的系统环境智能设定最适合的
Java内存大小,告别手动配置的繁琐。 - 更新完整性校验: 在启动器自动更新流程中引入了严谨的 MD5 校验机制,有效防止因网络波动导致的下载文件损坏问题。
- 任务状态实时同步: 深入重构了底层任务状态的处理逻辑,提取了全局
useTaskStatusReload钩子,确保在不同下载页签中任务状态能够完美实时同步。 - 数据遥测优化: 优化了 Aptabase 事件统计逻辑,提供更准确且无感的遥测支持。
🐛 问题修复 (Bug Fixes)
🔌 联机与账号修复
- 登录会话失效: 彻底修复了 Authlib 会话意外失效的核心问题,大幅减少了玩家频繁被要求重新登录的情况。
- 服务器列表刷新: 修复了服务器列表刷新时数据状态滞后的问题,现在可以精准地展示服务器的实时连接状态。
⚙️ 底层逻辑优化
- 整合包依赖逻辑: 重构并优化了整合包安装时的依赖解析底层结构,解决了特定情况下的原版安装冲突,显著降低了安装复杂整合包的失败率。
- 发布流程保护: 修复了自动化部署工作流,防止 GitHub Actions 意外覆盖由开发者手动精调的 Release 描述记录。
- 代码清理: 移除了
WorldInstallTab.vue中未使用的死代码变量,并新增 SonarQube 配置增强了代码质量扫描。
What's Changed
- feat(ui): add universal UI components and test page by @MaoZa in #53
- feat(downloads): implement unified resource download center and fix mod versions by @MaoZa in #58
- style: restructure settings view layout using sidebar tabs by @MaoZa in #59
- chore: fix cargo clippy warnings and refactor structure by @MaoZa in #60
- fix(downloads): sync instance select state in real-time by @MaoZa in #61
- fix(i18n): add missing translations for AccountsView and DSelect comp… by @MaoZa in #62
- ci: update release workflow to preserve existing release info by @MaoZa in #63
- ci: fix undefined context.refName by using github.ref_name expression by @MaoZa in #64
- fix(core): refine task conflicts to allow concurrent asset downloads by @MaoZa in #65
- feat(updater): add MD5 validation for auto-updates and fix download url resolution by @MaoZa in #66
- fix(updater): properly unlisten download progress events on failure by @MaoZa in #67
- feat(telemetry): integrate aptabase with privacy controls and robust downloads by @MaoZa in #68
- feat(server,settings): backend-filtered list and global max memory by @MaoZa in #69
- fix(auth): improve authlib multi-character support and save email by @MaoZa in #70
Full Changelog: https://github.com/DawnLandTeam/dawnland-launcher/commits/v0.0.13