Skip to content

Conversation

@ceritium
Copy link
Contributor

@ceritium ceritium commented Jan 1, 2026

Add automatic and manual version checking capability to stacktodate CLI:

New packages:

  • cmd/lib/versioncheck: GitHub API integration, version comparison, 24h caching
  • cmd/lib/installer: Installation method detection (Homebrew vs binary)

Features:

  • Manual check: stacktodate version --check-updates (fetches from GitHub)
  • Automatic checks: Cache-only checks on init/update/check/push/autodetect commands
  • Install detection: Shows Homebrew or GitHub releases download instructions
  • 24-hour cache TTL with graceful fallback to stale cache on network errors

No new external dependencies used. Comprehensive test coverage (95+ tests). Environment variable support: STD_DISABLE_VERSION_CHECK=1 to disable checks

🤖 Generated with Claude Code

Add automatic and manual version checking capability to stacktodate CLI:

New packages:
- cmd/lib/versioncheck: GitHub API integration, version comparison, 24h caching
- cmd/lib/installer: Installation method detection (Homebrew vs binary)

Features:
- Manual check: stacktodate version --check-updates (fetches from GitHub)
- Automatic checks: Cache-only checks on init/update/check/push/autodetect commands
- Install detection: Shows Homebrew or GitHub releases download instructions
- 24-hour cache TTL with graceful fallback to stale cache on network errors

No new external dependencies used. Comprehensive test coverage (95+ tests).
Environment variable support: STD_DISABLE_VERSION_CHECK=1 to disable checks

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@ceritium ceritium merged commit dcb6e74 into master Jan 1, 2026
2 checks passed
@ceritium ceritium deleted the check-for-updates branch January 1, 2026 18:48
ceritium added a commit that referenced this pull request Jan 2, 2026
Implement version update checking feature
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.

2 participants