# 更新记录 / Changelog ## 0.2.2(2026-10-22) - 将网络请求依赖 Undici 升级到 `7.30.1`,包含上游 2026 年 10 月的安全修复;声明下限同步提高到 `^7.30.1`。 - Updated the HTTP dependency Undici to `7.30.1`, including upstream security fixes from October 2026, and raised the declared minimum to `^7.30.1`. - 提醒逻辑、SendKey 存储和现有配置不变;建议更新插件并重启 DSH。 - Reminder behavior, SendKey storage, and existing configuration are unchanged; update the plugin and restart DSH. ## 0.2.1(2026-10-16) - 设置页可以忽略卡住的确认,立即停止该项提醒,重启后保留;也可随时恢复。忽略不会批准或回答原确认,也不会覆盖尚未保存的配置草稿。 / Stuck confirmations can be ignored from settings to stop their alerts immediately, with the choice preserved across restarts. Alerts can be restored at any time. These actions do not approve or answer the request or overwrite unsaved settings drafts. - 确认按会话分别识别,两个会话使用相同调用或审批 ID 时互不影响。已忽略满 50 项时会提示先恢复一项,不会悄悄删除已有记录。 / Confirmations are scoped to their session: matching call or approval IDs in different sessions do not affect each other. At 50 ignored items, new dismissals are refused with a prompt to restore one first; existing records are not silently evicted. - 修复重启恢复、无调用 ID 的结果配对和重复事件回放,避免已处理项重新提醒,或误停下一项提醒。 / Restart recovery, results without call IDs, and replayed events are handled consistently, preventing answered items from reappearing or stopping alerts for the next pending item. ## 0.2.0(2026-10-07) ### 设置页面重做 / Settings page rebuilt - 设置页改为「推送通道 / 提醒时机 / 提醒文案 / 跳转链接 / 网络 / 等待队列」六块卡片,全部使用官方设计令牌(`--dsw-alias-*`)与 CSS Modules,自动跟随深浅色主题,不再使用内联样式与硬编码颜色。 / The page is now six cards (channel, timing, message, link, network, pending) built on the official `--dsw-alias-*` design tokens and CSS Modules, so it follows the active theme; inline styles and hardcoded colors are gone. - 控件改用官方 UI primitives(`Button` / `Switch` / `Tag` / `Input`),键盘操作、焦点环与无障碍标签与 DSH 其余设置页一致。 / Controls now use the official UI primitives (`Button`, `Switch`, `Tag`, `Input`), matching the keyboard behavior, focus ring, and accessible labels of the rest of DSH's settings. - 保存前先在本地暂存修改,只有点击「保存设置」才写入主机;SendKey 输入框永远不会回显已保存的密钥。 / Edits are staged locally and only written by "保存设置"; the stored SendKey is never echoed back into the field. - 等待队列显示每项的类型、内容、已等待时长(每秒刷新)与已提醒次数,每 10 秒自动轮询。 / The pending queue shows each item's kind, detail, live wait time, and push count, polling every 10 s. ### 功能 / Behavior - 新增总开关:保存后暂停或恢复提醒,无需重启。关闭时已跟踪的等待项保留在队列中,已到期的等待每 5 分钟重新检查,恢复后在下一次检查继续推送。 / Added a master switch to pause or resume alerts after saving, without a restart. Tracked items stay in the queue; overdue items are checked every five minutes and resume on the next check after re-enabling. - 新增「推送标题」设置(可保存最多 32 字符,实时计数),留空使用默认标题;发送时沿用前 20 个字符,为重复提醒后缀保留空间。 / Added a push-title setting (up to 32 saved characters, live counter); blank restores the default. Delivery retains the first 20 characters to reserve room for repeat-count suffixes. - 设置页底部说明本机加密存储,不向配置或状态接口暴露本机绝对目录。 / The footer explains encrypted local storage without exposing absolute state-directory paths in configuration or status responses. - 中英文文案补充了错误提示(密钥/代理/分钟数/链接/标题非法)与保存、测试状态。 / Added localized error copy (invalid key, proxy, minutes, URL, title) and save/test states. ### 工程 / Internals - 客户端构建支持 CSS Modules(稳定哈希类名 + 按插件作用域注入 `