This repository was archived by the owner on Aug 30, 2024. It is now read-only.
Tags: cloudant/python-cloudant
Tags
- [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.
- [NEW] Add custom JSON encoder/decoder option to `Document` construc… …tor. - [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.
- [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.
PreviousNext