couchbase-promises
Advanced tools
Changelog
4.0.0
The Bucket.prototype.getMultiAsync()
method now resolves with a new summary object, and will not reject if any key fails.
Removing most EventEmitter
methods, as the native Couchbase Bucket
class no longer exposes the following:
Bucket.prototype.eventNames()
Bucket.prototype.prependListener()
Bucket.prototype.prependOnceListener()
couchbase
to the latest version (2.3.0).Changelog
3.0.1
couchbase
Mock library uses options
provided to mutation methods in a very strange way. It adds a haskey
property to the provided options
argument, which is then used for get operations. This causes a problem if you reuse the options object. This change clones the options
object so that your unit tests work as expected.Changelog
3.0.0
The Bucket.prototype.insertMultiAsync()
and Bucket.prototype.removeMultiAsync()
methods now have different contracts, and support different options
for each entry.
Removing deprecated methods MutateInBuilder.prototype.addUnique()
, MutateInBuilder.prototype.pushBack()
, and MutateInBuilder.prototype.pushFront()
.
New Features
Promise
library.
couchbase.Promise
.couchbase.setPromiseLib()
.couchbase.revertPromiseLib()
.Bucket
as an EventEmitter
.
Bucket.prototype.addListener()
.Bucket.prototype.emit()
.Bucket.prototype.eventNames()
.Bucket.prototype.getMaxListeners()
.Bucket.prototype.listenerCount()
.Bucket.prototype.listeners()
.Bucket.prototype.on()
.Bucket.prototype.once()
.Bucket.prototype.prependListener()
.Bucket.prototype.prependOnceListener()
.Bucket.prototype.removeAllListeners()
.Bucket.prototype.removeListener()
.Bucket.prototype.setMaxListeners()
.Bucket
to support new data structures list, map, queue, and set.
Bucket.prototype.listAppend()
.Bucket.prototype.listAppendAsync()
.Bucket.prototype.listGet()
.Bucket.prototype.listGetAsync()
.Bucket.prototype.listPrepend()
.Bucket.prototype.listPrependAsync()
.Bucket.prototype.listRemove()
.Bucket.prototype.listRemoveAsync()
.Bucket.prototype.listSet()
.Bucket.prototype.listSetAsync()
.Bucket.prototype.listSize()
.Bucket.prototype.listSizeAsync()
.Bucket.prototype.mapAdd()
.Bucket.prototype.mapAddAsync()
.Bucket.prototype.mapGet()
.Bucket.prototype.mapGetAsync()
.Bucket.prototype.mapRemove()
.Bucket.prototype.mapRemoveAsync()
.Bucket.prototype.mapSize()
.Bucket.prototype.mapSizeAsync()
.Bucket.prototype.queuePop()
.Bucket.prototype.queuePopAsync()
.Bucket.prototype.queuePush()
.Bucket.prototype.queuePushAsync()
.Bucket.prototype.queueSize()
.Bucket.prototype.queueSizeAsync()
.Bucket.prototype.setAdd()
.Bucket.prototype.setAddAsync()
.Bucket.prototype.setExists()
.Bucket.prototype.setExistsAsync()
.Bucket.prototype.setRemove()
.Bucket.prototype.setRemoveAsync()
.Bucket.prototype.setSize()
.Bucket.prototype.setSizeAsync()
.Bucket.prototype.appendMultiAsync()
.Bucket.prototype.counterMultiAsync()
.Bucket.prototype.getAndLockMultiAsync()
.Bucket.prototype.getAndTouchMultiAsync()
.Bucket.prototype.getReplicaMultiAsync()
.Bucket.prototype.listAppendMultiAsync()
.Bucket.prototype.listGetMultiAsync()
.Bucket.prototype.listPrependMultiAsync()
.Bucket.prototype.listRemoveMultiAsync()
.Bucket.prototype.listSetMultiAsync()
.Bucket.prototype.listSizeMultiAsync()
.Bucket.prototype.mapAddMultiAsync()
.Bucket.prototype.mapGetMultiAsync()
.Bucket.prototype.mapRemoveMultiAsync()
.Bucket.prototype.mapSizeMultiAsync()
.Bucket.prototype.prependMultiAsync()
.Bucket.prototype.queuePopMultiAsync()
.Bucket.prototype.queuePushMultiAsync()
.Bucket.prototype.queueSizeMultiAsync()
.Bucket.prototype.replaceMultiAsync()
.Bucket.prototype.setAddMultiAsync()
.Bucket.prototype.setExistsMultiAsync()
.Bucket.prototype.setRemoveMultiAsync()
.Bucket.prototype.setSizeMultiAsync()
.Bucket.prototype.touchMultiAsync()
.Bucket.prototype.unlockMultiAsync()
.Bucket.prototype.upsertMultiAsync()
.Bucket.prototype.replaceMultiAsync()
.Bucket.prototype.touchMultiAsync()
.Bucket.prototype.upsertMultiAsync()
.couchbase.CbasQuery
.couchbase.SearchFacet
.couchbase.MutationState
.couchbase.ClassicAuthenticator
.Technical Debt
couchbase
to the latest version (2.2.5).Changelog
2.2.0
Changelog
2.1.0
Bug Fixes
callback
parameter is not getting set correctly.New Features
Bucket.prototype.insertMultiAsync()
.Bucket.prototype.removeMultiAsync()
.Technical Debt
couchbase
to the latest version (2.2.1).