Skip to content

Version 2.9.0

Choose a tag to compare

@alies-dev alies-dev released this 09 Mar 19:55
· 29 commits to master since this release
8f97318

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 HttpClientDiscovery with Psr18ClientDiscovery in HttpService.php — if you extend HttpService or rely on php-http/discovery directly (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.ro to the official curs.bnr.ro subdomain 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 @test and @dataProvider annotations; data provider methods are now public static
  • Added composer scriptstest, psalm, cs:fix, cs:check
  • Removed legacy CI configs.scrutinizer.yml, .styleci.yml, .travis.yml
  • Removed unused dependenciessymfony/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