The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Bug with double slashes when using enterprise URL.
- Support for JWT authentication
- API for Organization\Members
- API for Integrations
- API for Repo\Cards
- API for Repo\Columns
- API for Repo\Projects
- API for User\MyRepositories
- Methods in Repo API for frequency and participation
ApiLimitExceedException::__construct
has a new second parameter for the remaining API calls.- First parameter of
Github\Client
has changed type from\Http\Client\HttpClient
toGithub\HttpClient\Builder
. A factory class was also added. To upgrade you need to change:
// Old way does not work:
$github = new Github\Client($httpClient);
// New way will work:
$github = new Github\Client(new Github\HttpClient\Builder($httpClient));
$github = Github\Client::createWithHttpClient($httpClient);
- Renamed the currentuser
DeployKeys
api class toPublicKeys
to reflect to github api name.
- HTTPlug to decouple from Guzzle
Github\Client::getLastResponse
was added- Support for PSR-6 cache
Github\Client::addPlugin
andGithub\Client::removePlugin
Github\Client::getApiVersion
Github\Client::removeCache
- Uses of
Github\HttpClient\HttpClientInterface
is replaced byHttp\Client\HttpClient
ie the constructor ofGithub\Client
. - We use PSR-7's representation of HTTP message instead of
Guzzle\Http\Message\Response
andGuzzle\Http\Message\Request
. Github\Client::addHeaders
was added instead ofGithub\Client::setHeaders
- Signature of
Github\Client::useCache
has changed. First argument must be aCacheItemPoolInterface
- We use PSR-4 instead of PSR-0
- Support for PHP 5.3 and 5.4
Github/HttpClient/HttpClientInterface
was removedGithub/HttpClient/HttpClient
was removed- All classes in
Github/HttpClient/HttpClient/Listener/*
were removed Github/HttpClient/CachedHttpClient
was removed- All classes in
Github/HttpClient/Cache/*
were removed
No change log before this version