Skip to content

v0.7.2

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Aug 14:26
05ffeec

Major Features

  • Enhanced Version Compatibility System: Implemented comprehensive game version filtering and compatibility checks
    for mod downloads and updates
  • Improved Error Handling: Added graceful handling for non-existent mods with proper 404 response parsing
  • Smart Update Logic: Updates now prioritise version compatibility and only suggest appropriate mod versions for the
    current game version

API & Client Improvements

  • Renamed ApiError to ClientError: Cleaned up error handling architecture for better consistency
  • Generic Function Implementation: Reduced code duplication by making functions more generic where applicable
  • Enhanced Mod Update Logic: Improved version filtering based on detected game version with fallback mechanisms

Configuration & Version Management

  • New Configuration Manager: Implemented dedicated module with improved version detection logic config_manager
  • Game Version API Integration: Added API method for dynamic version mapping fetch_game_versions
  • Fixed Version Mapping Logic: Updated to use index as for proper version correlation tagid

COnfiguration Management

New Configuration Module: Introduced dedicated module with intelligent game version detection. Automatically detects
Vintage Story installations and correlates game versions with API compatibility tags. Stores configuration in
platform-appropriate directories with TOML format. config_manager
Available Commands:

  • config init [--force] - Initialize configuration file
  • config set-path <path> - Set game installation directory
  • config show - Display current settings and detected version
  • config update-versions [--verbose] - Fetch latest version mappings from API
  • config list-versions - Show all supported game versions
  • config validate - Check configuration integrity
  • config reset [--yes] - Reset to defaults
  • config set-game-version <version> - Manual version override

Automatic Integration: Configuration seamlessly integrates with download, update, and search operations.
Automatically filters mod results by detected game version. Updates only suggest compatible mod versions. Search results
pre-filtered for version compatibility.
Version Detection: Multi-step detection process analyzes installation directory, reads version from game files, maps
to API version tags, and maintains local compatibility cache. Provides intelligent fallbacks when exact version matches
unavailable.
Cross-Platform Support: Handles Windows (%APPDATA%), Linux (~/.config), and macOS (
~/Library/Application Support) configuration directories. Validates paths and provides recovery options for corrupted
configurations.

Code Quality & Maintenance

  • Applied Cargo clippy recommendations and formatting
  • Cleaned up Cargo.lock formatting
  • General code cleanup and refactoring