v2.4.2
Pre-release
Pre-release
π XC_VM v2.4.2
β¨ New Features
- Added per-server version rollback from the panel (Functionality not tested) β administrators can now roll back individual servers to a previous XC_VM version directly from the admin interface.
- Added typed
SettingsManageraccessors for safer and more consistent configuration access across the codebase. - Added
RequestManager::has()and improved request parameter handling through centralizedRequestManager::get()andhas()methods. - Added incremental development deployment with the new
sync-dev.shtool. - Added JSON export support to listing pages alongside CSV export.
π Streaming Improvements
- Improved HLS connection tracking β connections are now deduplicated by player instead of by individual request UUID, preventing duplicate live connection records.
- Applied HTTP reconnect handling to all live sources, not only LLOD streams.
- Hardened Redis teardown and live connection handling, including protection against missing
hmac_idvalues. - Moved the
xc_fanoutkeepalive log outside cron-swept temporary directories to prevent accidental log removal.
π Admin & Panel Improvements
- Fixed initialization of
$rKeyCountduring live-connections refresh operations. - Fixed CSV export functionality on listing pages.
- Added JSON export support for listing pages.
- Resolved runtime errors and undefined-key/null warnings reported by the panel error log.
π§ Ministra Fixes
- Fixed STB redirect loops involving
server/load.php. - Restored compatibility behavior for STB type and firmware
cut_offhandling by keeping the feature disabled by default, consistent with v2.3.9. - Changed empty Allowed STB Types behavior to allow all STB types instead of blocking access.
β»οΈ Architecture & Refactoring
- Replaced per-scope bootstrap include pairs with dedicated
ScopeBootstrapclasses. - Migrated configuration access across Core, Domain, Infrastructure, CLI, Public, API, and VOD code to typed
SettingsManageraccessors. - Improved CLI configuration access and reduced repeated reads in hot paths.
- Centralized request parameter access through
RequestManager. - Added property and parameter type declarations in API components.
- Removed redundant
require_oncecalls for classes already handled by PSR-4 autoloading. - Optimized Redis handler access and configuration reads.
π Bug Fixes
- Resolved all remaining PHPStan errors and removed the previously frozen baseline.
- Fixed multiple undefined-key and null-access warnings surfaced through panel error logs.
- Fixed runtime errors discovered after the v2.4.1 release.
- Improved safety of Redis connection cleanup and teardown.
- Fixed HLS live connection duplication.
- Fixed HTTP reconnect behavior for non-LLOD live sources.
- Fixed CSV export issues.
π Documentation
- Improved Russian documentation generation by translating bold spans atomically.
- Added automatic cleanup of orphaned Russian documentation pages.
- Audited development documentation for source drift.
- Split oversized documentation pages for better maintainability.
- Added documentation covering core wiring.
- Updated the release preparation checklist.
- Integrated documentation builds into the validation process.
XC_VM v2.4.2 focuses on stability, code quality, and administration. This release adds per-server rollback, typed configuration access, improved request handling and export functionality, while resolving all PHPStan issues and addressing multiple runtime, streaming, Redis, and Ministra-related bugs.