Skip to content

v0.45.0

Choose a tag to compare

@stephenplusplus stephenplusplus released this 09 Dec 01:01
· 43180 commits to main since this release

Update

$ npm install google-cloud@0.45.0

⚠️ Breaking Changes!

Language: salience and sentiment ranges changed

(#1834, #1836)

salience is now a value between 0.0 and 1.0. sentiment is between -1.0 and 1.0.

Pub/Sub: reuseExisting option removed

(#1257, #1799)

By default, if you provide a subscription name to subscribe(), a subscription with that name will be created, if necessary.

If you don't provide a name, one will be automatically created.

Before

topic.subscribe('my-subscription', { reuseExisting: true }, function(err, subscription) {
  // subscription was either created or re-used
})

After

topic.subscribe('my-subscription', function(err, subscription) {
  // subscription was either created or re-used
})

Vision: API terminology used in face detection response

(#1857, #1858)

Before After
blurry blurred
dark underExposed
hat headwear
happy joy
sad sorrow
mad anger
surprised surprise

Features

Fixes