Skip to content

feat: notify when a new release is available#164

Merged
hieshima merged 3 commits into
TomBadash:masterfrom
hieshima:feat/update-notify
May 14, 2026
Merged

feat: notify when a new release is available#164
hieshima merged 3 commits into
TomBadash:masterfrom
hieshima:feat/update-notify

Conversation

@hieshima
Copy link
Copy Markdown
Collaborator

@hieshima hieshima commented May 14, 2026

Summary

  • Check GitHub Releases for a newer Mouser version without blocking app startup.
  • Add a manual "Check for updates" path and a user-facing notification that opens the GitHub release page.
  • Add a setting to disable automatic update checks while keeping manual checks available.
  • Add tests for version comparison, network failures, malformed responses, disabled automatic checks, and manual checks.

Partially Addresses

  • [Feature] Auto Update #152: adds update discovery and a direct path to the latest release page, but does not perform automatic download, replacement, or installation.

Follow-up Scope

Validation

  • Local tests:
    • python -m pytest tests/test_updater.py tests/test_config.py tests/test_backend.py
    • python -m pytest
    • git diff --check
  • Manual artifact validation should verify that startup remains responsive and the update notification UI does not block normal mouse configuration.

Notes

  • This PR does not download artifacts.
  • This PR does not run installers, package managers, shell replacement scripts, or privilege-escalation helpers.
  • This PR does not change the Release workflow or introduce latest.json.

@hieshima hieshima force-pushed the feat/update-notify branch from d99849e to ebf7bc6 Compare May 14, 2026 01:09
@hieshima hieshima merged commit b8f9206 into TomBadash:master May 14, 2026
1 check passed
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.

1 participant