Skip to content

chore: update changelog to 2.0.30#1458

Merged
robertkill merged 1 commit intolinuxdeepin:masterfrom
mhduiy:dev-changelog-2.0.30
Feb 27, 2026
Merged

chore: update changelog to 2.0.30#1458
robertkill merged 1 commit intolinuxdeepin:masterfrom
mhduiy:dev-changelog-2.0.30

Conversation

@mhduiy
Copy link
Contributor

@mhduiy mhduiy commented Feb 27, 2026

更新说明

自动更新 changelog 到版本 2.0.30

变更内容

  • 更新 debian/changelog

版本信息

  • 新版本: 2.0.30
  • 目标分支: master

update changelog to 2.0.30

Log: update changelog to 2.0.30
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @mhduiy, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@github-actions
Copy link

TAG Bot

TAG: 2.0.30
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot
Copy link

deepin pr auto review

这份 debian/changelog 的 diff 内容主要是关于项目 dde-shell 版本 2.0.30 的更新记录。虽然 changelog 本身不包含可执行的代码逻辑,但通过审查其中的提交信息,我们可以从版本管理规范提交信息质量以及潜在的技术风险三个维度提出改进意见。

以下是详细的审查与改进建议:

1. 语法与格式规范

  • 日期异常(严重):
    • 问题: 提交日期显示为 Fri, 27 Feb 2026。这是一个未来的日期。
    • 建议: 请检查系统时间或提交脚本,确保日期准确。错误的日期可能会导致自动构建工具(如 CI/CD)排序混乱,或导致发布时间线混乱。
  • 格式一致性:
    • 观察: 大部分条目遵循 type(scope): description 的格式(如 fix(bubble): ...),但存在不一致的情况。
    • 问题: 第 6 行 fix: make notification center follow dock screen 和第 9 行 fix: fix wild pointer issue... 缺少 scope(作用域)。
    • 建议: 建议统一格式,所有条目都应包含 scope,例如改为 fix(notification): make notification center follow dock screen,以便于后续通过脚本自动分类或过滤日志。

2. 代码质量与逻辑

  • Revert(回滚)条目的位置:
    • 问题: Revert "fix: correct icon display order from right to left" 这一条目夹杂在普通的 fixfeat 中。
    • 建议: 在版本发布记录中,Revert 操作通常意味着上一个版本的修复引入了新问题。建议将此类条目放在更显眼的位置,或者在描述中补充回滚的原因(例如:Revert "fix: ...": caused layout regression),以便维护者快速理解变更背景。
  • 措辞重复:
    • 问题: 第 9 行 fix: fix wild pointer issue... 中出现了两个 "fix"。
    • 建议: 修改为 fix: resolve wild pointer issue...fix: handle wild pointer issue...,提升可读性。
  • 描述的精确性:
    • 问题: 第 14 行 fix: remove invalid DBus error message sending。这个描述略显模糊,是删除了发送错误的代码,还是删除了无效的错误消息本身?
    • 建议: 如果是代码层面的修复,建议改为 fix: remove invalid DBus error sending logicfix: prevent sending invalid DBus error messages

3. 代码安全与稳定性

  • 内存安全问题:
    • 风险点: 第 9 行提到 fix: fix wild pointer issue when screen switching。野指针通常会导致程序崩溃或不可预测的行为。
    • 建议: 这是一个高风险修复。建议确认该修复是否经过了严格的内存检测工具(如 Valgrind 或 ASAN)检查。在发布说明中,虽然不需要写技术细节,但作为审查者应关注此类修复是否彻底。
  • 静态析构崩溃:
    • 风险点: 第 10 行 fix: prevent crash during static destruction of DPluginLoader
    • 建议: 静态析构顺序(Static Destruction Order)是 C++ 中非常棘手的问题。仅仅修复了崩溃,可能仍存在潜在的析构竞态。建议审查相关代码,确保单例或静态资源的生命周期管理是线程安全的。
  • ID 冲突:
    • 风险点: 第 12 行 fix(notification): avoid delayed-remove id collision
    • 建议: ID 冲突可能导致通知被错误地关闭或显示。建议确认修复方案是否使用了唯一标识符(UUID)或更严谨的 ID 生成策略。

4. 性能

  • 渲染优化:
    • 观察: 第 15 行 style: replace shadows with borders in OSD notifications
    • 评价: 这是一个很好的性能优化。阴影通常比边框消耗更多的 GPU 资源,尤其是在高 DPI 或动画场景下。这表明开发团队关注到了渲染性能。

总结建议

这份 Changelog 记录了大量的 UI 修复和功能改进,整体质量尚可,但为了更专业和规范,建议进行以下修改:

  1. 修正日期:将 2026 改为当前正确年份(如 2024 或 2025)。
  2. 统一格式:为所有 fixfeat 补全 scope
  3. 优化措辞:去除重复词汇,使描述更通顺。
  4. 关注高危修复:针对“野指针”和“静态析构”类的修复,建议在代码审查环节给予更多关注,确保没有引入新的内存泄漏或死锁。

修正后的示例片段:

+dde-shell (2.0.30) unstable; urgency=medium
+
+  * fix(bubble): use frontendWindowRect for dock margin to avoid overlap
+    during animations
+  * feat(notify): show popup menu on NotifyHeader more button click
+  * fix(dock): make notification center follow dock screen
+  * fix(notification): improve action button background styling
+  * fix(notification): improve combobox width calculation and styling
+  * fix(screen): resolve wild pointer issue during screen switching
+  * fix(core): prevent crash during static destruction of DPluginLoader
+  * fix(notification): avoid delayed-remove id collision
+  * fix(dbus): prevent sending invalid error messages
+  * fix(dock): disable tray item interactions during collapse
+  * fix(notification): emit layoutChanged after collapse to refresh ListView
+  * Revert "fix(ui): correct icon display order from right to left"
+  * style: replace shadows with borders in OSD notifications
+  * fix(notification): improve text rendering at high DPI scaling
+  * fix(ui): fix the issue of the close button and shadow being cut off
+  * feat(dock): add left edge click signal for dock panel
+  * feat(dock): add hover background and adjust window indicator position
+  * feat(notification): improve keyboard navigation and focus management
+
+ -- zhangkun <zhangkun2@uniontech.com>  Fri, 27 Feb 2024 17:02:07 +0800

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mhduiy, robertkill

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@robertkill robertkill merged commit 1371c77 into linuxdeepin:master Feb 27, 2026
11 of 12 checks passed
@deepin-bot
Copy link

deepin-bot bot commented Feb 27, 2026

TAG Bot

Tag created successfully

📋 Tag Details
  • Tag Name: 2.0.30
  • Tag SHA: 1b02cf6ebcbae4b19acb265128cd69a2b7b3c384
  • Commit SHA: f8bcb55855884b61302b6f5c545bbd120e73d9dc
  • Tag Message:
    Release dde-shell 2.0.30
    
    
  • Tagger:
    • Name: mhduiy
  • Distribution: unstable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants