Company
Date Published
Author
Jeff Morris, Senior Software Engineer, Couchbase
Word count
957
Language
English
Hacker News points
None

Summary

The newly released developer preview, DP3, for Couchbase introduces significant updates with a focus on transforming Couchbase from a key/value store to a document database, which reflects in the revised public API. This update includes methods that now handle document objects instead of key/value pairs, enhancing the ease of use for developers working with JSON documents. Additionally, the CouchbaseCluster instantiation process has been revamped, moving away from a singleton pattern to allow multiple instances, while a new ClusterHelper class serves as a wrapper singleton for those who still require a single instance per AppDomain. The repository has also been relocated from CouchbaseLabs to the official Couchbase GitHub, indicating a more formal adoption of the changes. Although these updates promise improved functionality, the release remains a pre-production version, and feedback is encouraged to refine the final product, with the caution that it should not be used in a production environment due to potential issues in scenarios like failover or rebalance.