You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos/CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
### 4.3.0b3 (Unreleased)
4
4
5
+
>[WARNING]
6
+
>The default `Session` consistency bugfix will impact customers whose database accounts have a `Bounded Staleness` or `Strong`
7
+
> consistency level, and were previously not sending `Session` as a consistency_level parameter when initializing
8
+
> their clients.
9
+
> Default consistency level for the sync and async clients is no longer "Session" and will instead be set to the
10
+
consistency level of the user's cosmos account setting on initialization if not passed during client initialization.
11
+
> Please see [Consistency Levels in Azure Cosmos DB](https://docs.microsoft.com/azure/cosmos-db/consistency-levels)
12
+
> for more details on consistency levels, or the README section on this change [here](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cosmos/azure-cosmos#note-on-client-consistency-levels).
13
+
5
14
#### Features Added
6
15
- Added support for split-proof queries for the async client
When using queries that try to find items based on an **id** value, always make sure you are passing in a string type variable. Azure Cosmos DB only allows string id values and if you use any other datatype, this SDK will return no results and no error messages.
99
99
100
+
## Note on client consistency levels
101
+
102
+
As of release version 4.3.0b3, if a user does not pass in an explicit consistency level to their client initialization,
103
+
their client will use their database account's default level. Previously, the default was being set to `Session` consistency.
104
+
If for some reason you'd like to keep doing this, you can change your client initialization to include the explicit parameter for this like shown:
Currently the features below are **not supported**. For alternatives options, check the **Workarounds** section below.
@@ -114,7 +128,6 @@ Currently the features below are **not supported**. For alternatives options, ch
114
128
* Change Feed: Read from the beggining
115
129
* Change Feed: Pull model
116
130
* Cross-partition ORDER BY for mixed types
117
-
* Cross partition queries do not handle partition splits (410 Gone errors)
118
131
119
132
### Control Plane Limitations:
120
133
@@ -138,7 +151,7 @@ If you want to use Python SDK to perform bulk inserts to Cosmos DB, the best alt
138
151
139
152
### Control Plane Limitations Workaround
140
153
141
-
Typically you can use [Azure Portal](https://portal.azure.com/), [Azure Cosmos DB Resource Provider REST API](https://docs.microsoft.com/rest/api/cosmos-db-resource-provider), [Azure CLI](https://docs.microsoft.com/cli/azure/azure-cli-reference-for-cosmos-db) or [PowerShell](https://docs.microsoft.com/azure/cosmos-db/manage-with-powershell) for the control plane unsupported limitations.
154
+
Typically, you can use [Azure Portal](https://portal.azure.com/), [Azure Cosmos DB Resource Provider REST API](https://docs.microsoft.com/rest/api/cosmos-db-resource-provider), [Azure CLI](https://docs.microsoft.com/cli/azure/azure-cli-reference-for-cosmos-db) or [PowerShell](https://docs.microsoft.com/azure/cosmos-db/manage-with-powershell) for the control plane unsupported limitations.
0 commit comments