Tags: sunilake/python-cloudant
Tags
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.
2.1.0 ===== - [NEW] Added support for Cloudant Search execution. - [NEW] Added support for Cloudant Search index management. - [NEW] Added support for managing and querying list functions. - [NEW] Added support for managing and querying show functions. - [NEW] Added support for querying update handlers. - [NEW] Added ``rewrites`` accessor property for URL rewriting. - [NEW] Added ``st_indexes`` accessor property for Cloudant Geospatial indexes. - [NEW] Added support for DesignDocument ``_info`` and ``_search_info`` endpoints. - [NEW] Added ``validate_doc_update`` accessor property for update validators. - [NEW] Added support for a custom ``requests.HTTPAdapter`` to be configured using an optional ``adapter`` arg e.g. ``Cloudant(USERNAME, PASSWORD, account=ACCOUNT_NAME, adapter=Replay429Adapter())``. - [IMPROVED] Made the 429 response code backoff optional and configurable. To enable the backoff add an ``adapter`` arg of a ``Replay429Adapter`` with the desired number of retries and initial backoff. To replicate the 2.0.0 behaviour use: ``adapter=Replay429Adapter(retries=10, initialBackoff=0.25)``. If ``retries`` or ``initialBackoff`` are not specified they will default to 3 retries and a 0.25 s initial backoff. - [IMPROVED] Additional error reason details appended to HTTP response message errors. - [FIX] ``415 Client Error: Unsupported Media Type`` when using keys with ``db.all_docs``. - [FIX] Allowed strings as well as lists for search ``group_sort`` arguments.
PreviousNext