This repository was archived by the owner on Aug 30, 2024. It is now read-only.
Releases: cloudant/python-cloudant
Releases · cloudant/python-cloudant
2.15.0 (2021-08-26)
- [NEW] Override
dict.getmethod forCouchDatabaseto addremoteparameter allowing it to retrieve a remote document if specified. - [FIXED] Fixed the documentation for
bookmarks. - [FIXED] Also exit
follow_replicationforfailedstate. - [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
keyparams not justkeys. - [FIXED] Support boolean type for
key,endkey, andstartkeyin 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
Noneaccount name and url override forCloudant.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)
- [FIXED] Set default value for
partitionedparameter to false when creating a design document. - [FIXED] Corrected setting of
partitionedflag forcreate_query_indexrequests. - [FIXED] Added a workaround for installation on Python 2.
2.13.0 (2020-04-16)
- [FIXED] Correctly raise exceptions from
create_databasecalls. - [FIXED] Fix
DeprecationWarningfromcollections.
2.12.0 (2019-03-28)
- [NEW] Added partitioned database support.
- [FIXED] Bug where document context manager performed remote save despite uncaught exceptions being raised inside
withblock. - [FIXED] Fixed parameter type of
selectorin docstring. - [FIXED] Removed internal
Document._document_idproperty to allow a safe use of dict's methods. - [IMPROVED] Performance of
Resultiteration by releasing result objects immediately after they are returned to the client. - [IMPROVED] Updated
Getting startedsection with aget_query_resultexample. - [IMPROVED] Updated
Resultiteration by paginating with views'startkeyand queries'bookmark.
2.11.0 (2019-01-21)
- [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)
- [FIXED] A performance regression deserializing JSON in version 2.10.1.
2.10.1 (2018-11-16)
- [FIXED] Unexpected keyword argument errors when using the library with the
simplejsonmodule present in the environment caused byrequestspreferentially loading it over the systemjsonmodule.
2.10.0 (2018-09-19)
- [NEW] Add custom JSON encoder/decoder option to
Documentconstructor. - [NEW] Add new view parameters,
stableandupdate, as keyword arguments toget_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_sizevalue.
2.9.0 (2018-06-13)
- [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_indexand other query related methods toCouchDatabaseas the_index/_findAPI is available in CouchDB 2.x. - [NEW] Support IAM authentication in replication documents.
- [FIXED] Case where
Documentcontext manager would throw instead of creating a new document if no_idwas provided. - [IMPROVED] Added support for IAM API key in
cloudant_bluemixmethod. - [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)
- [FIXED] Installation failures of 2.8.0 caused by missing VERSION file in distribution.