NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1234 most downloaded on Packagist
GitHub API v3 client
Latest stable
v3.16.1
Last release 3 months ago
18 Aug 2026
Release timing varies
gaps range from 5 weeks to 1.8 years
Most releases are documented
notes for 46 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
93 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Fix handling of 422 responses where errors is a string ( GrahamCampbell ) #1164
Add API to rerequest a check run ( Spea ) #1141
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix implicit nullable types to avoid PHP 8.4 warnings ( eiriksm , acrobat ) #1144
Handle case of GitHub returning 204 No Content in some scenarios ( tomcorbett ) #1135
Allow php-http/cache-plugin v2 ( GrahamCampbell ) #1134
Test against php 8.3 ( sergiy-petrov ) #1124
feat: Support for Organization Runners ( haridarshan , renovate [ bot ]) #1101
Added environment variables & secrets ( Froxz ) #1104
Add vulnerability alerts endpoints ( andreia ) #1096
Add the ability to download raw file, needed when size > 1MB ( genintho ) #1075
Assignees and ReviewRequest (rob006) #1078API rate limit error status can be 403 (matthewnessworthy) #1072
added missing magic method phpdocs for deployments (staabm) #1069
Include optional params parameter for Commits compare method (mountiny) #1053
Boolean private needed to create private repo! (mruell) #1051
Symfony: allow deprecation-contracts version 3 (glaubinix) #1049
refs #955: deprecate Client::AUTH_* constants and replace them with AuthMethod::AUTH_* const (ipalo) #1036
visibility option to repo create (gerdemann) #1038Allow costume accept headers for GraphQL Endpoint. (Necmttn) #1001
Deprecate ResultPager::postFetch method (acrobat) #986
Switch to PSR-17 and remove deprecated code (GrahamCampbell) #888
Deployments: added missing 'delete deployment' endpoint (clxmstaab) #991
[952] doc - Specify lcobucci/jwt version, fix deprecation (amacrobert-meq, acrobat) #953
ExceptionThrower: adjust rate limit detection (glaubinix) #959
Mark some classes as final (acrobat) #954
Add parameters to PullRequest commits method (seanmtaylor) #938
Add support for SSO errors coming from the API (eiriksm) #913
Prepare deprecation of authentication methods (acrobat) #870
Replace deprecated Organization\Teams api calls (lolos) #860
Support the new authorizations API
Fixed bug in handling of validation errors
See the change log for an overview of all changes.
Passing an integer ($page) as 4th arugment in Comments::all() is deprecated. It should be an array.
$parameters to PullRequest::files()Accept headers to Github AppsTagger objectTrees we should check if array_key_exists('sha', $tree) instead of isset to avoid issues with null. (#822)$page) as 4th arugment in Comments::all() is deprecated. It should be an array.See the change log for an overview of all changes.
See the change log for an overview of all changes.
See the change log for an overview of all changes.
See the change log for an overview of all changes.
See the change log for an overview of all changes.
See the change log for an overview of all changes.
See the change log for an overview of all changes.
event when creating review (#723)Key constructor argument (#722)See the change log for on overview of all changes.
See the change log for on overview of all changes.
Github\Api\Repo::transfer()Github\Api\Notification::markThreadRead()Github\Api\Search::topics()Github\ResultPager::fetchAll().See the change log for on overview of all changes.
See the change log for on overview of all changes.
See change log for changes.
See change log for changes.
Github\Api\AbstractApi::setPage() to allow you to set the page on all endpoints.Github\Api\User::following and Github\Api\User::followersGithub\Api\CurrentUser\Emails::allPublic()Github\Api\Search::commits()Github\Api\Miscellaneous\CodeOfConductGithub\Api\Repo::topics()Github\Api\Repo::replaceTopics()PathPrepend plugin where "api/vX" could be duplicated.The following endpoints were deprecated by Github and are also deprecated in the client:
Github\Api\Repo::find()Github\Api\User::find()Github\Api\Issue::find()See change log for changes.
See change log for changes.
fromFile to get GraphQL queries from a file (#628)params to collaborators api calls (#623)body as a required parameter when creating an issue (#624)See change log for changes.
See change log for changes.
Repo::events()$message on Review::dismiss.See change log for changes.
See change log for changes.
Integrations::configure to allow accessing early access program endpoints.CurrentUser::installations)Repo::showById)CurrentUser::repositoriesByInstallation)PullRequest\Review and PullRequest\ReviewRequest is now part of the official API. No need to call configure.See change log for changes.
See change log for changes.
PullRequest::statusPullRequest::merge when wrong merge method is used.Protection::configureIntegrations::listRepositories() is now optional.See change log for changes.
See change log for changes.
User::starred.configure() to return $this.configure() support for issues API.User::all() creates a query with double question marks.See change log for changes.
See change log for changes.
Nothing published for this version
Methods in Repo API for frequency and participation
ApiLimitExceedException::__construct has a new second parameter for the remaining API calls.Github\Client has changed type from \Http\Client\HttpClient to
Github\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);
DeployKeys api class to PublicKeys to reflect to github api name.HTTPlug to decouple from Guzzle
Github\Client::getLastResponse was addedGithub\Client::addPlugin and Github\Client::removePluginGithub\Client::getApiVersionGithub\Client::removeCacheGithub\HttpClient\HttpClientInterface is replaced by Http\Client\HttpClient ie the constructor of Github\Client.Guzzle\Http\Message\Response and Guzzle\Http\Message\Request.Github\Client::addHeaders was added instead of Github\Client::setHeadersGithub\Client::useCache has changed. First argument must be a CacheItemPoolInterfaceGithub/HttpClient/HttpClientInterface was removedGithub/HttpClient/HttpClient was removedGithub/HttpClient/HttpClient/Listener/* were removedGithub/HttpClient/CachedHttpClient was removedGithub/HttpClient/Cache/* were removedNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
No change log before this version
No change log before this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.