Skip to content

v1.17.0

Latest

Choose a tag to compare

@reb3r reb3r released this 22 Jun 15:39
· 1 commit to main since this release
f1c92f8

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.0
  • predis/predis (dev): ^1.1 → ^3.0
  • phpunit/phpunit (dev): ^9 → ^11, yoast/phpunit-polyfills: ^1 → ^4
  • firebase/php-jwt: ^7.0
  • Replaced rector/rector with phpstan/phpstan in 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 the aud claim access in LogoutController
  • Dropped the dead mcrypt fallback in the token generators
  • Ensured $clientId is always defined in TokenController::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