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
Fix: Allow tuples to be used for hierarchical partition key values. (Azure#38136)
* Fix support for allowing tuples to be used for subapartition
Allows the usage of tuples alongside lists to be used for hierarchical partition key values. Both get serialized to json arrays. Previous behaviour would give an error that a prefix query was attempted which is incorrect behaviour.
* update docstrings
* Update CHANGELOG.md
* Update partition_key.py
* Update partition_key.py
optimization
* Update partition_key.py
* Update partition_key.py
* Update partition_key.py
* Update type hint of partition key
Changes the type hint of partition key to be sequence instead of explicitly tuple and list.
* update version
update version to 4.8.0
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos/CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Release History
2
2
3
-
### 4.7.1 (Unreleased)
3
+
### 4.8.0 (2024-11-12)
4
4
This version and all future versions will support Python 3.13.
5
5
6
6
#### Features Added
@@ -24,6 +24,7 @@ For more information on this, see our README section [here](https://github.com/A
24
24
* Added retry handling logic for DatabaseAccountNotFound exceptions. See [PR 36514](https://github.com/Azure/azure-sdk-for-python/pull/36514).
25
25
* Fixed SDK regex validation that would not allow for item ids to be longer than 255 characters. See [PR 36569](https://github.com/Azure/azure-sdk-for-python/pull/36569).
26
26
* Fixed issue where 'NoneType' object has no attribute error was raised when a session retry happened during a query. See [PR 37578](https://github.com/Azure/azure-sdk-for-python/pull/37578).
27
+
* Fixed issue where passing subpartition partition key values as a tuple in a query would raise an error. See [PR 38136](https://github.com/Azure/azure-sdk-for-python/pull/38136)
27
28
* Batch requests will now be properly considered as Write operation. See [PR 38365](https://github.com/Azure/azure-sdk-for-python/pull/38365).
0 commit comments