Repository navigation
v2.0.0
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
2.0.0 - 2026-06-04
Added
- IGDB webhook support:
- Webhook management through
IGDB::webhooks()(WebhookService):register(),
all(),find(),delete()andtest(). - Incoming notification handling through
WebhookReceiver(framework-agnostic,
PSR-7), verifying theX-SecretandUser-Agentheaders and parsing the payload. - New
WebhookMethodenum,WebhookandWebhookPayloadvalue objects,
WebhookCollectiontyped collection andWebhookExceptiondomain exception.
- Webhook management through
Changed
- BC Raised the minimum PHP version from
>=8.0to>=8.4. - BC
Token::fromArray()now throws\InvalidArgumentExceptioninstead of
Assert\AssertionFailedException. Behaviour throughAuthentication::obtainToken()
is unchanged (it still throwsAuthenticationException). - Replaced the abandoned
beberlei/assertdependency withwebmozart/assert. - Upgraded Guzzle to
^7.11. - Extracted the shared HTTP logic into an
AbstractRequestbase class. - Made nullable parameter types explicit (
?array $fields = null) for PHP 8.4
compatibility.
Developer experience
- Upgraded dev tooling: PHPUnit
^13, PHPStan^2, PHP_CodeSniffer^4,
slevomat/coding-standard^8.18, grumphp-shim^2.21. - Removed
brianium/paratest(no PHPUnit 13 compatible release); tests now run
through the GrumPHPphpunittask. - Slimmed the Docker image down to
php:8.5-cli-bookwormand cleaned up
docker-compose.yml(this is a library, not a web application).