Releases: Aveyara/oauth2-server-php
Releases · Aveyara/oauth2-server-php
Release list
v1.17.0
Maintenance and dependency release. Note: the minimum PHP version was raised, which is a breaking change for consumers still on PHP 8.1.
⚠️ Breaking
- Raised the minimum PHP version to 8.2 (PHP 8.1 is no longer supported).
Dependencies
web-token/jwt-library:^3.3→^4.0predis/predis(dev):^1.1→^3.0phpunit/phpunit(dev):^9→^11,yoast/phpunit-polyfills:^1→^4firebase/php-jwt:^7.0- Replaced
rector/rectorwithphpstan/phpstanin dev dependencies
Improvements
- Enabled PHPStan level 5 (with a baseline for legacy code) and corrected numerous PHPDoc/type annotations across storage interfaces and controllers
- Typed
IdToken::decodeToken()correctly (array<string, mixed>|false) and hardened theaudclaim access inLogoutController - Dropped the dead mcrypt fallback in the token generators
- Ensured
$clientIdis always defined inTokenController::grantAccessToken() - Added test coverage for
JWKSetController
CI / Tooling
- Migrated CI to GitHub Actions with a PHP 8.2–8.5 test matrix
- Fixed the redis connection fallback in the test bootstrap for predis 3.x
Full changelog: v1.16.14...v1.17.0