v0.44.0
stephenplusplus
released this
16 Nov 21:41
·
22459 commits
to main
since this release
Update
$ npm install google-cloud@0.44.0
⚠️ Breaking Changes!
Partial failures are now treated as errors
Some of the methods across our APIs have the possibility of partially failing, as opposed to failing outright. We have been communicated those as separate arguments to your callback, but we've since introduced a custom error type called PartialFailureError
, which is returned as the first err
argument to your callback.
This affects three methods, listed below. Please see their documentation to see how to handle partial failure errors.
- BigQuery's
table.insert()
- Bigtable's
table.insert()
- Vision's
vision.detect()
Fixes
- BigQuery (#1747, #1748): Properly honor
sourceFormat
option ontable.import()
. - Bigtable (#1751, #1752): Properly honor
limit
option ontable.createReadStream()
.
Features
- Pub/Sub (#1744, #1755): Set a custom
pushEndpoint
on a subscription. - Storage (#1749, #1750): Default to crc32c validation for data integrity. (Thanks, @zbjornson!)