Couchbase Node.JS SDK 2.0.0-beta Released!
Originally written by Brett Lawson
We’ve just released a shiney new version of our Node.js SDK, now in Beta. This release reflects a significant amount of change from our previous SDK releases, including a brand new API which should be far easier to get started with and use, better documentation and numerous performance enhancements through our related project, libcouchbase.
New Features
- 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.
New Documentation
We have completely rewritten the documentation to help you get started, check it out here:
http://docs.couchbase.com/prebuilt/node-sdk-2.0-beta/topics/overview.html
We have also significantly expanded on our API reference, which is available here:
http://sdk-snapshots.couchbase.com/nodejs/nodejs_couchbase-2.0.0-beta-docs/index.html
Try it out
You can install it directly through npm by using the “2.0.0-beta” tag like this:
npm install couchbase@2.0.0-beta
This update to the Node.js SDK reflects a significant change to most of the SDK's internals and the overall developer experience. I implore you to check out this latest version, explore the documentation and drop by our Issue Tracker (https://www.couchbase.com/issues/browse/JSCBC) if you encounter anything out of place!
Thanks! Brett
Comments