Skip to content

v1.5.5

Choose a tag to compare

@qiudai0627 qiudai0627 released this 01 Dec 09:02
· 3 commits to main since this release

What's New in v1.5.5

  • Strict Redirect Host Allowlist & Canonical Release URLs (macos/MenuBarApp.swift, windows/tray_widget.pyw): Validates https://github.com / www.github.com hostnames and /qiudai0627/agy-usage/releases/tag/ path prefixes on 302 Location redirects, disables redirects on the REST API fallback, and always constructs canonical GitHub release URLs.
  • In-Flight Re-Entrancy Guards & Unified SemVer Comparison: Disables duplicate update checks while a check or modal alert is active, aligns pre-release and multi-digit SemVer comparison across Swift and Python, and replaces unsolicited clipboard writes on Windows with an explicit 3-button upgrade dialog.
  • Verified Desktop Widget Restart in agy-usage sync (src/cli.py): Stops existing tray_widget.pyw instances on Windows and verifies named-mutex release/re-acquisition (DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP + AGY_USAGE_PORT), verifies AGYUsageMenuBar exit/relaunch on macOS, and propagates non-zero exit codes.
  • Isolated Cross-Platform Regression Tests (tests/test_suite.py): Adds isolated tests for untrusted redirect rejection, Swift/Python SemVer parity, Windows mutex restart states, and symlink-preserving statusline paths.