Skip to content

v0.7.0

Compare
Choose a tag to compare
@alexander-fenster alexander-fenster released this 08 Dec 21:01
· 1149 commits to main since this release

⚠️ Breaking Changes!

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
})

Features