---
title: "google/apiclient v2.0.0 Breaking Changes on Packagist"
description: "What each google/apiclient release removed, renamed or changed: 36 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/google/apiclient
last_updated: 2026-12-04
---

# google/apiclient breaking changes

google/apiclient v2.0.0 (February 20, 2024) is its newest release with breaking changes, 36 of them. The first: google/apiclient v2.0.0 requires PHP 5.4 or later. Every breaking API change we have recorded in google/apiclient on Packagist: 36 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v2.20.2`, released December 3, 2026. Apache-2.0 license. [Source repository](https://github.com/googleapis/google-api-php-client)

Its v2.0.0 release requires PHP 5.4 or later. [PHP end of life dates](https://since.dev/calendar/php.md).

## google/apiclient v2.0.0 breaking changes

google/apiclient v2.0.0, released February 20, 2024: 36 breaking changes.

- **Removed**  

PHP 5.4 is now the minimum; use the v1-master branch for PHP 5.2. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `google_api_php_client_autoload`  

google_api_php_client_autoload was removed in google/apiclient v2.0.0 [packagist.org](https://packagist.org/packages/google/apiclient#v2.0.0)
- **Removed** `Google_Auth_Abstract`  

sign and authenticatedRequest are replaced by Google_Client::authorize. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_AppIdentity`  

App Engine credentials are now picked up by useApplicationDefaultCredentials. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_AssertionCredentials`  

Service account credentials must now be loaded with setAuthConfig or application default credentials. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_ComputeEngine`  

Google_Auth_ComputeEngine removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_Exception`  

Google_Auth_Exception removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_LoginTicket`  

verifyIdToken now returns the ID token payload as an array. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_OAuth2`  

Applications calling Google_Client::getAuth are affected; methods on Google_Client are unchanged. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Auth_Simple`  

API key authentication is used automatically when setDeveloperKey is called. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Cache_Abstract`  

Google_Cache_Abstract removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.getAuth`  

Google_Client::getAuth removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.getIo`  

Google_Client::getIo removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.loadServiceAccountJson`  

Use setAuthConfig for the key file and setScopes for the scopes. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.setAuth`  

Google_Client::setAuth removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.setIo`  

Google_Client::setIo removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Client.sign`  

Google_Client::sign replaced by authorize in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Config`  

Google_Config removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Http_Request`  

Google_Http_Request removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_IO_Abstract`  

Google_IO classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_IO_Curl`  

Google_IO classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_IO_Exception`  

Google_IO classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_IO_Stream`  

Google_IO classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Logger_Abstract`  

Google_Logger classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Logger_Exception`  

Google_Logger classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Logger_File`  

Google_Logger classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Logger_Null`  

Google_Logger classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Logger_Psr`  

Google_Logger classes removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Signer_P12`  

Google_Signer_P12 removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Utils`  

Google_Utils removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Removed** `Google_Verifier_Pem`  

Google_Verifier_Pem removed in google/apiclient v2.0.0 [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Behavior changed** `Google_Client.getAccessToken`  

Access tokens are arrays, so encode them with json_encode before storing them as strings. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Behavior changed** `Google_Client.verifyIdToken`  

Read the ID token payload from the returned array instead of getAttributes(). [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Configuration changed**  

Install the library with composer require google/apiclient:\~2.0 and include vendor/autoload.php. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Signature changed** `Google_Client.setLogger`  

Pass an object implementing Psr\\Log\\LoggerInterface to setLogger. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)
- **Signature changed** `Google_Http_MediaFileUpload`  

The $boundary constructor argument was removed. [github.com](https://github.com/google/google-api-php-client/blob/7046e4db49b80c751b5ec12e7644fb67c54276fa/UPGRADING.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
