This is the latest release of the Couchbase Python SDK. It is written from the ground up based on the Couchbase C library, libcouchbase.
This release is considered beta software, use it at your own risk; let us know if you run into any problems, so we can fix them.
New Features and Behaviour Changes in 0.7.0
Introduced VBucketAwareClient which extends MemcachedClient with Membase/Couchbase specific features.
SDK now requires Python 2.6.
SDK can now handle server restarts/warmups. Can handle functioning Couchbase Server that is loading data from disk after restart.
Set() now works with integer values; fixes PYCBC-15.
Issues: PYCBC-15
Deprecated get_view as it was a
duplicate of view_results.
Added memcached level flush() command
to unify client with other SDKs. Please note this only works
with 1.8.0 without changing settings. See the release notes for
Couchbase 1.8.1 and 2.0.0 for how to enable memcached
flush().
This operation is deprecated as of the 1.8.1 Couchbase Server, to prevent accidental, detrimental data loss. Use of this operation should be done only with extreme caution, and most likely only for test databases as it will delete, item by item, every persisted record as well as destroy all cached data.
Third-party client testing tools may perform a
flush_all() operation as part of
their test scripts. Be aware of the scripts run by your
testing tools and avoid triggering these test cases/operations
unless you are certain they are being performed on your
sample/test database.
Inadvertent use of flush_all() on
production databases, or other data stores you intend to use
will result in permanent loss of data. Moreover the operation
as applied to a large data store will take many hours to
remove persisted records.
Renamed VBucketAwareCouchbaseClient to CouchbaseClient.
Can now create memcached buckets
SDK can now created memcached buckets.
Greater than 50% of SDK covered by unittests; fixes PYCBC-46.
Issues: PYCBC-46
Better handling of topology changes; fixes PYCBC-4.
init_cluster function has been removed.
Globally, logging is no longer disabled; fixes PYCBC-31.
Issues: PYCBC-31
Set() now returns a proper status in the unified Couchbase() client 0.7.0.
Added Apache License headers to all files
Fixed .save() method; fixes MB-5609.
Deprecated Server() in favor of Couchbase() for the unified client name
SDK now working with mixed clusters, including clusters with memcached type buckets.
Deprecating getMulti for pep8-compliant multi-get.