Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Releases: cloudant/python-cloudant

2.15.0 (2021-08-26)

26 Aug 11:18
662ae9d
Compare
Choose a tag to compare
  • [NEW] Override dict.get method for CouchDatabase to add remote parameter allowing it to retrieve a remote document if specified.
  • [FIXED] Fixed the documentation for bookmarks.
  • [FIXED] Also exit follow_replication for failed state.
  • [FIXED] Fixed result paging for grouped view queries.
  • [FIXED] Incorrect use of username as account name in Cloudant.bluemix().
  • [FIXED] Use custom encoder (if provided) for all view key params not just keys.
  • [FIXED] Support boolean type for key, endkey, and startkey in view requests.
  • [DEPRECATED] This library is now deprecated and will be EOL on Dec 31 2021.
  • [REMOVED] Removed Python 2 compatibility from the supported environments.
  • [IMPROVED] Documented use of None account name and url override for Cloudant.iam().
  • [IMPROVED] - Document IDs and attachment names are now rejected if they could cause an unexpected Cloudant request. We have seen that some applications pass unsantized document IDs to SDK functions (e.g. direct from user requests). In response to this we have updated many functions to reject obviously invalid paths. However, for complete safety applications must still validate that document IDs and attachment names match expected patterns.

2.14.0 (2020-08-17)

18 Aug 12:14
42115fa
Compare
Choose a tag to compare
  • [FIXED] Set default value for partitioned parameter to false when creating a design document.
  • [FIXED] Corrected setting of partitioned flag for create_query_index requests.
  • [FIXED] Added a workaround for installation on Python 2.

2.13.0 (2020-04-16)

16 Apr 15:42
72a2a41
Compare
Choose a tag to compare
  • [FIXED] Correctly raise exceptions from create_database calls.
  • [FIXED] Fix DeprecationWarning from collections.

2.12.0 (2019-03-28)

28 Mar 10:26
7428512
Compare
Choose a tag to compare
  • [NEW] Added partitioned database support.
  • [FIXED] Bug where document context manager performed remote save despite uncaught exceptions being raised inside with block.
  • [FIXED] Fixed parameter type of selector in docstring.
  • [FIXED] Removed internal Document._document_id property to allow a safe use of dict's methods.
  • [IMPROVED] Performance of Result iteration by releasing result objects immediately after they are returned to the client.
  • [IMPROVED] Updated Getting started section with a get_query_result example.
  • [IMPROVED] Updated Result iteration by paginating with views' startkey and queries' bookmark.

2.11.0 (2019-01-21)

21 Jan 17:51
0a7f9f6
Compare
Choose a tag to compare
  • [NEW] Added option for client to authenticate with IAM token server.
  • [FIXED] Updated the default IAM token server URL.

2.10.2 (2018-12-19)

19 Dec 11:01
3de4724
Compare
Choose a tag to compare
  • [FIXED] A performance regression deserializing JSON in version 2.10.1.

2.10.1 (2018-11-16)

16 Nov 15:53
fce9ffd
Compare
Choose a tag to compare
  • [FIXED] Unexpected keyword argument errors when using the library with the simplejson module present in the environment caused by requests preferentially loading it over the system json module.

2.10.0 (2018-09-19)

20 Sep 15:53
5b2d15d
Compare
Choose a tag to compare
  • [NEW] Add custom JSON encoder/decoder option to Document constructor.
  • [NEW] Add new view parameters, stable and update, as keyword arguments to get_view_result.
  • [NEW] Allow arbitrary query parameters to be passed to custom changes filters.
  • [FIXED] Case where an exception was raised after successful retry when using doc.update_field.
  • [FIXED] Removed unnecessary request when retrieving a Result collection that is less than the page_size value.

2.9.0 (2018-06-13)

13 Jun 14:13
77faa9c
Compare
Choose a tag to compare
  • [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.

2.8.1 (2018-02-16)

16 Feb 12:32
9bacf3f
Compare
Choose a tag to compare
  • [FIXED] Installation failures of 2.8.0 caused by missing VERSION file in distribution.