Skip to content

TLE API 2.0.0

Choose a tag to compare

@ivanstan ivanstan released this 02 Jan 17:44
· 2 commits to master since this release

[2.0.0] - 2026-01-02

Breaking Changes

  • PHP 8.4 Required - Minimum PHP version bumped from 8.0 to 8.4
  • Native Enums - Replaced class-based enums with PHP 8.1+ native enums:
    • OrbitDirectionEnum - now a backed enum with POSIGRADE and RETROGRADE cases
    • SatelliteClassificationEnum - now a backed enum with UNCLASSIFIED, CLASSIFIED, and SECRET cases

Added

  • Sun-Synchronous Orbit Specification - New SunSynchronousOrbitTleSpecification class to identify satellites in sun-synchronous orbits based on nodal precession rate (~0.9856°/day)
  • Configurable tolerance parameter for sun-synchronous orbit detection

Changed

  • Updated PHPUnit from 9.x to 11.x
  • Modernized PHPUnit configuration (phpunit.xml) for PHPUnit 11 compatibility
  • Updated Guzzle HTTP client to ^7.10
  • Improved test scripts in composer.json:
    • composer test - runs tests without coverage
    • composer test:coverage - runs tests with code coverage (requires Xdebug)