Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@romanzipp romanzipp released this 11 Jan 08:02
· 124 commits to master since this release

v4.0.0

Info: v3.0.0 Release changelog & Upgrade guide

Changes

  • Drop support for guzzle/http 6.3
  • Remove cache driver configuration key #72
  • Move romanzipp\Twitch\Helpers\Paginator to romanzipp\Twitch\Objects\Paginator

Exceptions

  • Remove romanzipp\Twitch\Exceptions\RequestRequiresClientIdException
  • Remove romanzipp\Twitch\Exceptions\RequestRequiresClientSecretException
  • Remove romanzipp\Twitch\Exceptions\RequestRequiresRedirectUriException
  • Add romanzipp\Twitch\Exceptions\RequestRequiresAuthenticationException

Result class

All previously public properties are now declared as private. Corresponding getter methods have been added.

Properties

  • Remove romanzipp\Twitch\Result::$success property
  • Change romanzipp\Twitch\Result::$exception visibility from public to private
  • Change romanzipp\Twitch\Result::$data visibility from public to private
  • Change romanzipp\Twitch\Result::$total visibility from public to private
  • Change romanzipp\Twitch\Result::$status visibility from public to private
  • Change romanzipp\Twitch\Result::$pagination visibility from public to private

Methods

  • Change romanzipp\Twitch\Result::status() method name to getStatus()
  • Change romanzipp\Twitch\Result::error() method name to getErrorMessage()
  • Change romanzipp\Twitch\Result::rateLimit() method name to getRateLimit()
  • Add romanzipp\Twitch\Result::getException() method
  • Add romanzipp\Twitch\Result::getTotal() method
  • Add romanzipp\Twitch\Result::getPagination() method
  • Add romanzipp\Twitch\Result::getPaginator() method