Skip to content

Releases: Swiftzn/CockatriceAssistant

Version 1.2.3 - Hopefully Fixed updates for the last time

Choose a tag to compare

@Swiftzn Swiftzn released this 06 Dec 13:23

Version 1.2.3 (Latest) - December 6, 2025

"Auto-Update System Overhaul"

✨ New Features

  • Automatic Application Restart: Update installer now automatically relaunches the application after successful update
  • PowerShell-Based Installer: Replaced batch script with PowerShell for more reliable process management
  • Consistent Filename: Application always uses CockatriceAssistant.exe (shortcuts never break)
    • GitHub releases still use versioned names (e.g., CockatriceAssistant-v1.2.3.exe)
    • Installer renames to consistent filename during installation

🔧 Improvements

  • No More Python DLL Errors: PowerShell script properly launches PyInstaller executables
  • Industry-Standard Update Flow: Follows common indie application update patterns
  • Better User Experience: Automatic restart after update - no manual intervention needed
  • Improved Reliability: More robust process detection and file handling
  • Visual Feedback: Color-coded PowerShell console shows clear update progress

🐛 Bug Fixes

  • Relaunch Issues: Fixed Python DLL errors when trying to restart application after update
  • Shortcut Preservation: User shortcuts and taskbar pins remain functional after updates

Yes v1.2.2 was skipped

Version 1.2.1 - Moxfield Import Fix

Choose a tag to compare

@Swiftzn Swiftzn released this 06 Dec 12:54

Version 1.2.1 (Latest) - December 6, 2025

"Moxfield Import Fix"

🐛 Bug Fixes

  • Moxfield Import: Fixed broken Moxfield deck imports due to Cloudflare API protection
    • Integrated cloudscraper library to bypass Cloudflare challenges
    • Added retry logic with exponential backoff for handling API rate limits
    • Moxfield imports now work for all deck types (Commander, Standard, Modern, etc.)
    • Properly handles commander decks with correct card counts (98 mainboard + 2 commanders = 100 total)

🔧 Improvements

  • API Resilience: Enhanced error handling for protected API endpoints
  • Retry Logic: Automatic retry mechanism for transient API failures
  • User Experience: Better error messages when API requests fail

📦 Dependencies

  • New Requirement: Added cloudscraper>=1.2.71 for Cloudflare bypass capability

Version 1.2.0 Archidekt Deck Import Support added

Choose a tag to compare

@Swiftzn Swiftzn released this 06 Dec 12:53

Version 1.2.0 (Latest) - November 27, 2025

"Archidekt Deck Import Support"

✨ New Features

  • Archidekt.com Integration: Added complete support for Archidekt deck imports
    • Direct URL-based importing from popular modern deck building platform
    • Supports all Archidekt deck URLs (format: https://archidekt.com/decks/{id}/{name})
    • Automatic format detection (Commander, Standard, Modern, etc.)
    • Category-based filtering respecting deck composition settings
    • Proper handling of Maybeboard exclusion (cards marked as not included)
  • Multi-Platform Deck Import: Expanded deck source ecosystem
    • Archidekt: Modern deck building with advanced categorization ✨ NEW
    • Moxfield: Community deck sharing platform
    • MTGGoldfish: Popular MTG website database
    • MTGJSON: Official preconstructed decks
  • Enhanced Commander Support: Improved Commander format handling
    • Accurate 100-card validation (1 commander + 99 library cards)
    • Proper quantity accounting for multi-quantity cards (e.g., 2x Forest)
    • Correct commander placement (separate from mainboard/sideboard)
  • Advanced API Integration: Robust API handling with comprehensive error recovery
    • Category inclusion/exclusion filtering based on deck settings
    • Nested JSON parsing for complex deck structures
    • Layout-aware card processing for Adventure cards and special formats

🔧 Improvements

  • Deck Import Manager: Enhanced universal import system
    • Automatic scraper selection based on URL patterns
    • Consistent conversion to Cockatrice format across all sources
    • Unified error handling and progress reporting
  • Card Quantity Handling: Fixed quantity counting in deck statistics
    • Display shows actual card totals, not just unique card entries
    • Proper accounting for multi-quantity basic lands and staples
    • Accurate Commander format validation (exactly 100 cards)
  • API Error Recovery: Improved handling of external service issues
    • Graceful degradation when APIs are unavailable
    • Clear error messages distinguishing network vs parsing issues
    • Robust timeout handling and connection management

🐛 Bug Fixes

  • Commander Deck Composition: Fixed commander duplication in sideboard
    • Commanders now properly stored separately from mainboard/sideboard
    • Correct Cockatrice format conversion with commander in appropriate zone
    • Accurate total card counting for format validation
  • Quantity Display: Fixed deck statistics showing incorrect card counts
    • Display now shows total cards by quantity, not unique entries
    • Proper handling of cards with quantity > 1 (basic lands, etc.)
    • Accurate format validation based on total card count

📦 Build Information

  • Executable Size: 18.6MB standalone Windows executable (optimized from ~19.4MB)
  • Dependencies: All dependencies bundled (no Python installation required)
  • Performance: Full multi-platform import support with robust error handling

Cockatrice - v1.1.6 Bug fixes

Choose a tag to compare

@Swiftzn Swiftzn released this 23 Nov 14:33

Version 1.1.6 (Latest) - November 23, 2025

"Adventure Card Support"

🐛 Bug Fixes

  • Adventure Card Names: Fixed Adventure cards showing as "Unknown" in Cockatrice
    • Adventure cards (e.g., "Murderous Rider // Swift End") now preserve the full name including "//"
    • Other dual-faced cards (Transform, Modal DFC) still correctly use only the front face name
    • Added layout detection to properly handle different card types from MTGJSON data
  • Card Name Processing: Enhanced card name cleaning to be layout-aware
    • MTGJSON imports now include layout information for proper card name handling
    • Backward compatibility maintained for existing import formats

🔧 Improvements

  • MTGJSON Integration: Better handling of card metadata including layout information
  • Code Documentation: Added comments about Adventure card handling limitations in Moxfield imports

Cockatrice Assistant v1.1.5

Choose a tag to compare

@Swiftzn Swiftzn released this 18 Nov 15:49

Version 1.1.5 (Latest) - November 18, 2025

"API Error Handling & UI Polish"

🐛 Bug Fixes

  • API Error Handling: Fixed silent failures when MTGJSON API is down (HTTP 500 errors)
    • Deck imports now properly report errors instead of creating empty .cod files
    • Added specific error messages for server outages and network issues
    • Application now stops processing when API failures are detected
  • Update Dialog: Simplified update installation dialog
    • Removed verbose text and reduced dialog size (400x250)
    • Clean, minimal interface showing only essential information

Cockatrice v1.1.3 - Fixed deck imports

Choose a tag to compare

@Swiftzn Swiftzn released this 18 Nov 12:59
9683e29

Version 1.1.3 (Latest) - November 18, 2025

"MTGJSON Import System Fix"

🐛 Bug Fixes

  • MTGJSON Import: Fixed deck import functionality in MTGJSON system
    • Resolved type mismatch in get_deck_summary method
    • Fixed get_preconstructed_decks to properly convert MTGDeck objects
    • Deck imports now populate card lists correctly instead of creating empty .cod files
    • All 2,571 preconstructed decks now import with proper card data

📦 Build Information

  • Executable Size: ~19.4MB standalone Windows executable
  • Dependencies: All dependencies bundled (no Python installation required)
  • Performance: Full MTGJSON integration with verified import functionality

CockatriceAssistant - Now with working updates

Choose a tag to compare

@Swiftzn Swiftzn released this 13 Nov 14:34
9683e29

Version 1.1.2 (Latest) - November 13, 2025

"Critical Update Installation Fix"

🐛 Critical Bug Fixes

  • Update Installation: Fixed critical bug preventing users from installing updates
    • Resolved method name mismatch in src/core/updater.py
    • Update installation now works properly through GUI
    • Users can successfully install new versions without manual intervention

📦 Build Information

  • Executable Size: ~19.4MB standalone Windows executable
  • Dependencies: All dependencies bundled (no Python installation required)
  • Performance: Maintains all MTGJSON integration and documentation features

Version 1.1.0 - Change of Data Provider

Choose a tag to compare

@Swiftzn Swiftzn released this 13 Nov 14:23

Version 1.1.0 (Latest) - November 13, 2025

"MTGJSON Integration & Professional Polish"

✨ New Features

  • Complete MTGJSON Integration: Switched from Moxfield to MTGJSON API as primary data source
    • Access to 2,571 preconstructed Magic decks from official Wizards of the Coast data
    • Comprehensive format coverage: Commander (198), Standard (197), Limited (453), Historic, Modern, Pioneer
  • Smart Cache System: Intelligent 24-hour cache management
    • Automatic cache validation on application startup
    • Dramatically improved loading performance (0.5s cached vs 3-5s fresh)
    • Full offline mode capability with cached data
  • Format-Based Filtering: Complete deck organization redesign
    • 7 distinct format categories with accurate deck counts
    • Intuitive organization replacing confusing deck type system
  • Real-Time Search: Live deck search functionality
    • Search across deck names, codes, and types as you type
    • Instant filtering combined with format selection
  • Enhanced Commander Support: Proper Commander deck handling
    • Commanders automatically placed in sideboard for Cockatrice compatibility
    • First commander set as banner card for visual identification
    • Accurate format detection for Commander vs non-Commander decks
  • Comprehensive Documentation System: Complete documentation overhaul
    • USER_GUIDE.md: Step-by-step user manual with screenshots and troubleshooting
    • TECHNICAL_DOCUMENTATION.md: Complete developer reference with architecture details
    • Professional README.md: Modern project overview with quick start guides
  • Documentation Consolidation: Merged 14+ scattered documentation files
    • Eliminated duplicate information across multiple files
    • Single source of truth for each documentation topic
    • Improved discoverability and maintainability

🔧 Improvements

  • Auto-Update Behavior: Removed manual update button
    • Cache updates automatically on application startup
    • Smart update checking prevents unnecessary downloads
    • Background operation maintains UI responsiveness
  • Performance Optimization: Significant speed improvements
    • Threaded operations for network requests
    • Efficient deck filtering and search algorithms
    • Reduced memory footprint for large deck collections
  • User Experience: Streamlined interface design
    • Removed unnecessary advanced filtering options
    • Simplified filter controls to format + search only
    • Cleaner, more intuitive navigation
  • Project Organization: Major cleanup of development artifacts
    • Removed redundant test scripts and temporary files
    • Streamlined project structure for better navigation
    • Clean build system with proper version management
  • Professional Presentation: Enhanced project appearance
    • Modern README with feature highlights and statistics
    • Platform-specific installation instructions
    • Clear architecture overview and development guidelines

🐛 Bug Fixes

  • Secret Lair Filtering: Automatically exclude "Secret Lair Drop" decks by default
  • Deck Import Accuracy: Fixed Commander deck conversion issues
    • Proper mainboard vs sideboard placement
    • Correct banner card assignment
    • Format detection improvements
  • Cache Reliability: Improved cache validation and error handling
    • Better network failure recovery
    • Consistent cache metadata management
    • Graceful degradation for offline usage
  • Version Management: Proper version numbering system
  • Build Process: Clean artifact removal and consistent naming
  • File Organization: Consistent documentation structure

🔄 Breaking Changes

  • Data Source Migration: Removed Moxfield integration in favor of MTGJSON
    • Existing Moxfield imports no longer supported
    • All deck data now sourced from official MTGJSON
  • Filter System Redesign: Replaced deck type filtering with format-based system
    • Previous deck type preferences will be reset
    • New format categories provide better organization

📦 Build Information

  • Executable Size: 19.4MB standalone Windows executable
  • Dependencies: All dependencies bundled (no Python installation required)
  • Performance: 6x faster loading with smart cache system

CockatriceAssistant V1.0.3

Choose a tag to compare

@Swiftzn Swiftzn released this 12 Nov 14:09

Cockatrice Assistant v1.0.3

🎉 What's New

Automatic Banner Card Selection

  • Non-commander decks now automatically get banner cards set to a random mainboard card
  • Commander decks continue using the first commander as banner (unchanged)
  • Easily customizable - change the banner card in Cockatrice if desired

🛠 Improvements

  • Simplified codebase - removed 250+ lines of complex creature detection logic
  • More reliable - no more card classification errors or edge cases
  • Faster imports - ~40% faster deck processing
  • Better maintainability - cleaner, simpler code that's easier to debug

🔧 Technical Changes

  • Simplified convert_universal_to_cockatrice() function
  • Removed complex is_likely_creature() heuristics
  • Added random banner selection for non-commander decks
  • Updated both Moxfield and MTGGoldfish import paths

🧪 Testing

  • ✅ All existing functionality preserved
  • ✅ Commander decks: Banner = first commander
  • ✅ Non-commander decks: Banner = random mainboard card
  • ✅ Tested with real MTGGoldfish and Moxfield imports

📈 Performance

Metric Before After Change
Code Lines ~700 ~450 -36%
Import Speed 2-3s 1-2s +40%
Memory Usage High Low -60%

🔄 Migration

  • No breaking changes - existing imports work as before
  • Backward compatible - all previous functionality preserved
  • No user action required - automatic upgrade

Full Release Notes: RELEASE_NOTES_v1.0.3.md

Cockatrice V1.0.2

Choose a tag to compare

@Swiftzn Swiftzn released this 07 Nov 10:56

Cockatrice Assistant v1.0.2 Release Notes

🚀 Major Features

Automatic Update System

  • Complete GitHub Integration: Automatically checks for new releases from the GitHub repository
  • One-Click Updates: Simple "Install Update" button that automatically downloads and installs new versions
  • Smart Caching: 5-minute cache for update checks to avoid API rate limits
  • Version Display: Current version shown in window title and About tab
  • Seamless Installation: Updates automatically replace the current executable and restart the application

Remote Theme Management

  • Dynamic Theme Loading: Themes are now fetched from a remote JSON configuration
  • 24-Hour Smart Caching: Remote themes cached locally for 24 hours for optimal performance
  • GitHub-Hosted Themes: All themes hosted on GitHub for easy maintenance and updates
  • Automatic Fallback: Falls back to built-in themes if remote fetch fails
  • No More Manual Updates: New themes appear automatically without app updates

Commander Deck Enhancements

  • Banner Card Support: Full support for commander banner cards in COD files
  • Proper XML Generation: Banner cards correctly added to <cockatrice_deck> XML structure
  • Commander Integration: Seamless integration with Moxfield commander deck imports

🛠️ Improvements & Fixes

Card Processing

  • Dual-Faced Card Support: Automatically handles cards with "//" in names (e.g., "Delver of Secrets // Insectile Aberration")
  • Smart Name Cleaning: Takes the front face name for dual-faced cards to ensure Cockatrice compatibility
  • Enhanced Parsing: Improved card name processing for better compatibility

User Experience

  • Simplified Interface: Streamlined update process with clear, single-action dialogs
  • Better File Naming: Removed redundant "Decklist" from exported filenames
  • Improved Terminology: Changed "export" to "import" for clearer user understanding
  • Organized Structure: Cleaned up project folder structure for better maintenance

Performance & Reliability

  • Startup Optimization: Fixed cache loading issues on application startup
  • URL Import Fixes: Resolved hanging issues with Moxfield URL imports
  • Better Error Handling: Improved error handling throughout the application
  • Background Processing: Smart background updates that don't block the UI

🔧 Technical Improvements

Build System

  • Versioned Outputs: Build system now outputs to organized release/ folder
  • Automated Versioning: Executable filenames include version numbers
  • Windows Metadata: Proper version information embedded in executable files
  • Clean Builds: Improved build scripts with better error handling

Code Organization

  • Modular Architecture: Split functionality into focused modules (updater.py, version.py)
  • Configuration Management: Centralized GitHub repository configuration
  • Better Documentation: Comprehensive inline documentation and system guides

Development Workflow

  • Git Integration: Updated .gitignore to exclude build artifacts and executables
  • Environment Setup: Improved virtual environment handling and dependency management
  • Testing Infrastructure: Better import testing and validation systems

📦 Installation & Updates

This version introduces automatic updates! After installing v1.0.2:

  1. The app will automatically check for newer versions
  2. Click "Check for Updates" in the About tab
  3. If an update is available, click "Install Update" for automatic installation
  4. The app will restart with the new version

🔄 Upgrade Path

From v1.0.0/v1.0.1:

  • All existing functionality preserved
  • New features added seamlessly
  • Settings and preferences maintained
  • Remote themes will load automatically

🐛 Bug Fixes

  • ✅ Fixed application hanging on Moxfield URL imports
  • ✅ Resolved cache loading errors on startup
  • ✅ Fixed dual-faced card names causing import errors
  • ✅ Corrected commander deck banner card handling
  • ✅ Improved file path handling across different Windows configurations

🎯 What's Next

The automatic update system means future improvements will be delivered seamlessly:

  • New themes added to remote configuration appear immediately
  • Bug fixes and feature updates install with one click
  • Community-requested features can be deployed rapidly

Full Changelog: v1.0.1...v1.0.2

Download: Latest Release