π v2.0.0 - Enterprise-Grade HTTP Configuration & Laravel 11+ Compatibility
π Lunar-Fortis v2.0.0 - Major Release
β¨ What's New
π§ Enhanced HTTP Configuration System
- Multi-Status Code Retry Logic: Handles 429, 502, 503, 504 status codes
- Exponential Backoff: Configurable backoff strategies with maximum delay caps
- Connection Recovery: Intelligent network error handling
- Environment-Specific Tuning: Different configurations for dev, staging, and production
π Code Quality Improvements
- β Fixed all PHPStan issues (101β0 errors)
- β Applied modern PHP practices (constructor property promotion)
- β Simplified complex logic (Terminal needsSync method: 23β11 lines)
- β Enhanced type safety with proper annotations
π Laravel 11+ Compatibility
- β Full Laravel 11 & 12 support
- β PHP 8.3 & 8.4 compatibility
- β Comprehensive test coverage (150 tests, 529 assertions)
- β Log facade compatibility fixed for Laravel 11+
π§ New Environment Variables
# Enterprise HTTP Configuration
FORTIS_HTTP_TIMEOUT=30 # Request timeout in seconds
FORTIS_HTTP_RETRY_ATTEMPTS=3 # Number of retry attempts
FORTIS_HTTP_RETRY_DELAY=1000 # Delay between retries (ms)
FORTIS_HTTP_RETRY_CONNECTION=true # Retry on connection errors
FORTIS_HTTP_RETRY_STATUS_CODES="429,502,503,504" # Status codes to retry on
FORTIS_HTTP_RETRY_EXPONENTIAL=false # Use exponential backoff
FORTIS_HTTP_RETRY_MAX_DELAY=10000 # Max delay with exponential backoff (ms)π Breaking Changes
- Laravel 10 support dropped - requires Laravel 11+
- PHP 8.2 support dropped - requires PHP 8.3+
π Migration Guide
From v1.x to v2.0
- Update PHP: Ensure PHP 8.3+
- Update Laravel: Ensure Laravel 11+
- Update dependencies: Run
composer update - Optional: Configure new HTTP retry settings
New Testing Commands
composer test # Run all tests
composer test-coverage # Run with coverage
composer test-parallel # Run in parallel
composer quality # Run format, analyse, testπ― Ready for Production
This release transforms Lunar-Fortis into an enterprise-grade payment integration with:
- Bulletproof HTTP handling for mission-critical applications
- Professional code quality meeting industry standards
- Comprehensive documentation for team development
- Real-world tested reliability and resilience
Perfect for high-traffic e-commerce, mission-critical POS systems, and enterprise payment processing.
π€ Generated with Claude Code