Tags: schferbe/python-cloudant
Tags
- [NEW] Added functionality to test if a key is in a database as in `… …key in db`, overriding dict `__contains__` and checking in the remote database. - [NEW] Moved `create_query_index` and other query related methods to `CouchDatabase` as the `_index`/`_find` API is available in CouchDB 2.x. - [NEW] Support IAM authentication in replication documents. - [FIXED] Case where `Document` context manager would throw instead of creating a new document if no `_id` was provided. - [IMPROVED] Added support for IAM API key in `cloudant_bluemix` method. - [IMPROVED] Shortened length of client URLs by removing username and password. - [IMPROVED] Verified library operation on Python 3.6.3.
- [NEW] Added support for `/_search_disk_size` endpoint which retriev… …es disk size information for a specific search index. - [FIXED] Updated default IBM Cloud Identity and Access Management token URL. - [REMOVED] Removed broken source and target parameters that constantly threw `AttributeError` when creating a replication document.
Merge pull request cloudant#336 from cloudant/prepare-2.7.0-release Prepare for 2.7.0 release
2.6.0 (2017-08-10) - [NEW] Added ``Cloudant.bluemix()`` class method to the Cloudant client allowing service credentials to be passed using the CloudFoundry VCAP_SERVICES environment variable. - [FIXED] Fixed client construction in ``cloudant_bluemix`` context manager. - [FIXED] Fixed validation for feed options to accept zero as a valid value.
2.5.0 (2017-07-06) [FIXED] Fixed crash caused by non-UTF8 chars in design documents. [FIXED] Fixed TypeError when setting revision limits on Python>=3.6. [FIXED] Fixed the exists() double check on client.py and database.py. [FIXED] Fixed Cloudant exception code 409 with 412 when creating a database that already exists. [FIXED] Catch error if throw_on_exists flag is False for creating a document. [FIXED] Fixed /_all_docs call where keys is an empty list. [FIXED] Issue where docs with IDs that sorted lower than 0 were not returned when iterating through _all_docs.
2.4.0 (2017-02-14) ================== - [NEW] Added ``timeout`` option to the client constructor for setting a timeout on a HTTP connection or a response. - [NEW] Added ``cloudant_bluemix`` method to the Cloudant client allowing service credentials to be passed using the CloudFoundry VCAP_SERVICES environment variable. - [IMPROVED] Updated non-response related errors with additional status code and improved error message for easier debugging. All non-response error are handled using either CloudantException or CloudantArgumentError. - [FIXED] Support ``long`` type argument when executing in Python 2.
2.3.0 (2016-11-02) ================== - [FIXED] Resolved issue where the custom JSON encoder was at times not used when transforming data. - [NEW] Added support for managing the database security document through the SecurityDocument class and CouchDatabase convenience method ``get_security_document``. - [NEW] Added ``auto_renewal`` option to the client constructor to handle the automatic renewal of an expired session cookie auth.
PreviousNext