Releases: simivar/riot-php
Releases · simivar/riot-php
🥇 Implement all Lor Ranked v1 endpoints
Added
Riot\API\Version1\LorRanked
classRiot\Collection\PlayerDTOCollection
classRiot\DTO\LeaderboardDTO
classRiot\DTO\PlayerDTO
class
🏥 Implement all Lol Status v3 endpoints
Added
Riot\Tests\APITestCase
classRiot\API\Version3\LolStatus
classRiot\DTO\IncidentDTO
classRiot\DTO\MessageDTO
classRiot\DTO\ServiceDTO
classRiot\DTO\ShardStatusDTO
classRiot\DTO\TranslationDTO
classRiot\Collection\IncidentDTOCollection
classRiot\Collection\MessageDTOCollection
classRiot\Collection\ServiceDTOCollection
classRiot\Collection\TranslationDTOCollection
class
Changed
- All
Riot\Tests\Unit\API
to use newAPITestCase
which adds method to quickly create mock ofConnection
class
🦹 Implement all Champion v3 endpoints
Added
Riot\API\Version3\Champion
classRiot\DTO\ChampionInfoDTO
class
🧗 Implement all Champion Mastery v4 endpoints
Added
ramsey/collection
dependencyRiot\API\Version4\ChampionMastery
classRiot\DTO\ChampionMasteryDTO
classRiot\Collection\ChampionMasteryDTOCollection
class
📒 Implement all Account v1 endpoints
Added
Riot\API\Version1\Account
classRiot\DTO\AccountDTO
classRiot\DTO\ActiveShardDTO
class
❌ 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\BadGatewayException
Riot\Exception\BadRequestException
Riot\Exception\DataNotFoundException
Riot\Exception\ForbiddenException
Riot\Exception\GatewayTimeoutException
Riot\Exception\InternalServerErrorException
Riot\Exception\MethodNotAllowedException
Riot\Exception\RateLimitExceededException
Riot\Exception\ServiceUnavailableException
Riot\Exception\UnauthorizedException
Riot\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