mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-01 20:49:53 +09:00
1.1 KiB
1.1 KiB
UPGRADE from 2.x to 3.0
General
- The
php-http/httplugdependency requires is bumped to minimum ^2.1. - A client implementing
psr/http-client-implementationis required. To upgrade your application (default install) switch from guzzle 6 to guzzle 7 (or replacephp-http/guzzle6-adapterwith 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\ResponseMediatorGithub\HttpClient\Plugin\AuthenticationGithub\HttpClient\Plugin\GithubExceptionThrowerGithub\HttpClient\Plugin\HistoryGithub\HttpClient\Plugin\PathPrepend
Authentication methods
Github\Client::AUTH_URL_TOKENuseGithub\Client::AUTH_ACCESS_TOKENinstead.Github\Client::AUTH_URL_CLIENT_IDuseGithub\Client::AUTH_CLIENT_IDinstead.Github\Client::AUTH_HTTP_TOKENuseGithub\Client::AUTH_ACCESS_TOKENinstead.Github\Client::AUTH_HTTP_PASSWORDuseGithub\Client::AUTH_ACCESS_TOKENinstead.