Company
Date Published
Author
Brett Lawson, Principal Software Engineer, Couchbase
Word count
871
Language
English
Hacker News points
None

Summary

The author of the text is excited to announce the release of Alpha versions of their upcoming Node.js 3.0 SDK, which aims to provide stable and cross-compatible APIs while leveraging new features in ECMAScript 6. The new version introduces built-in support for Promises throughout the APIs, enabling non-blocking serially written code using Async/Await features. The Cluster and Bucket objects are also back in SDK 3.0, with improvements in authenticating parameters. Key/Value operations now exist on the Collections level, which is always a member of exactly one scope. Additionally, the SDK introduces Scope and Collections with Developer Preview mode, allowing for more intuitive data access and organization. The querying APIs have also been improved, with N1QL queries scoped to the Cluster object. The release is available through npm, and the author is seeking feedback on Promises and Async/Await support in NodeJS, with no current plan for production availability.