Version 2.9.0
Breaking Changes
- Minimum PHP version raised to 8.2 (was 7.4/8.0). PHP 8.1 is EOL
- Minimum PHPUnit version raised to 11.0 (was 9.x/10.x)
- Replaced
HttpClientDiscoverywithPsr18ClientDiscoveryinHttpService.php— if you extendHttpServiceor rely onphp-http/discoverydirectly (as a shadow dependency), ensure your HTTP client is discoverable via PSR-18
Bug Fixes
- Fixed National Bank of Romania (BNR) endpoints — Updated API URLs from
www.bnr.roto the officialcurs.bnr.rosubdomain per BNR documentation. The old endpoints may have stopped working or could stop at any time. (#169)
Infrastructure & Tooling
- Modernized CI pipeline — Replaced Travis CI with GitHub Actions; test matrix now covers PHP 8.2, 8.3, 8.4, and 8.5
- Added Psalm static analysis (level 1) with dedicated CI workflow and baseline
- Added backward compatibility check workflow (
bc-check.yml) - Migrated all tests to PHPUnit 11 attributes — Replaced
@testand@dataProviderannotations; data provider methods are nowpublic static - Added composer scripts —
test,psalm,cs:fix,cs:check - Removed legacy CI configs —
.scrutinizer.yml,.styleci.yml,.travis.yml - Removed unused dependencies —
symfony/http-client,php-http/message-factory - Updated README badges — Travis badge replaced with GitHub Actions Tests and Psalm badges
Full Changelog: 2.8.3...2.9.0