Skip to content

Commit fac89ee

Browse files
simorenohdibahlfiazure-sdk
authored
[Cosmos] Merge feature branch into main post release (#43812)
* fix: merging query_items with feed_range and continuation bug fix manually * fix: updating release versions * fix: updating pipeline fix as recommended by Scott Beddall * fix: fixing pylint Issues * Increment version for cosmos releases (#43796) * Increment package version after release of azure-cosmos * Update CHANGELOG for version 4.14.2 changes Reconciliated changelogs across main branch and feature branch release --------- Co-authored-by: Simon Moreno <[email protected]> * Remove query_items_with_feed_ranges_and_pagination function Removed the query_items_with_feed_ranges_and_pagination function, which handled querying items with feed ranges and pagination in the Azure Cosmos sample. * Update document_management_async.py --------- Co-authored-by: dibahlfi <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]>
1 parent fd921d0 commit fac89ee

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

sdk/cosmos/azure-cosmos/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Release History
22

3-
### 4.14.1 (Unreleased)
3+
### 4.14.2 (Unreleased)
44

55
#### Features Added
66
* Added merge support. See [PR 42924](https://github.com/Azure/azure-sdk-for-python/pull/42924).
@@ -9,12 +9,16 @@
99

1010
#### Bugs Fixed
1111
* Fixed bug where customer provided excluded region was not always being honored during certain transient failures. See [PR 43602](https://github.com/Azure/azure-sdk-for-python/pull/43602)
12-
* Fixed bug where queries using `feed_range` and `continuation` options would not work as expected. See [PR 43700](https://github.com/Azure/azure-sdk-for-python/pull/43700).
1312

1413
#### Other Changes
1514
* Further optimized health checks for sync and async clients. See [PR 43339](https://github.com/Azure/azure-sdk-for-python/pull/43339)
1615
* Enhanced logging to ensure when a region is marked unavailable we have the proper context. See [PR 43602](https://github.com/Azure/azure-sdk-for-python/pull/43602)
1716

17+
### 4.14.1 (2025-11-04)
18+
19+
#### Bugs Fixed
20+
* Fixed bug where queries using `feed_range` and `continuation` options would not work as expected. See [PR 43700](https://github.com/Azure/azure-sdk-for-python/pull/43700).
21+
1822
### 4.14.0 (2025-10-13)
1923
This version and all future versions will require Python 3.9+.
2024

sdk/cosmos/azure-cosmos/azure/cosmos/_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,6 @@ def _build_properties_cache(properties: dict[str, Any], container_link: str) ->
948948

949949
def format_pk_range_options(query_options: Mapping[str, Any]) -> dict[str, Any]:
950950
"""Formats the partition key range options to be used internally from the query ones.
951-
952951
:param dict query_options: The query options being used.
953952
:return: The relevant partition key range options.
954953
:rtype: dict

sdk/cosmos/azure-cosmos/azure/cosmos/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
# SOFTWARE.
2121

22-
VERSION = "4.14.1"
22+
VERSION = "4.14.2"

sdk/cosmos/azure-cosmos/samples/document_management.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ def run_sample():
631631
read_items(container)
632632
query_items(container, 'SalesOrder1')
633633
query_items_with_continuation_token(container)
634+
query_items_with_feed_ranges_and_pagination(container)
634635
query_items_single_partition_with_pagination(container)
635636
query_items_cross_partition_with_pagination(container)
636637
replace_item(container, 'SalesOrder1')

sdk/cosmos/azure-cosmos/samples/document_management_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ async def run_sample():
645645
await read_items(container)
646646
await query_items(container, 'SalesOrder1')
647647
await query_items_with_continuation_token(container)
648+
await query_items_with_feed_ranges_and_pagination(container)
648649
await query_items_single_partition_with_pagination(container)
649650
await query_items_cross_partition_with_pagination(container)
650651
await replace_item(container, 'SalesOrder1')

0 commit comments

Comments
 (0)