just thinking
https://github.com/user-attachments/assets/20c9046f-1611-41ce-afb2-0ca0cbdfeb7e
## Summary by Sourcery
记录 v6.7.0 版本发布内容,重点说明 DeepSleep 集成以及相关的维护更新。
新特性:
- 在 v6.7.0 版本说明中公布官方 DeepSleep 集成。
缺陷修复:
- 记录修复任务开始/结束时缺失任务名称,以及日志中错误使用任务名称的问题。
- 记录解决由于在 UI 线程之外清理仓库数据而导致任务创建失败的问题。
- 描述对歼灭识别和战斗完成 ROI 的多项修正。
- 标注通过更新 MailKit 依赖项修复构建警告的问题。
- 说明对过时描述和各种轻微文本问题的修正已记录在更新日志中。
增强改进:
- 在更新日志中记录对 MaaFramework 文件命名和 .NET SDK 版本的更新。
- 记录移除过时的配置迁移兼容逻辑。
- 提及新增的基础性 DateTimeOffset 支持作为整体改进。
- 标注补充了此前缺失的图片资源。
- 概要说明对文档中链接规范和 AI 建议措辞所做的修订。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Document the v6.7.0 release, highlighting DeepSleep integration and
associated maintenance updates.
New Features:
- Announce official DeepSleep integration in the v6.7.0 release notes.
Bug Fixes:
- Record fixes for missing task names on start/finish and incorrect task
name usage in logs.
- Document resolution of task creation failures caused by clearing depot
data off the UI thread.
- Describe multiple corrections to Annihilation recognition and battle
completion ROI.
- Note the fix for build warnings by updating the MailKit dependency.
- Clarify corrections to outdated descriptions and various minor text
issues in the changelog.
Enhancements:
- Capture updates to MaaFramework file naming and .NET SDK version in
the changelog.
- Record removal of obsolete configuration migration compatibility
logic.
- Mention foundational DateTimeOffset support as a general improvement.
- Note the addition of previously missing image resources.
- Summarize revisions to linking guidelines and AI suggestion wording in
documentation.
</details>
Updated version to v6.7.0-beta.2 and included new features such as DeepSleep integration and Achievement DLC #3. Various UX fixes and improvements were also made.
## Summary by Sourcery
通过更新更新日志条目并润色发行说明,为 v6.7.0-beta.1 版本发布做准备。
Documentation(文档):
- 为 v6.7.0-beta.1 更新更新日志,完善新特性、修复项及其他变更的描述。
Chores(杂项工作):
- 修正文案、标点符号以及更新日志发行说明中的一些轻微措辞问题。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Prepare the v6.7.0-beta.1 release by updating the changelog entry and
polishing release notes.
Documentation:
- Update changelog for v6.7.0-beta.1 with refined descriptions of new
features, fixes, and other changes.
Chores:
- Correct wording, punctuation, and minor phrasing issues in the
changelog release notes.
</details>
## 由 Sourcery 总结
更新了邮件通知、日期/时间处理、任务命名和配置行为,同时新增了季节性 UI 行为和构建元数据改进。
新功能:
- 添加愚人节主题行为,包括临时日志文本、深度睡眠本地化资源以及额外的复活节彩蛋图片。
- 引入任务显示名称抽象,当未设置自定义名称时回退到本地化的任务类型名称。
错误修复:
- 通过在发送前验证发件人/收件人和凭据,并切换为直接使用 MailKit,防止 SMTP 通知中的崩溃和错误发送。
- 修复配置切换逻辑,在切换失败时正确回滚到先前的配置。
- 确保在反序列化配置时一致地添加默认任务,同时不覆盖现有任务队列。
- 通过统一使用 DateTimeOffset 和集中化的、支持本地化的格式化逻辑,修正资源和构建时间的比较与格式化。
- 通过使用一致的 Yostar 时间处理方式,并在清除识别结果时重置同步状态,修复用户数据自动更新触发和同步时间戳问题。
- 在禁用检测时避免错误的 OCR 日志矩形,并简化日志输出。
- 确保商店积分战斗警告和任务相关日志在重命名后使用正确的任务显示名称。
增强:
- 通过将本地化查找逻辑移入代码并简化模板占位符,完善邮件通知模板。
- 为 DateTimeOffset 添加重载、使用更简洁的 switch 表达式以及可重用的 ToLocalTimeString
辅助函数,以改进本地化辅助工具和日期/时间工具。
- 优化任务队列视图模型的日志记录、日期提示更新,以及在整个 UI 和日志中对任务显示名称的使用。
- 简化 OcrPack 原始结果日志记录,并仅在已配置时包含基础 ROI 偏移。
- 整理配置转换逻辑,移除与旧 Beta 版本关联的遗留迁移路径。
- 改进内部问题分析文档,以统一外部代码链接格式。
- 扩展 copilot 模块信息处理以及多语言的各种 UI 本地化资源。
构建:
- 引入 global.json 用于固定项目使用的 .NET SDK 版本。
- 更改自定义的 BuildDateTime 程序集属性以存储 DateTimeOffset,从而提供更精确的构建时间元数据。
CI:
- 更新 CI 和夜间发布工作流,通过 global.json 设置 .NET,调整 MaaFramework 工件模式,并在 NuGet
缓存键中包含 global.json。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Update email notifications, date/time handling, task naming, and
configuration behavior while adding seasonal UI behavior and build
metadata improvements.
New Features:
- Add April Fools themed behaviors including temporary log text, deep
sleep localization resources, and an additional Easter egg image.
- Introduce a task display name abstraction that falls back to localized
task type names when no custom name is set.
Bug Fixes:
- Prevent crashes and mis-sends in SMTP notifications by validating
sender/recipient and credentials before sending and by switching to
direct MailKit usage.
- Fix configuration switching to properly roll back to the previous
configuration when a switch fails.
- Ensure default tasks are added consistently on config deserialization
without overriding existing task queues.
- Correct resource and build time comparisons and formatting by
standardizing on DateTimeOffset and centralized localization-aware
formatting.
- Fix user-data auto-update triggers and sync timestamps by using
consistent Yostar time handling and resetting sync state when
recognition is cleared.
- Avoid incorrect OCR logging rectangles when detection is disabled and
simplify logging output.
- Ensure mall credit fight warnings and task-related logs use the
correct task display name after renames.
Enhancements:
- Refine email notification templates by moving localization lookups
into code and simplifying template placeholders.
- Improve localization helper and date/time utilities with overloads for
DateTimeOffset, cleaner switch expressions, and reusable
ToLocalTimeString helpers.
- Streamline task queue view model logging, date prompt updates, and use
of task display names throughout the UI and logging.
- Simplify OcrPack raw result logging and include base ROI offsets only
when configured.
- Tidy configuration conversion logic by removing legacy migration paths
tied to older beta versions.
- Improve internal issue-analysis documentation to standardize external
code-link formatting.
- Expand copilot module info handling and various UI-localization
resources for multiple languages.
Build:
- Introduce a global.json to pin the .NET SDK version used by the
project.
- Change the custom BuildDateTime assembly attribute to store
DateTimeOffset for more accurate build time metadata.
CI:
- Update CI and nightly release workflows to set up .NET via
global.json, adjust MaaFramework artifact patterns, and include
global.json in NuGet cache keys.
</details>
Target PR:
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/16106
<details><summary>Debug information</summary>
```
tag_name: v5.7.0-beta.1
pr_title: docs: Auto Update Changelogs of v5.7.0-beta.1
latest_stable_tag: v6.6.1
newest_tag: v6.6.1
latest: v6.6.1
```
</details>
## Summary by Sourcery
为 v5.7.0-beta.1 版本更新变更日志,将之前属于 v6.6.x 的说明替换为该版本的正确信息。
新功能:
- 记录新增的 DeepSleep 功能。
错误修复:
- 记录多项修复内容,包括构建警告、SMTP/MailKit 升级、湮灭阶段(annihilation stage)的 OCR
与识别问题、任务命名与清单重置问题、MaaFramework 文件命名与 .NET SDK 版本,以及清理遗留迁移逻辑等相关修复。
改进:
- 记录在时间处理、任务名称显示、下拉菜单默认值以及 OCR 日志行为等方面的多项改进。
文档:
- 微调各类文档与措辞,包括链接规范、AI 建议以及英文文本。
- 更正对过期阶段重置选项的错误描述。
日常维护(Chores):
- 在变更日志中记录基础的 DateTimeOffset 支持,以及若干资源/翻译方面的调整。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Update changelog for release v5.7.0-beta.1, replacing previous v6.6.x
notes with the correct entries for this version.
New Features:
- Document the addition of the DeepSleep feature.
Bug Fixes:
- Document multiple fixes related to build warnings, SMTP/MailKit
upgrades, annihilation stage OCR and recognition, task naming and
inventory reset issues, MaaFramework file naming and .NET SDK version,
and cleanup of legacy migration logic.
Enhancements:
- Document various improvements around time handling, task name display,
dropdown defaults, and OCR logging behavior.
Documentation:
- Tweak miscellaneous documentation and wording, including linking
guidelines, AI suggestions, and English text.
- Correct an incorrect description for the expired-stage reset option.
Chores:
- Record baseline DateTimeOffset support and assorted
resource/translation adjustments in the changelog.
</details>