Skip to content

Tags: smithsz/python-cloudant

Tags

2.6.0

Toggle 2.6.0's commit message
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

Toggle 2.5.0's commit message
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

Toggle 2.4.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
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.1

Toggle 2.3.1's commit message
2.3.1 (2016-11-30)

==================
- [FIXED] Resolved issue where generated UUIDs for replication documents would not be converted to strings.
- [FIXED] Resolved issue where CouchDatabase.infinite_changes() method can cause a stack overflow.

2.3.0

Toggle 2.3.0's commit message
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.2.0

Toggle 2.2.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
2.2.0

=====
- [NEW] Added auto connect feature to the client constructor.

- [FIXED] Requests session is no longer valid after disconnect.

2.1.1

Toggle 2.1.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
2.1.1

=====
- [FIXED] HTTPError is now raised when 4xx or 5xx codes are encountered.

2.1.0

Toggle 2.1.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
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.

2.0.3

Toggle 2.0.3's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
2.0.3

=====
- [FIX] Fixed the python-cloudant readthedocs documentation home page to resolve correctly.

2.0.2

Toggle 2.0.2's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
2.0.2

=====
- [IMPROVED] Updated documentation links from python-cloudant.readthedocs.org to python-cloudant.readthedocs.io.
- [FIX] Fixed issue with Windows platform compatibility,replaced usage of os.uname for the user-agent string.
- [FIX] Fixed readthedocs link in README.rst to resolve to documentation home page.