Nov 17, 2021
Azure Cosmos DB Python SDK for SQL API
If you're developing your next application in python and using Cosmos DB to manage your data, then our recommendation would be to review the latest updates to the SDK release.
Over the past 12 months, we have seen several changes made to the way partitions have been handled within different types of data queries.
Release history
4.2.0
Bug fixes
- Fixed bug where continuation token is not honored when query_iterable is used to get results by page.
- Fixed bug where resource tokens not being honored for document reads and deletes.
New features
- Added support for passing partitionKey while querying Change-Feed.
4.1.0
- Added deprecation warning for "lazy" indexing mode. The backend no longer allows creating containers with this mode and will set them to consistent instead.
New features
- Added the ability to set the analytical storage TTL when creating a new container.
Bug fixes
- Fixed support for dicts as inputs for get_client APIs.
- Fixed Python 2/3 compatibility in query iterators.
- Fixed type hint error.
- Fixed bug where options headers were not added to upsert_item function.
- Fixed error raised when a non-string ID is used in an item. It now raises TypeError rather than AttributeError.
4.0.0
- Stable release.
- Added HttpLoggingPolicy to pipeline to enable passing in a custom logger for request and response headers.
Ref Link
Azure Cosmos DB SQL Python API, SDK & resources | Microsoft Docs