On This Page

Version 2.2.0 - 2.3.7

Couchbase Node.js Release Notes and Archives


Installing the Couchbase Node.js SDK is similar to installing most other Node.js modules. Use npm to install the couchbase module:

$ npm install couchbase

To install an older version, specify the version directly with npm.  For example, to install version 2.2.0:

$ npm install couchbase@2.2.0

When using SSL or to select a custom version of libcouchbase you must install the libcouchbase library and specify the path to the install root on the command line:

$ npm install couchbase --couchbase-root=/opt/libcouchbase-2.6.0

Version 2.3.7 (22 August 2017)

Version 2.3.7 is a maintenance release for the 2.x series.

$ npm install couchbase@2.3.7

API Reference

Fixed Issues

  • JSCBC-406: Enable SSL on built-in libcouchbase build.
  • JSCBC-411: Implemented usage of CouchbaseMock for integrated testing.
  • Various minor bug fixes

Version 2.3.6 (3 August 2017)

Version 2.3.6 is a maintenance release for the 2.x series.

$ npm install couchbase@2.3.6

API Reference

Fixed Issues

  • JSCBC-397: Send view query keys via POST rather than GET.
  • JSCBC-400: Don't include empty data in management errors.
  • JSCBC-393: Implemented domain option on user management APIs.
  • JSCBC-398: Updated to latest libcouchbase (2.7.6).
  • Various minor bug fixes

Version 2.3.5 (12 July 2017)

Version 2.3.5 is a minor release for the 2.x series.

$ npm install couchbase@2.3.5

API Reference

Fixed Issues

  • JSCBC-395: Fixed issue causing buildDeferredIndexes to error.
  • JSCBC-396: Fixed issue where getIndexes returned unexpected indexes.
  • JSCBC-384: Implemented experimental 5.0.0 user management API.
  • JSCBC-386: Fixed issue with subdoc legacy createParents.
  • Various minor bug fixes

Version 2.3.4 (7 June 2017)

Version 2.3.4 is a minor release for the 2.x series.

$ npm install couchbase@2.3.4

API Reference

Fixed Issues

  • JSCBC-342: Added experimental support for extended attributes.
  • JSCBC-365: Added support for new FTS geo and sorting features.
  • JSCBC-381: Fixed subdocument exists returning incorrect results.
  • JSCBC-382: Update to libcouchbase v2.7.5.
  • Updated to latest prebuild installation flow.
  • Various minor bug fixes

Version 2.3.3 (2 May 2017)

Version 2.3.3 is a minor release for the 2.x series.

$ npm install couchbase@2.3.3

API Reference

Fixed Issues

  • JSCBC-356: Implemented an role-based authenticator.
  • JSCBC-368: Updated RBAC user management with new API endpoints.
  • JSCBC-372: Implemented method to allow flushing of the query cache.
  • JSCBC-375: Exposed all libcouchbase error codes to Node.js.
  • JSCBC-371: Update to libcouchbase v2.7.4.
  • Various minor bug fixes

Version 2.3.2 (4 April 2017)

Version 2.3.2 is a minor release for the 2.x series.

$ npm install couchbase@2.3.2

API Reference

Fixed Issues

  • JSCBC-361: Implement experimental role-based user management.
  • JSCBC-363: Update to libcouchbase v2.7.3.
  • Various minor bug fixes

Version 2.3.1 (7 March 2017)

Version 2.3.1 is a minor release for the 2.x series.

$ npm install couchbase@2.3.1

API Reference

Fixed Issues

  • JSCBC-353: Do not corrupt BooleanQuery should value.
  • JSCBC-352: Update to latest dependencies and fix build warnings.
  • JSCBC-358: Update to libcouchbase v2.7.2.
  • Various minor bug fixes

Version 2.3.0 (4 January 2017)

Version 2.3.0 is a server-aligned release for the 2.x series.

$ npm install couchbase@2.3.0

API Reference

Fixed Issues

  • All server 4.6 feature APIs have been moved from uncommitted to committed.
  • JSCBC-343: Updated to libcouchbase 2.7.0.
  • JSCBC-341: Implement latest changes to FTS RFC.
  • Added support for FTS `pretty` option.

Version 2.2.5 (7 December 2016)

Version 2.2.5 is a bug-fix release for the 2.2 serries.

$ npm install couchbase@2.2.5

Fixed Issues

  • JSCBC-340: Added queue data-structure support.
  • JSCBC-328: Fix bug with cluster management error handling.
  • Fixed bug which could cause an infinite recursion.
  • Renamed some data-structures related methods.

Version 2.2.4 (1 November 2016)

Version 2.2.4 is a bug-fix release for the 2.2 series.

$ npm install couchbase@2.2.4

Fixed Issues

  • JSCBC-339: Added experimental support for CBAS.

Version 2.2.3 (4 October 2016)

Version 2.2.3 is a bug-fix release of the 2.2 series.

$ npm install couchbase@2.2.3

Fixed Issues

  • JSCBC-326: Added ability to specify batch size for getMulti.

  • JSCBC-273: Implement data-structures as per current RFC.

  • JSCBC-329: Do not invoke callbacks within callback try-catch blocks.

  • JSCBC-334: Fix incorrect bucket name references in index management API.

  • JSCBC-331: Updated to latest cluster-level-auth RFC.

  • JSCBC-336: Updated to libcouchbase 2.6.3

  • Various minor bug fixes

Version 2.2.2 (2 August 2016)

Version 2.2.2 is a bug-fix release of the 2.2 series.

$ npm install couchbase@2.2.2

Fixed Issues

  • JSCBC-313: Improved documentation of Couchbase Search API.
  • JSCBC-322: Fixed minor API bugs in Couchbase Search API.
  • JSCBC-306: Improve error handling of management operations.
  • JSCBC-316: Fix crash in certain MDS cluster configurations.
  • JSCBC-321: Updated to libcouchbase v2.6.2.
  • Various minor bug fixes

Version 2.2.1 (23 June 2016)

Version 2.2.1 is a minor bug-fix release of the 2.2 series.

$ npm install couchbase@2.2.1

Fixed Issues

  • Corrected incorrect sub-document API method names.

Version 2.2.0 (21 June 2016)

Version 2.2.0 is the first general availability release of the 2.2 series. It adds new features for N1QL query, performance enhancements and supports the developer preview full text search available in Couchbase Server 4.5. A number of these features were added as uncommitted API in the 2.1 series and are now promoted to committed API.

$ npm install couchbase@2.2.0

New Features and Behavioral Changes

  • JSCBC-281: Support for Index Management.
  • JSCBC-274: Support for Sub-Document API.
  • JSCBC-381: Support for Couchbase Server Full Text Search (FTS) Developer Preview.

Fixed Issues

  • JSCBC-306: Bucket management operations do not indicate status code errors.
  • JSCBC-305: Query options consistency and ConsistentWith do not behave as expected with regard to their exclusivity.