Releases: simivar/riot-php
Releases · simivar/riot-php
🥇 Implement all Lor Ranked v1 endpoints
Added
Riot\API\Version1\LorRankedclassRiot\Collection\PlayerDTOCollectionclassRiot\DTO\LeaderboardDTOclassRiot\DTO\PlayerDTOclass
🏥 Implement all Lol Status v3 endpoints
Added
Riot\Tests\APITestCaseclassRiot\API\Version3\LolStatusclassRiot\DTO\IncidentDTOclassRiot\DTO\MessageDTOclassRiot\DTO\ServiceDTOclassRiot\DTO\ShardStatusDTOclassRiot\DTO\TranslationDTOclassRiot\Collection\IncidentDTOCollectionclassRiot\Collection\MessageDTOCollectionclassRiot\Collection\ServiceDTOCollectionclassRiot\Collection\TranslationDTOCollectionclass
Changed
- All
Riot\Tests\Unit\APIto use newAPITestCasewhich adds method to quickly create mock ofConnectionclass
🦹 Implement all Champion v3 endpoints
Added
Riot\API\Version3\ChampionclassRiot\DTO\ChampionInfoDTOclass
🧗 Implement all Champion Mastery v4 endpoints
Added
ramsey/collectiondependencyRiot\API\Version4\ChampionMasteryclassRiot\DTO\ChampionMasteryDTOclassRiot\Collection\ChampionMasteryDTOCollectionclass
📒 Implement all Account v1 endpoints
Added
Riot\API\Version1\AccountclassRiot\DTO\AccountDTOclassRiot\DTO\ActiveShardDTOclass
❌ Throw Exception on API error
Changed
Riot\Connection::get()and all API endpoint methods no longer can returnnull, instead, Exception respective to the error returned by server is thrown
Added
Riot\Exception\BadGatewayExceptionRiot\Exception\BadRequestExceptionRiot\Exception\DataNotFoundExceptionRiot\Exception\ForbiddenExceptionRiot\Exception\GatewayTimeoutExceptionRiot\Exception\InternalServerErrorExceptionRiot\Exception\MethodNotAllowedExceptionRiot\Exception\RateLimitExceededExceptionRiot\Exception\ServiceUnavailableExceptionRiot\Exception\UnauthorizedExceptionRiot\Exception\UnsupportedMediaTypeException
💯 All Summoner v4 endpoints covered!
Added
Riot\API\Version4\Summoner::getById()Riot\API\Version4\Summoner::getByPuuid()Riot\API\Version4\Summoner::getByAccountId()- covered endpoints list in README file
🎉 First release
- ThirdPartyCodeV4 support
- SummonerV4::getByName support
- QA Github Actions set
- PSR-17 and PSR-18 compatibility