Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
== Changelog ==
= 4.3.0 =
* ENHANCEMENT - update dependencies for Google APIs Client Library.
* COMPATIBILITY - Simple Local Avatars Compatibility replaced with [WP-Stateless - Simple Local Avatars Addon](https://wordpress.org/plugins/wp-stateless-simple-local-avatars-addon/).

= 4.2.1 =
* ENHANCEMENT - updated `wpmetabox/meta-box` library from 5.10.11 to 5.10.15.
* FIX - correctly loads text domain to prevent PHP notices.
Expand Down
4 changes: 4 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 4.3.0
* ENHANCEMENT - update dependencies for Google APIs Client Library.
* COMPATIBILITY - Simple Local Avatars Compatibility replaced with [WP-Stateless - Simple Local Avatars Addon](https://wordpress.org/plugins/wp-stateless-simple-local-avatars-addon/).

#### 4.2.1
* ENHANCEMENT - updated `wpmetabox/meta-box` library from 5.10.11 to 5.10.15.
* FIX - correctly loads text domain to prevent PHP notices.
Expand Down
1,080 changes: 752 additions & 328 deletions lib/Google/composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Google/vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'Rize\\' => array($vendorDir . '/rize/uri-template/src/Rize'),
'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'),
'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'),
'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
Expand Down
2 changes: 1 addition & 1 deletion lib/Google/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ComposerStaticInitbd131085cfdbf47b26d7ae00fe412ae4
),
'Psr\\Log\\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
0 => __DIR__ . '/..' . '/psr/log/src',
),
'Psr\\Http\\Message\\' =>
array (
Expand Down
237 changes: 122 additions & 115 deletions lib/Google/vendor/composer/installed.json

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions lib/Google/vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'google/apiclient',
'pretty_version' => 'dev-latest',
'version' => 'dev-latest',
'reference' => 'e9bccc39abc840b90f13f5054b669f3d2d2fe0df',
'reference' => '5531500eab1459100600be9f30c5795acddde4c6',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -31,34 +31,34 @@
'google/apiclient' => array(
'pretty_version' => 'dev-latest',
'version' => 'dev-latest',
'reference' => 'e9bccc39abc840b90f13f5054b669f3d2d2fe0df',
'reference' => '5531500eab1459100600be9f30c5795acddde4c6',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'google/apiclient-services' => array(
'pretty_version' => 'v0.396.0',
'version' => '0.396.0.0',
'reference' => 'ceb2e432e4326c6775d24f62d554395a1a9ad3dd',
'pretty_version' => 'v0.411.0',
'version' => '0.411.0.0',
'reference' => '3d616fcefdb8e6c598b2d007d4155fe516b91abd',
'type' => 'library',
'install_path' => __DIR__ . '/../google/apiclient-services',
'aliases' => array(),
'dev_requirement' => false,
),
'google/auth' => array(
'pretty_version' => 'v1.42.0',
'version' => '1.42.0.0',
'reference' => '0c25599a91530b5847f129b271c536f75a7563f5',
'pretty_version' => 'v1.47.1',
'version' => '1.47.1.0',
'reference' => 'd7a0a215ec42ca0c8cb40e9ae0c5960aa9a024b7',
'type' => 'library',
'install_path' => __DIR__ . '/../google/auth',
'aliases' => array(),
'dev_requirement' => false,
),
'google/cloud-core' => array(
'pretty_version' => 'v1.60.0',
'version' => '1.60.0.0',
'reference' => '7d63ba4295b799dc63227b6c9daf9dc207650eb4',
'pretty_version' => 'v1.64.0',
'version' => '1.64.0.0',
'reference' => 'f0cc1e5d7626b1b3d9407b2af2368acc7ccf0d85',
'type' => 'library',
'install_path' => __DIR__ . '/../google/cloud-core',
'aliases' => array(),
Expand All @@ -83,9 +83,9 @@
'dev_requirement' => false,
),
'google/gax' => array(
'pretty_version' => 'v1.35.1',
'version' => '1.35.1.0',
'reference' => '336005867c0ca3e2ad95183cf9dd74fa67915dd9',
'pretty_version' => 'v1.36.1',
'version' => '1.36.1.0',
'reference' => 'afdac3bc38a3b17d70668115d7b1a97289ac4d72',
'type' => 'library',
'install_path' => __DIR__ . '/../google/gax',
'aliases' => array(),
Expand All @@ -101,9 +101,9 @@
'dev_requirement' => false,
),
'google/longrunning' => array(
'pretty_version' => '0.4.7',
'version' => '0.4.7.0',
'reference' => '624cabb874c10e5ddc9034c999f724894b70a3d3',
'pretty_version' => '0.6.0',
'version' => '0.6.0.0',
'reference' => '226d3b5166eaa13754cc5e452b37872478e23375',
'type' => 'library',
'install_path' => __DIR__ . '/../google/longrunning',
'aliases' => array(),
Expand All @@ -119,36 +119,36 @@
'dev_requirement' => false,
),
'grpc/grpc' => array(
'pretty_version' => '1.57.0',
'version' => '1.57.0.0',
'reference' => 'b610c42022ed3a22f831439cb93802f2a4502fdf',
'pretty_version' => '1.74.0',
'version' => '1.74.0.0',
'reference' => '32bf4dba256d60d395582fb6e4e8d3936bcdb713',
'type' => 'library',
'install_path' => __DIR__ . '/../grpc/grpc',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
'pretty_version' => '7.9.3',
'version' => '7.9.3.0',
'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
'pretty_version' => '7.10.0',
'version' => '7.10.0.0',
'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/promises' => array(
'pretty_version' => '2.2.0',
'version' => '2.2.0.0',
'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c',
'pretty_version' => '2.3.0',
'version' => '2.3.0.0',
'reference' => '481557b130ef3790cf82b713667b43030dc9c957',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/promises',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.7.1',
'version' => '2.7.1.0',
'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16',
'pretty_version' => '2.8.0',
'version' => '2.8.0.0',
'reference' => '21dc724a0583619cd1652f673303492272778051',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
Expand All @@ -164,9 +164,9 @@
'dev_requirement' => false,
),
'paragonie/constant_time_encoding' => array(
'pretty_version' => 'v3.0.0',
'version' => '3.0.0.0',
'reference' => 'df1e7fde177501eee2037dd159cf04f5f301a512',
'pretty_version' => 'v3.1.3',
'version' => '3.1.3.0',
'reference' => 'd5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77',
'type' => 'library',
'install_path' => __DIR__ . '/../paragonie/constant_time_encoding',
'aliases' => array(),
Expand All @@ -182,9 +182,9 @@
'dev_requirement' => false,
),
'phpseclib/phpseclib' => array(
'pretty_version' => '3.0.43',
'version' => '3.0.43.0',
'reference' => '709ec107af3cb2f385b9617be72af8cf62441d02',
'pretty_version' => '3.0.47',
'version' => '3.0.47.0',
'reference' => '9d6ca36a6c2dd434765b1071b2644a1c683b385d',
'type' => 'library',
'install_path' => __DIR__ . '/../phpseclib/phpseclib',
'aliases' => array(),
Expand Down Expand Up @@ -245,9 +245,9 @@
),
),
'psr/log' => array(
'pretty_version' => '1.1.4',
'version' => '1.1.4.0',
'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
'pretty_version' => '3.0.2',
'version' => '3.0.2.0',
'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/log',
'aliases' => array(),
Expand Down Expand Up @@ -278,9 +278,9 @@
'dev_requirement' => false,
),
'ramsey/uuid' => array(
'pretty_version' => '4.9.0',
'version' => '4.9.0.0',
'reference' => '4e0e23cc785f0724a0e838279a9eb03f28b092a0',
'pretty_version' => '4.9.1',
'version' => '4.9.1.0',
'reference' => '81f941f6f729b1e3ceea61d9d014f8b6c6800440',
'type' => 'library',
'install_path' => __DIR__ . '/../ramsey/uuid',
'aliases' => array(),
Expand All @@ -289,7 +289,7 @@
'rhumsaa/uuid' => array(
'dev_requirement' => false,
'replaced' => array(
0 => '4.9.0',
0 => '4.9.1',
),
),
'rize/uri-template' => array(
Expand All @@ -311,8 +311,8 @@
'dev_requirement' => false,
),
'symfony/polyfill-php81' => array(
'pretty_version' => 'v1.32.0',
'version' => '1.32.0.0',
'pretty_version' => 'v1.33.0',
'version' => '1.33.0.0',
'reference' => '4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/polyfill-php81',
Expand Down
4 changes: 4 additions & 0 deletions lib/Google/vendor/google/apiclient-services/src/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'projection' => [
'location' => 'query',
'type' => 'string',
],
'userProject' => [
'location' => 'query',
'type' => 'string',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
class BucketIpFilter extends \Google\Collection
{
protected $collection_key = 'vpcNetworkSources';
/**
* @var bool
*/
public $allowCrossOrgVpcs;
/**
* @var string
*/
Expand All @@ -29,6 +33,20 @@ class BucketIpFilter extends \Google\Collection
protected $vpcNetworkSourcesType = BucketIpFilterVpcNetworkSources::class;
protected $vpcNetworkSourcesDataType = 'array';

/**
* @param bool
*/
public function setAllowCrossOrgVpcs($allowCrossOrgVpcs)
{
$this->allowCrossOrgVpcs = $allowCrossOrgVpcs;
}
/**
* @return bool
*/
public function getAllowCrossOrgVpcs()
{
return $this->allowCrossOrgVpcs;
}
/**
* @param string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function get($bucket, $folder, $optParams = [])
* @param Folder $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool recursive If true, any parent folder which doesnt exist will
* @opt_param bool recursive If true, any parent folder which doesn't exist will
* be created automatically.
* @return Folder
* @throws \Google\Service\Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ public function listObjects($bucket, $optParams = [])
* match the given value. `ifSourceMetagenerationMatch` and
* `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an
* error for both of them to be set in the request.
* @opt_param string projection Set of properties to return. Defaults to noAcl.
* @opt_param string userProject The project to be billed for this request.
* Required for Requester Pays buckets.
* @return StorageObject
Expand Down
7 changes: 7 additions & 0 deletions lib/Google/vendor/google/auth/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"language": "php",
"distribution_name": "google/auth",
"release_level": "stable",
"client_documentation": "https://cloud.google.com/php/docs/reference/auth/latest",
"library_type": "CORE"
}
21 changes: 10 additions & 11 deletions lib/Google/vendor/google/auth/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# Google Auth Library for PHP

<dl>
<dt>Homepage</dt><dd><a href="http://www.github.com/google/google-auth-library-php">http://www.github.com/google/google-auth-library-php</a></dd>
<dt>Reference Docs</dt><dd><a href="https://googleapis.github.io/google-auth-library-php/main/">https://googleapis.github.io/google-auth-library-php/main/</a></dd>
<dt>Authors</dt>
<dd><a href="mailto:temiola@google.com">Tim Emiola</a></dd>
<dd><a href="mailto:stanleycheung@google.com">Stanley Cheung</a></dd>
<dd><a href="mailto:betterbrent@google.com">Brent Shaffer</a></dd>
<dt>Copyright</dt><dd>Copyright © 2015 Google, Inc.</dd>
<dt>License</dt><dd>Apache 2.0</dd>
</dl>
<a href="https://cloud.google.com/php/docs/reference/auth/latest">Reference Docs</a>

## Description

Expand Down Expand Up @@ -41,6 +32,14 @@ Application Default Credentials provides a simple way to get authorization
credentials for use in calling Google APIs, and is
the recommended approach to authorize calls to Cloud APIs.

**Important**: If you accept a credential configuration (credential JSON/File/Stream) from an
external source for authentication to Google Cloud Platform, you must validate it before providing
it to any Google API or library. Providing an unvalidated credential configuration to Google APIs
can compromise the security of your systems and data. For more information, refer to
[Validate credential configurations from external sources][externally-sourced-credentials].

[externally-sourced-credentials]: https://cloud.google.com/docs/authentication/external/externally-sourced-credentials

### Set up ADC

To use ADC, you must set it up by providing credentials.
Expand Down Expand Up @@ -302,7 +301,7 @@ $middleware = ApplicationDefaultCredentials::getCredentials($scope, cache: $memo

### FileSystemCacheItemPool Cache
The `FileSystemCacheItemPool` class is a `PSR-6` compliant cache that stores its
serialized objects on disk, caching data between processes and making it possible
serialized objects on disk, caching data between processes and making it possible
to use data between different requests.

```php
Expand Down
2 changes: 1 addition & 1 deletion lib/Google/vendor/google/auth/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.42.0
1.47.1
7 changes: 4 additions & 3 deletions lib/Google/vendor/google/auth/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
"type": "library",
"description": "Google Auth Library for PHP",
"keywords": ["google", "oauth2", "authentication"],
"homepage": "http://github.com/google/google-auth-library-php",
"homepage": "https://github.com/google/google-auth-library-php",
"license": "Apache-2.0",
"support": {
"docs": "https://googleapis.github.io/google-auth-library-php/main/"
"docs": "https://cloud.google.com/php/docs/reference/auth/latest"
},
"require": {
"php": "^8.0",
"firebase/php-jwt": "^6.0",
"guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^2.4.5",
"psr/http-message": "^1.1||^2.0",
"psr/cache": "^2.0||^3.0"
"psr/cache": "^2.0||^3.0",
"psr/log": "^3.0"
},
"require-dev": {
"guzzlehttp/promises": "^2.0",
Expand Down
8 changes: 4 additions & 4 deletions lib/Google/vendor/google/auth/src/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class AccessToken
private $cache;

/**
* @param callable $httpHandler [optional] An HTTP Handler to deliver PSR-7 requests.
* @param CacheItemPoolInterface $cache [optional] A PSR-6 compatible cache implementation.
* @param callable|null $httpHandler [optional] An HTTP Handler to deliver PSR-7 requests.
* @param CacheItemPoolInterface|null $cache [optional] A PSR-6 compatible cache implementation.
*/
public function __construct(
callable $httpHandler = null,
CacheItemPoolInterface $cache = null
?callable $httpHandler = null,
?CacheItemPoolInterface $cache = null
) {
$this->httpHandler = $httpHandler
?: HttpHandlerFactory::build(HttpClientCache::getHttpClient());
Expand Down
Loading
Loading