Skip to content

CheckPause v1.6.1 - Update Notifications Fixed

Choose a tag to compare

@Comet-zzz Comet-zzz released this 17 Sep 13:50
· 43 commits to main since this release

修复了一处静默失效的问题:更新提示始终未能触发。软件读取版本信息时,会优先访问一个国内可用的加速源,而该副本可能滞后十几个小时,导致软件误判为"已是最新版本"而不再提示升级。1.5.4 与 1.6.0 很可能因此未能推送给老用户。 现在两个来源都会读取,并采用版本号更高的一个。

Fixes a silent failure: update notifications never fired. The app read its version manifest from a China-friendly CDN first, and that copy could be many hours stale, so the app believed it was already current and stayed quiet. Releases 1.5.4 and 1.6.0 most likely never reached existing users. Both sources are now consulted and the higher version wins.


🎯 What's Changed

🔔 Update notifications now fire

  • 此前只读取第一个可连接的来源;该来源可能缓存着十几个小时前的版本号,软件据此误判为"已是最新",因此不给出提示。

  • 现在两个来源都会读取,并取版本号更高的一个;任一来源过期,都不会再掩盖新版本。

  • Before: only the first reachable source was read. That source could serve a version number many hours old, so the app concluded it was current and stayed quiet.

  • Now: both sources are read and the higher version wins, so a stale copy can no longer hide a release.

🧪 Three new tests

  • 新增的三个测试覆盖"一个来源过期、另一个来源为新版本"的情形,其中包括本次实际遇到的场景。

  • Three tests now cover the case where one mirror is stale and the other is current, including the exact situation that caused this release.


🛠️ Full Changelog

  • fix(update): consult every mirror and keep the newest version found
  • test(update): cover a stale mirror hiding a newer release
  • chore(version): bump the app version to 1.6.1

⚠️ Breaking Changes

  • 无破坏性变更。但需注意:该修复仅在安装本版本后生效;在此之前,软件仍无法发现新版本。

  • No breaking changes. One caveat: the fix only takes effect once installed. Until then the app still cannot see new releases.


Full Changelog: v1.6.0...v1.6.1

SHA-256: 1A30C9C2E4C4DB2272B2B5BACFA3715401F5757138DF8AF7D143E1A59187674E