1.1 KiB
1.1 KiB
UPGRADE from 2.x to 3.0
General
- The
php-http/httplug
dependency requires is bumped to minimum ^2.1. - A client implementing
psr/http-client-implementation
is required. To upgrade your application (default install) switch from guzzle 6 to guzzle 7 (or replacephp-http/guzzle6-adapter
with anypsr/http-client-implementation
), see the install instructions in the README file - All previous deprecated code in version 2 is removed.
- The following classes are now final
Github\HttpClient\Message\ResponseMediator
Github\HttpClient\Plugin\Authentication
Github\HttpClient\Plugin\GithubExceptionThrower
Github\HttpClient\Plugin\History
Github\HttpClient\Plugin\PathPrepend
Authetication methods
Github\Client::AUTH_URL_TOKEN
useGithub\Client::AUTH_ACCESS_TOKEN
instead.Github\Client::AUTH_URL_CLIENT_ID
useGithub\Client::AUTH_CLIENT_ID
instead.Github\Client::AUTH_HTTP_TOKEN
useGithub\Client::AUTH_ACCESS_TOKEN
instead.Github\Client::AUTH_HTTP_PASSWORD
useGithub\Client::AUTH_ACCESS_TOKEN
instead.