Skip to content

Latest commit

 

History

History
196 lines (160 loc) · 8.34 KB

CHANGELOG.md

File metadata and controls

196 lines (160 loc) · 8.34 KB

Change Log

4.0

4.4.0

  • New Features
    • Adding new methods to ClusterManager
      • Adding method ClusterManager.prototype.getUser()
      • Adding method ClusterManager.prototype.getUserAsync()
      • Adding method ClusterManager.prototype.getUsers()
      • Adding method ClusterManager.prototype.getUsersAsync()
      • Adding method ClusterManager.prototype.removeUser()
      • Adding method ClusterManager.prototype.removeUserAsync()
      • Adding method ClusterManager.prototype.upsertUser()
      • Adding method ClusterManager.prototype.upsertUserAsync()

4.3.0

+ Updating `couchbase` version to 2.4.0.

4.2.0

  • Technical Debt
    • Updating couchbase version to 2.3.4.

4.1.0

  • Technical Debt
    • Updating bluebird version to 3.5.0.

4.0.1

  • Bug Fix
    • Fixing incorrect peer dependency version.

4.0.0

  • Breaking Changes

    • 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()
  • Technical Debt

    • Updating couchbase to the latest version (2.3.0).

3.0

3.0.1

  • Bug Fix
    • The native 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.

3.0.0

  • Breaking Changes

    • 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

    • Adding ability to specify Promise library.
      • Adding read-only property couchbase.Promise.
      • Adding method couchbase.setPromiseLib().
      • Adding method couchbase.revertPromiseLib().
    • Adding support for Bucket as an EventEmitter.
      • Adding method Bucket.prototype.addListener().
      • Adding method Bucket.prototype.emit().
      • Adding method Bucket.prototype.eventNames().
      • Adding method Bucket.prototype.getMaxListeners().
      • Adding method Bucket.prototype.listenerCount().
      • Adding method Bucket.prototype.listeners().
      • Adding method Bucket.prototype.on().
      • Adding method Bucket.prototype.once().
      • Adding method Bucket.prototype.prependListener().
      • Adding method Bucket.prototype.prependOnceListener().
      • Adding method Bucket.prototype.removeAllListeners().
      • Adding method Bucket.prototype.removeListener().
      • Adding method Bucket.prototype.setMaxListeners().
    • Adding new methods to Bucket to support new data structures list, map, queue, and set.
      • Adding method Bucket.prototype.listAppend().
      • Adding method Bucket.prototype.listAppendAsync().
      • Adding method Bucket.prototype.listGet().
      • Adding method Bucket.prototype.listGetAsync().
      • Adding method Bucket.prototype.listPrepend().
      • Adding method Bucket.prototype.listPrependAsync().
      • Adding method Bucket.prototype.listRemove().
      • Adding method Bucket.prototype.listRemoveAsync().
      • Adding method Bucket.prototype.listSet().
      • Adding method Bucket.prototype.listSetAsync().
      • Adding method Bucket.prototype.listSize().
      • Adding method Bucket.prototype.listSizeAsync().
      • Adding method Bucket.prototype.mapAdd().
      • Adding method Bucket.prototype.mapAddAsync().
      • Adding method Bucket.prototype.mapGet().
      • Adding method Bucket.prototype.mapGetAsync().
      • Adding method Bucket.prototype.mapRemove().
      • Adding method Bucket.prototype.mapRemoveAsync().
      • Adding method Bucket.prototype.mapSize().
      • Adding method Bucket.prototype.mapSizeAsync().
      • Adding method Bucket.prototype.queuePop().
      • Adding method Bucket.prototype.queuePopAsync().
      • Adding method Bucket.prototype.queuePush().
      • Adding method Bucket.prototype.queuePushAsync().
      • Adding method Bucket.prototype.queueSize().
      • Adding method Bucket.prototype.queueSizeAsync().
      • Adding method Bucket.prototype.setAdd().
      • Adding method Bucket.prototype.setAddAsync().
      • Adding method Bucket.prototype.setExists().
      • Adding method Bucket.prototype.setExistsAsync().
      • Adding method Bucket.prototype.setRemove().
      • Adding method Bucket.prototype.setRemoveAsync().
      • Adding method Bucket.prototype.setSize().
      • Adding method Bucket.prototype.setSizeAsync().
    • Enhancing support for multi operations:
      • Adding method Bucket.prototype.appendMultiAsync().
      • Adding method Bucket.prototype.counterMultiAsync().
      • Adding method Bucket.prototype.getAndLockMultiAsync().
      • Adding method Bucket.prototype.getAndTouchMultiAsync().
      • Adding method Bucket.prototype.getReplicaMultiAsync().
      • Adding method Bucket.prototype.listAppendMultiAsync().
      • Adding method Bucket.prototype.listGetMultiAsync().
      • Adding method Bucket.prototype.listPrependMultiAsync().
      • Adding method Bucket.prototype.listRemoveMultiAsync().
      • Adding method Bucket.prototype.listSetMultiAsync().
      • Adding method Bucket.prototype.listSizeMultiAsync().
      • Adding method Bucket.prototype.mapAddMultiAsync().
      • Adding method Bucket.prototype.mapGetMultiAsync().
      • Adding method Bucket.prototype.mapRemoveMultiAsync().
      • Adding method Bucket.prototype.mapSizeMultiAsync().
      • Adding method Bucket.prototype.prependMultiAsync().
      • Adding method Bucket.prototype.queuePopMultiAsync().
      • Adding method Bucket.prototype.queuePushMultiAsync().
      • Adding method Bucket.prototype.queueSizeMultiAsync().
      • Adding method Bucket.prototype.replaceMultiAsync().
      • Adding method Bucket.prototype.setAddMultiAsync().
      • Adding method Bucket.prototype.setExistsMultiAsync().
      • Adding method Bucket.prototype.setRemoveMultiAsync().
      • Adding method Bucket.prototype.setSizeMultiAsync().
      • Adding method Bucket.prototype.touchMultiAsync().
      • Adding method Bucket.prototype.unlockMultiAsync().
      • Adding method Bucket.prototype.upsertMultiAsync().
      • Adding method Bucket.prototype.replaceMultiAsync().
      • Adding method Bucket.prototype.touchMultiAsync().
      • Adding method Bucket.prototype.upsertMultiAsync().
    • Exposing more of the base API:
      • Adding read-only property couchbase.CbasQuery.
      • Adding read-only property couchbase.SearchFacet.
      • Adding read-only property couchbase.MutationState.
      • Adding read-only property couchbase.ClassicAuthenticator.
  • Technical Debt

    • Updating couchbase to the latest version (2.2.5).

2.0

2.2.0

2.1.1

  • Technical Debt
    • Updating couchbase to the latest version (2.2.2).

2.1.0

  • Bug Fixes

    • Fixing bug where callback parameter is not getting set correctly.
  • New Features

    • Adding method Bucket.prototype.insertMultiAsync().
    • Adding method Bucket.prototype.removeMultiAsync().
  • Technical Debt

    • Updating couchbase to the latest version (2.2.1).

2.0.0

  • Bug Fixes

    • Ensuring the proper this context is used when calling promisify.
  • Technical Debt

    • Switching to ES2015 syntax.
    • Updating couchbase to version 2.1.0.

1.0

1.0.1

  • Bug Fixes
    • Fixing a leak of the arguments object to avoid optimizing compiler bailouts.

1.0.0

  • Initial release.