Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ringo380/inferno
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.1
Choose a base ref
...
head repository: ringo380/inferno
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.0
Choose a head ref
  • 3 commits
  • 43 files changed
  • 1 contributor

Commits on Sep 28, 2025

  1. feat: comprehensive upgrade system with seamless in-interface notific…

    …ations v0.3.0
    
    Implement complete automatic upgrade system with real-time cross-interface notifications:
    
    🚀 Core Features:
    - Background service for automatic GitHub release checking
    - Real-time upgrade notifications across TUI, Web Dashboard, and CLI
    - Seamless WebSocket-based upgrade event broadcasting
    - Platform-specific upgrade handlers (macOS, Linux, Windows)
    - Comprehensive CLI upgrade commands with interactive status
    
    🔧 Technical Implementation:
    - BackgroundUpdateService with configurable check intervals
    - UpgradeManager with cryptographic verification and rollback support
    - Enhanced WebSocket API with upgrade message types and bidirectional communication
    - TUI upgrade management interface with live status updates
    - HTTP REST API endpoints for upgrade operations
    - Automatic service lifecycle management for long-running commands
    
    📋 API Endpoints Added:
    - GET /v1/upgrade/status - Current upgrade status
    - POST /v1/upgrade/check - Force update check
    - POST /v1/upgrade/install - Install available update
    - WebSocket upgrade events for real-time notifications
    
    🎯 User Experience:
    - Zero-interruption background checking
    - Instant notifications when updates are available
    - Cross-interface consistency (same status everywhere)
    - Enterprise-grade reliability with comprehensive error handling
    - Smart service management (only runs for serve/tui/dashboard commands)
    
    💻 Architecture:
    - Trait-based platform upgrade handlers
    - Event-driven architecture with broadcast channels
    - Async-first design with tokio integration
    - Comprehensive error handling and recovery
    - Security-focused with checksum verification
    
    This major release transforms Inferno into a production-ready platform with
    enterprise-grade upgrade capabilities, ensuring users stay current with the
    latest features and security updates seamlessly.
    
    Version: 0.2.1 → 0.3.0
    Files: 41 changed (+1,191/-286 lines)
    ringo380 committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    dc38262 View commit details
    Browse the repository at this point in the history
  2. feat: add contextual upgrade vs fresh install detection

    Enhance upgrade system with intelligent installation context detection:
    
    🔍 Installation Context Detection:
    - Detect previous installations via version files, binary execution, and manifests
    - Differentiate between fresh installs, upgrades, reinstalls, and downgrades
    - Platform-specific configuration and data directory detection
    - Preserve user configuration and data during upgrades
    
    🛠️ Installation Types:
    - FreshInstall: Clean installation with no previous version
    - Upgrade: Update from older version preserving user data
    - Reinstall: Same version installation with data preservation
    - Downgrade: Install older version with compatibility warnings
    
    💾 Data Preservation:
    - Automatic backup creation before upgrades/downgrades
    - Configuration preservation and restoration
    - User data protection during installation process
    - Rollback capability on installation failure
    
    🔧 Smart Installation Behavior:
    - Fresh installs: No backup, clean installation
    - Upgrades: Full backup + data preservation + rollback on failure
    - Reinstalls: Safety backup + data preservation
    - Downgrades: Mandatory backup + compatibility warnings
    
    This ensures releases handle upgrades automatically and contextually,
    providing the appropriate installation behavior based on the detected
    installation state while protecting user data and configuration.
    
    Dependencies: Added dirs crate for platform-specific directory detection
    ringo380 committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    d1aefc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42b5f7b View commit details
    Browse the repository at this point in the history
Loading