Skip to content

v0.18.30

Choose a tag to compare

@FeatherHunter FeatherHunter released this 19 Oct 15:35
· 52 commits to master since this release

Fixed

  • #219 批量「正在安装…」按钮出现两枚转圈;爱生活本体被强制排在批量面板最后一行:真机(2026-10-19 desktop,爱生活 0.3.73 + 更新器 0.18.29)看到在装按钮左右各一枚旋转指示——单面板主题对任何 [aria-busy="true"] 按钮自带一枚 ::after 转圈,批量在装按钮自己还有一枚 ::before 转圈,两枚叠在同一按钮里;同时用户要求「爱生活本体」作为批量面板第一行,而 orderTargets 一直强制 selfKey 排最后(自更新安全口径),本体只能出现在最后一行。现在:①批量 CSS 对在装按钮显式关掉主题那枚 ::after(content:none;display:none),整屏只保留一枚 ::before 转圈(aria-busy 语义保留,prefers-reduced-motion 照旧关动效);②orderTargets / createBatchSession 新增 selfOrder?: 'last' | 'first'(默认 'last',自更新安全行为不变),createMultiHostUpdate 新增 selfOrder 选项透传到会话创建与追加目标,集成方传 'first' 后本体占第一行。事件契约无变化。
  • 测试:新增 tests/issue-219-self-order-first.test.mjs 4 例(orderTargets 默认最后 / first 第一 / 未知 selfKey 不影响顺序 / 去重;createBatchSession 的 order 与 entries 首行;批量宿主 selfOrder:'first' 时第一行是本体、缺省仍最后;批量 CSS 关停 ::after 且 ::before 转圈只一条);全量 node --test tests/*.test.mjs 1900 例:1899 过 / 0 失败 / 1 跳过;npm run typecheck 与 npm run gate:bilingual 三道硬门禁过。

门禁(发版定格):npm test 1900 例:1899 过 / 0 失败 / 1 跳过(主树 1ef7a47 + 本批发版文件上实测);npm run typecheck 过;npm run gate:bilingual 三道硬门禁过(52 个源文件、411 个 key、17 错误码、20 diag 键,违规 0);npm publish --dry-run 111 文件(dsh-plugin-update@0.18.30,480.2 kB 压缩 / 1.6 MB 解包);gate:bilingual:release 的第四道照旧如实红、非阻断(411 个 key 仍全是 draft: true)。