v0.36.0
stephenplusplus
released this
10 Jun 19:12
·
22581 commits
to main
since this release
Updating
$ npm install gcloud@0.36.0
⚠️ Breaking Changes
Compute: An empty protocol array for createFirewall
now means "don't allow this traffic"
Before
gce.createFirewall({
protocols: {
tcp: []
}
}, function(err, operation) {
if (!err) {
// tcp traffic from any port will be allowed.
}
});
After
gce.createFirewall({
protocols: {
tcp: [],
udp: true
}
}, function(err, operation) {
if (!err) {
// tcp traffic will be blocked.
// udp traffic from any port will be allowed.
}
});
Storage: crc32c hardware acceleration disabled by default
Due to npm's habit of printing scary warnings if an optionalDependency fails to install, we have removed the optionalDependency on fast-crc32c
. We will still handle crc32c validation checks when uploading and downloading a file, however the speed difference may be relevant for your application.
To get the performance benefits back, just install fast-crc32c
as a dependency in your project:
$ npm install --save fast-crc32c
Features
Fixes
- Datastore, Logging, Pub/Sub (#1357, #1358): Allow setting
maxRetries
for failed requests. - Logging (9f36a88, 6dfa761): An upstream property name has changed from
projectName
toparent
.
Thank you!
If you catch any regressions, please open an issue. See the Contributing guide for how to get started.