Release notes

Release notes for the 2.0 version of the Node.js SDK.

Version 2.0.2

Version 2.0.2 is a minor patch update to the 2.0 SDK.

Enhancements and behavioral changes

  • JSCBC-159: Prevent segfault when bucket connection fails.
  • Updated internal libcouchbase version to 2.4.4.

Known issues

  • The querying interface for N1QL is currently not capable of streaming rows individually and instead only emits a single callback after all results have been aggregated. This is scheduled to be corrected shortly after the release of DP4 of the N1QL Query Engine.

Version 2.0.1

Version 2.0.1 is a minor patch update to the 2.0 SDK.

Enhancements and behavioral changes

  • Implement performance enhancement by delaying network flush till end of node frame.
  • Fixed issue with performing management operations prior to connection success.
  • Updated all library dependencies to latest versions.
  • Updated internal libcouchbase version to 2.4.3.
  • Fixed issue with N1QL query instantiation.
  • Made binding loader more resilient.
  • Removed references to expiry in append and prepend methods because they are not supported.
  • Clarified querying class documentation.
  • Added further documentation for management operations.

Known issues

  • The querying interface for N1QL is currently not capable of streaming rows individually and instead only emits a single callback after all results have been aggregated. This is scheduled to be corrected shortly after the release of DP4 of the N1QL Query Engine.

Version 2.0.0

Version 2.0.0 is the first GA release of the Node.js SDK version 2.0.

Enhancements and behavioral changes

  • No changes since Beta 4.

Known issues

  • Due to issues with OpenSSL, SSL support is currently disabled.
  • The querying interface for N1QL is currently not capable of streaming rows individually and instead only emits a single callback after all results have been aggregated. This is scheduled to be corrected shortly after the release of DP4 of the N1QL Query Engine.

Version 2.0 Beta 4

Version 2.0 Beta 4 is the second beta release of the Node.js SDK version 2.0. This release includes only minor changes and bug fixes from the previous beta release.

Enhancements and behavioral changes

  • Added support for cross-SDK data storage and retrieval.
  • Minor alterations to management API method names.
  • Fixed numerous minor bugs since beta.

Known issues

  • Due to issues with OpenSSL, SSL support is currently disabled.
  • The querying interface for N1QL is currently not capable of streaming rows individually and instead only emits a single callback after all results have been aggregated. This is scheduled to be corrected shortly after the release of DP4 of the N1QL Query Engine.

Version 2.0 Beta 1

Version 2.0 Beta 1 is the first beta release of the Node.js SDK version 2.0. This release includes new documentation, new API reference, and a tested interface that represents all committed features. Various uncommitted and experimental features might change prior to the final release of version 2.0.0.

Enhancements and behavioral changes

  • A new API has been developed for this new release. This includes a more developer-friendly CRUD operation interface, improvements regarding view and N1QL queries, and an enhanced cluster and bucket management interface. See the documentation and API Reference for further details.
  • The view querying interface has been rewritten to permit streaming of rows as they are available rather than waiting for the whole result set before dispatching.
  • Many of the bulk operation methods have been removed (except for getMulti). These operations were previously available primarily for performance reasons, however this performance benefit has now been integrated into all operations.
  • The API Reference has been revamped to provide many more details regarding all events, classes and their methods.
  • Numerous performance enhancements have been made within the underlying library, libcouchbase, which powers the Node.js SDK.

Known issues

  • Due to changes in the handling of document metadata, it is imperative that in mixed-version environments, all Node.js clients must be upgraded to a minimum of version 1.2.4 prior to deploying any 2.0.0 clients.
  • The built-in Mock testing interface has been updated to match the new API changes, however, the view mocking engine has not yet been ported. This means attempts to execute view queries against Mock will currently fail with a "not supported" exception. This will be ported prior to the GA release of 2.0.0.
  • The querying interface for N1QL is currently not capable of streaming rows individually and instead only emits a single callback after all results have been aggregated. This is scheduled to be corrected shortly after the release of DP4 of the N1QL Query Engine.
  • Specifying an incorrect number of servers for replica read or durability requirements will cause the operation to time out rather than emitting an error as intended. This is expected to be fixed following the libcouchbase 2.4.1 release.