Download Latest Version Version 4.5.0 source code.tar.gz (6.6 kB)
Email in envelope

Get an email when there's a new version of Swap

Home / 4.5.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-09 1.2 kB
Version 4.5.0 source code.tar.gz 2026-03-09 6.6 kB
Version 4.5.0 source code.zip 2026-03-09 9.6 kB
Totals: 3 Items   17.4 kB 0

What's Changed

Breaking Changes

  • Minimum PHP version raised to 8.2 (was 7.4/8.0)
  • Minimum PHPUnit version raised to 11.0 (was 9.x/10.x)

Improvements

  • Added suggest section to composer.json for PSR-18 client and PSR-17 factory implementations, guiding users toward compatible HTTP dependencies
  • Improved discovery test — Now verifies discovery works end-to-end by creating a service via Factory

Infrastructure & Tooling

  • Modernized CI pipeline — Replaced Travis CI with GitHub Actions; test matrix 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
  • Migrated all tests to PHPUnit 11 attributes — Replaced @test and @dataProvider annotations
  • Added composer scriptstest, psalm, cs:fix, cs:check
  • Removed legacy CI configs.scrutinizer.yml, .styleci.yml, .travis.yml
  • Updated README badges — Travis badge replaced with GitHub Actions Tests and Psalm badges

Full Changelog: https://github.com/florianv/swap/compare/4.4.0...4.5.0

Source: README.md, updated 2026-03-09