Releases: googleapis/nodejs-pubsub
Releases · googleapis/nodejs-pubsub
v0.13.1
v0.13.0
Features
- #2330 Allow custom endpoints from
options.apiEndpoint
. (Thanks, @mkamioner!)
v0.12.0
v0.11.0
Features
- #2230, #2232: Allow setti
ng a customtimeout
value withtopic.publish()
. (Thanks, @dennismartensson!)
Fixes
- #2242: Set sane defaults for request timeouts.
v0.10.0
v0.9.0
v0.8.1
v0.7.0
⚠️ Breaking Changes!
reuseExisting
option removed
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
- #1653, #1656: Auto-detect
projectId
. See Authentication for more. - #1257, #1799: Auto-generate subscription names.
- #1837, #1843: Return
timestamp
on all message objects. (Thank you very much, @igorclark!)