I have added automatic update notifications in the Aphrodite web interface! Users will now be notified when new releases are available, making it easier to stay up-to-date with the latest features and improvements.
What's New
GitHub Release Notifications
- Automatic Update Detection: Aphrodite now checks for new releases automatically
- Smart Notifications: Subtle update badge appears in the sidebar when new versions are available
- Release Notes Integration: View detailed release notes directly in the web UI
- User Control: Choose to update now, skip versions, or be reminded later
Seamless UI Integration
- Non-intrusive Design: Update notifications blend naturally with existing UI
- Modal Interface: Clean, detailed update information with GitHub links
- Responsive Experience: Works perfectly on desktop and mobile devices
Technical Improvements
- Intelligent Caching: 24-hour cache prevents excessive GitHub API calls
- Offline Graceful Handling: Works seamlessly even when GitHub is unavailable
- API Rate Limit Respect: Built-in safeguards to respect GitHub's API limits
- Version Comparison: Smart semantic version comparison for accurate update detection
How It Works
- Automatic Checks: Aphrodite checks GitHub releases once per day
- Visual Indicators: When updates are available, a small badge appears next to the version number
- Detailed Information: Click the notification to see release notes and update options
- Direct Links: Easy access to GitHub releases page for download/installation
User Experience
Normal State: Clean version display (e.g., "v1.4.3")
Update Available: Badge notification (e.g., "v1.4.3 → v1.5.0 🔄 Update")
Modal Details: Release notes, publication date, and action buttons
Installation
Existing Docker Users
# Pull the latest image
docker-compose pull
docker-compose up -d
Local Development
# Pull latest changes
git pull origin main
# Restart your Aphrodite service
# Updates will be available immediately
Technical Details
- New API Endpoints:
/api/version/current
,/api/version/check
,/api/version/info
- Caching Strategy: Local storage + server-side caching for optimal performance
- Error Handling: Graceful fallbacks when network connectivity is limited
- Privacy Focused: No tracking or data collection - only version checking
Future Improvements
This release establishes the foundation for future enhancement notifications and provides a better user experience for staying current with Aphrodite updates.
Compatibility
- Fully Backward Compatible: No breaking changes
- Docker: Works with existing Docker deployments
- Local Installations: Compatible with Python development setups
- Configuration: No additional setup required
Contributing
As always, I welcome contributions! This release includes comprehensive API documentation and clean, maintainable code for future enhancements.