Google Cloud PHP v0.40.0
Google Cloud PHP v0.40.0
Thank you to everyone for your help and patience on this release. Please take the time to read and understand this document, particularly if you are using Cloud BigQuery! While we made more breaking changes than normal, we believe they position us well for the future, and we look forward to hearing your feedback!
Cloud Core v1.10.0
Google\Cloud\Core\ServiceBuilder
now throws\Exception
when a service is requested but is not installed. (#682)- Updated retry setting configuration. (#679)
- Added
Google\Cloud\Core\ConcurrencyControlTrait
, used to applyIf-Match
headers to outgoing REST requests. (#634)
Cloud BigQuery v0.3.0
Google\Cloud\BigQuery\BigQueryClient::runQuery()
now polls a job and returns only when the query is complete. (#604)- Added support for etags on Datasets and Tables for concurrency control. (#634)
- ❗ BREAKING CHANGE BigQuery Queries now use Standard SQL by default. (#640)
- Google Cloud PHP's BigQuery client will now generate Job IDs in the client, with optional user-specified prefixes. (#643)
- Added
Google\Cloud\BigQuery\Job::waitUntilComplete()
. It is no longer necessary to poll for job completion. (#642) - The return value of
Google\Cloud\BigQuery\Job::queryResults()
will block when first iterated, or when any rows are accessed. (#642) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\QueryResults::isComplete()
has been marked@internal
. This means it is not intended for use outside of the library. (#642) Google\Cloud\BigQuery\QueryResults
now implementsIteratorAggregate
, and can be iterated over directly. (#642)- Added
CopyJobConfiguration
,ExtractJobConfiguration
,LoadJobConfiguration
,QueryJobConfiguration
classes toGoogle\Cloud\BigQuery
to assist in configuration different types of Jobs. (#686). - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\runQuery()
now usesjobs.insert
instead ofjobs.query
and accepts an instance ofGoogle\Cloud\BigQuery\QueryJobConfiguration
as its first argument. (#642, #686) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\BigQueryClient::runQueryAsJob()
has been removed in favor ofstartQuery()
.startQuery()
accepts an instance ofGoogle\Cloud\BigQuery\QueryJobConfiguration
as its first argument. (#686) - Added
Google\Cloud\BigQuery\Table::startJob()
to start an asynchronous Job. (#686) - Added
Google\Cloud\BigQuery\Table::runJob()
to start a synchronous Job. (#686) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\Table::copy()
now returns an instance ofGoogle\Cloud\BigQuery\CopyJobConfiguration
which can be used withstartJob()
orrunJob()
. (#686) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\Table::export()
has been renamedextract()
now returns an instance ofGoogle\Cloud\BigQuery\ExportJobConfiguration
which can be used withstartJob()
orrunJob()
. (#686) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\Table::load()
now returns an instance ofGoogle\Cloud\BigQuery\LoadJobConfiguration
which can be used withstartJob()
orrunJob()
. (#686) - ❗ BREAKING CHANGE
Google\Cloud\BigQuery\Table::loadFromStorage()
now returns an instance ofGoogle\Cloud\BigQuery\LoadJobConfiguration
which can be used withstartJob()
orrunJob()
. (#686) Google\Cloud\BigQuery\Table::insertRows()
now supports an optional configuration option,$options.autoCreate
, which, if enabled, will attempt to automatically create the table if it does not exist. (#686)
Cloud DLP v0.2.0
- Refreshed GAPIC Client Documentation (#677)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Error Reporting v0.5.0
- Renamed internal references to
$psrBatchLogger
to$psrLogger
. (#690) - Exception handler now reports service and version. (#689)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Language v0.6.0
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679, #707)
Cloud Logging v1.5.0
- Refreshed GAPIC Client Documentation (#677)
- Fixed a bug with PSR log levels in gRPC transport. (#684)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Monitoring v0.5.0
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Pub/Sub v0.8.0
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Spanner v0.7.0
- Refreshed GAPIC Client Documentation (#677)
- Implemented automatic downsizing of session pool when request volume does not necessitate a full pool. (#646)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)
Cloud Speech v0.8.0
- Refreshed GAPIC Client Documentation (#677)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679, #707)
Cloud Storage v1.2.0
- Introduced support for Pub/Sub Notifications. (#680)
- Added support for requester pays and requester project to remaining methods. (#694)
- Added
projectId()
method toGoogle\Cloud\Storage\Connection\Rest
. (#681)
Cloud VideoIntelligence v0.5.0
- Refreshed GAPIC Client Documentation (#677)
- Refreshed GAPIC Client and updated dependency version to latest releases of
google/gax
andgoogle/proto-client
. (#679)