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
5013 Resiliency: Fixes a bug in the feature for "Faster detection of broken Transport connections".
Set Environment variable AZURE_COSMOS_AGGRESSIVE_TIMEOUT_DETECTION_ENABLED to "True" to enable the above feature. Fixed an issue where connections weren't marked as "unhealthy" under sustained failures, delaying recovery. Now, unhealthy connections trigger prompt reconnection, ensuring continuous client operations.
4839 Dependencies: Removes direct reference to the Newtonsoft.Json package, marks it as a private asset, and adds a build target to enforce explicit consumer references.
NOTE: This is a breaking change. Consumer applications must explicitly reference the Newtonsoft.Json package with a version >= 10.0.2 or opt-out of the check by setting <AzureCosmosDisableNewtonsoftJsonCheck>true</AzureCosmosDisableNewtonsoftJsonCheck> in their project file.
4854 Open Telemetry: Adds open telemetry based versioning.
Fixed
4860 Open telemetry: Fixes Populating Query text for non-stream Iterator.
4649 Query: Fixes prefetching to be disabled when MaxConcurrency is less than or equal to one.
4781 AppInsights: Adds classic attribute back to cosmos db to support appinsights sdk.
4709 Availability: Adds account-level read regions as effective preferred regions when preferred regions is not set on client. Warning: BoundedStaleness accounts configured with-out ApplicationRegion or ApplicationPreferredRegions and just global endpoint, will also have cross-region high availability but might see eventual reads from read-regions. Applications can set CosmosClientOptions.LimitToEndpoint to limit interactions to the configured endpoint only as workaround ``
4810 Package Upgrade: Refactors code to upgrade DiagnosticSource Library from 6.0.1 to 8.0.1
4799 Open Telemetry: Re-added deprecated attribute to support Application Insights SDK by default. For OpenTelemetry attributes, set the environment variable OTEL_SEMCONV_STABILITY_OPT_IN=database/dupe.
4725 Region Availability: Added multiple new regions for public use in bulk.
4664 OpenTelemetry: Added query text as an attribute to improve traceability and provide more detailed insights into query execution.
4643 OpenTelemetry: Updated operation names to follow standard naming conventions, improving consistency and traceability across services.
Fixed
4762 OpenTelemetry: Fixed event filtering to correctly handle non-failure status codes like 404 or 0.
4713 Routing: Resolved an issue with excluding specific regions in RequestOptions for the ReadMany operation, ensuring requests are routed only to the desired regions for optimized data retrieval.
4334 ChangeFeedProcessor: Fixes when ChangeFeedMode is switched, an exception is thrown
Added
4370 ChangeFeedProcessor: Adds AllVersionsAndDeletes support to ChangeFeedProcessor
4380 ChangeFeedProcessor: Refactors AllVersionsAndDeletes Metadata Contract for ChangeFeed and ChangeFeedProcessor
Note: A Rename refactoring was performed in the effort to reduce redundancy and achieve clarity from a user perspective. The previous type ChangeFeedItemChange<T> was strategically renamed to ChangeFeedItem<T>. The refactoring affects both ChangeFeed (pull), and the new ChangeFeedProcessor (push), when in AllVersionsAndDeletes ChangeFeedMode. LatestVersion ChangeFeedMode is not affected and will continue to function as expected.
4316 Distributed Tracing: Refactors code to rename net.peer.name attribute to server.address. Warning: This is a breaking change, only server.address will be emitted starting with this version.
4339 Diagnostics: Adds Client Configuration for Synchronization context cases
4333 Distributed Tracing: Adds configuration to disable network level tracing in sdk permanently
4323 Query: Adds Support for LINQ Custom Serializer in Public Release
4362 Query: Adds support for non streaming ORDER BY
4074 Query: Adds translation support for single key single value select GROUP BY LINQ queries
Note: There is added support for the following regions: Taiwan North and Taiwan Northwest.
This also includes a Direct Package version update to 3.33.0 in PR #4353
4294 DisableServerCertificateValidation: Fixes Default HttpClient to honor DisableServerCertificateValidation (#4294)
Added
4299 Query: Adds environment variable for overriding EnableOptimisticDirectExecution default (#4299)
Note: This change provides another way to manage the upgrade to 3.38. It provides an option to avoid potential disruption due to the breaking change (see the note below) if only config deployment is preferred, instead of any explicit code modification.
With this change, users can set the environment variable AZURE_COSMOS_OPTIMISTIC_DIRECT_EXECUTION_ENABLED to false in their production environments while upgrading from previous minor version (3.37 or below) to 3.38.1 (or above).
This will signal the SDK to disable Optimistic Direct Execution by default.
Once the environment is fully upgraded to the target version, the environment variable can be removed (or set to true) to enable ODE.
It is recommended that the environment variable is used only to manage the upgrade and removed once the deployment is complete.
Please note that environment variable acts as the override only for choosing the default value. If the code explicitly modifies the setting, that value will be honored during actual operations.
⚠️ Note: Starting with version 3.38.0, the .NET SDK enables the ODE feature by default. This can potentially cause a new type of continuation token to be generated. Such a token is not recognized by the older SDKs by design and this could result in a Malformed Continuation Token Exception.
If you have a scenario where tokens generated from the newer SDKs are used by an older SDK, we recommend a 2 step approach to upgrade:
Upgrade to the new SDK and disable ODE, both together as part of a single deployment. Wait for all nodes to upgrade.
In order to disable ODE, set EnableOptimisticDirectExecution to false in the QueryRequestOptions.
Enable ODE as part of second deployment for all nodes.
Note: This version has a known issue 4413 which was later addressed in 3.39.2
4220 Change Feed Processor: Fixes disposal of unused CancellationTokenSource (#4220)
4229 GatewayClientStore: Fixes an issue with dealing with invalid JSON HTTP responses (#4229)
4260 Query: Fixes LINQ Translation of SqlNullLiteral Values (#4260)
4276 Change Feed Processor: Fixes LeaseLostException on Notifications API for Renewer (#4276)
4241 GlobalEndpointManager: Fixes Unobserved and Unhandled Exception from Getting Thrown (#4241)
Added
4122 Query: Adds Optimistic Direct Execution configuration override support on the Client (#4122)
4240 BulkMode: Adds PartitionKeyRangeId in Bulk Mode and TransactionalBatch Response Headers (#4240)
4252 Query: Adds Request Charge to Query Metrics (#4252)
4225 Query: Refactors Optimistic Direct Execution to be turned on by default on .NET SDK (#4225). WARNING: This is breaking change for GA. For more details, please take a look at the 3.38.0 Note section.
4251 Emulator : Adds support for flag in connection string to ignore SSL check (#4251)
4279 Region Availability: Adds Spain Central and Mexico Central Regions For Public Usage (#4279)
4286 Query: Adds LINQ Support for FirstOrDefault (#4286)
4262 PriorityBasedExecution: Adds PriorityLevel in CosmosClientOptions (#4262)
4125 Item Operations: Fixes JsonSerialization exception when MissingMemberHandling = Error on Json default settings when NotFound on Item operations (#4125)
Added
4180 Upgrade Resiliency: Adds Code to Enable Advanced Replica Selection Feature for Preview and GA (#4180)
4128 Routing: Adds ExcludeRegions Feature to RequestOptions (#4128)
4056 Client Telemetry: Adds new public APIs (#4056). WARNING: This is breaking change for preview SDK
Note: isDistributedTracingEnabled is removed from CosmosClientOptions and withDistributedTracing() is removed from CosmosClientBuilder.
Refer this 3983 for new API signature and default values
4030 Upgrade Resiliency: Fixes Race Condition by Calling Dispose Too Early
Added
4019 Upgrade Resiliency: Disables Replica Validation Feature By Default in Preview (The feature was previously enabled by default in the 3.35.2-preview release)
3836 Integrated cache: Adds BypassIntegratedCache to DedicatedGatewayRequestOptions
3909 Query: Adds EnableOptimisticDirectExecution in QueryRequestOptions enabled by default
Recommendation for customers regarding Optimistic Direct Execution:
Starting Version 3.35.0, the Preview SDK enables the ODE feature by default. This can potentially cause a new type of continuation token to be generated. Such a token is not recognized by the older SDKs by design and this could result in a Malformed Continuation Token Exception.
If you have a scenario where tokens generated from the newer SDKs are used by an older SDK, we recommend a 2 step approach to upgrade:
Upgrade to the new SDK and disable ODE, both together as part of a single deployment. Wait for all nodes to upgrade.
In order to disable ODE, set EnableOptimisticDirectExecution to false in the QueryRequestOptions.
Enable ODE as part of second deployment for all nodes.
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.46.1
chore(deps): update dependency microsoft.azure.cosmos to 3.47.0
Feb 11, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.47.0
chore(deps): update dependency microsoft.azure.cosmos to 3.47.1
Feb 20, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.47.1
chore(deps): update dependency microsoft.azure.cosmos to 3.47.2
Feb 28, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.47.2
chore(deps): update dependency microsoft.azure.cosmos to 3.48.0
Mar 21, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.48.0
chore(deps): update dependency microsoft.azure.cosmos to 3.48.1
Apr 13, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.48.1
chore(deps): update dependency microsoft.azure.cosmos to 3.49.0
Apr 18, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.49.0
chore(deps): update dependency microsoft.azure.cosmos to 3.49.1
May 9, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.49.1
chore(deps): update dependency microsoft.azure.cosmos to 3.50.0
May 10, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.50.0
chore(deps): update dependency microsoft.azure.cosmos to 3.51.0
May 16, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.51.0
chore(deps): update dependency microsoft.azure.cosmos to 3.52.0
Jun 14, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.52.0
chore(deps): update dependency microsoft.azure.cosmos to 3.52.1
Jul 17, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.52.1
chore(deps): update dependency microsoft.azure.cosmos to 3.53.0
Aug 14, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.53.0
chore(deps): update dependency microsoft.azure.cosmos to 3.53.1
Aug 28, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.53.1
chore(deps): update dependency microsoft.azure.cosmos to 3.54.0
Oct 4, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.54.0
chore(deps): update dependency microsoft.azure.cosmos to 3.54.1
Nov 4, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.54.1
chore(deps): update dependency microsoft.azure.cosmos to 3.55.0
Nov 15, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.55.0
chore(deps): update dependency microsoft.azure.cosmos to 3.56.0
Nov 25, 2025
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.56.0
chore(deps): update dependency microsoft.azure.cosmos to 3.57.0
Jan 21, 2026
renovatebot
changed the title
chore(deps): update dependency microsoft.azure.cosmos to 3.57.0
chore(deps): update dependency microsoft.azure.cosmos to 3.57.1
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.53.1→3.57.1Release Notes
Azure/azure-cosmos-dotnet-v3 (Microsoft.Azure.Cosmos)
v3.57.1Compare Source
Fixed
ArgumentNullExceptionrace condition in hedging cancellationv3.57.0Compare Source
Added
Fixed
v3.56.0Compare Source
Fixed
v3.55.0Compare Source
Added
Fixed
v3.54.1Compare Source
Fixed
v3.54.0Compare Source
3.53.2 - 2025-10-7
Fixed
3.54.0-preview.1 - 2025-8-27
3.53.1 - 2025-8-27
Added
3.54.0-preview.0 - 2025-8-13
3.53.0 - 2025-8-13
Added
Fixed
3.53.0-preview.1 - 2025-7-10
3.52.1 - 2025-7-10
Fixed
3.53.0-preview.0 - 2025-6-13
3.52.0 - 2025-6-13
Added
Fixed
3.52.0-preview.0 - 2025-5-16
3.51.0 - 2025-5-16
Added
Fixed
3.51.0-preview.0 - 2025-5-9
3.50.0 - 2025-5-9
Added
Fixed
3.50.0-preview.1 - 2025-5-6
3.49.1 - 2025-5-6
Fixed
3.50.0-preview.0 - 2025-4-17
Added
3.49.0 - 2025-4-17
Added
Fixed
3.49.0-preview.1 - 2025-4-11
3.48.1 - 2025-4-11
Fixed
Added
Gone(410) withLeaseNotFound(1022) sub status code.InternalServerError(500) status code.3.49.0-preview.0 - 2025-3-21
3.48.0 - 2025-3-21
Fixed
Added
3.48.0-preview.2 - 2025-2-28
3.47.2 - 2025-2-28
Fixed
3.48.0-preview.1 - 2025-2-14
3.47.1 - 2025-2-14
Added
3.48.0-preview.0 - 2025-1-30
Added
3.47.0 - 2025-2-07
Added
Fixed
3.47.0-preview.1 - 2024-12-24
3.46.1 - 2024-12-24
Fixed
3.47.0-preview.0 - 2024-11-15
3.46.0 - 2024-11-15
Added
Fixed
3.46.0-preview.2 - 2024-11-12
3.45.2 - 2024-11-12
Added
3.46.0-preview.1 - 2024-11-06
3.45.1 - 2024-11-06
Added
3.46.0-preview.0 - 2024-10-25
Added
4792 VectorIndexDefinition: Adds Support for Partitioned DiskANN
4837 ContainerProperties: Adds Full Text Search and Indexing Policy.
3.45.0 - 2024-10-25
Added
4781 AppInsights: Adds classic attribute back to cosmos db to support appinsights sdk.
4709 Availability: Adds account-level read regions as effective preferred regions when preferred regions is not set on client.
Warning: BoundedStaleness accounts configured with-out
ApplicationRegionorApplicationPreferredRegionsand just global endpoint, will also have cross-region high availability but might see eventual reads from read-regions. Applications can setCosmosClientOptions.LimitToEndpointto limit interactions to the configured endpoint only as workaround ``4810 Package Upgrade: Refactors code to upgrade DiagnosticSource Library from 6.0.1 to 8.0.1
4794 Query: Adds hybrid search query pipeline stage
4819 Azurecore: Fixes upgrading azure core dependency to latest
4814 DeleteAllItemsByPartitionKeyStreamAsync: Adds DeleteAllItemsByPartitionKeyStreamAsync API to GA
4845 ContainerProperties: Refactors Vector Embedding and Indexing Policy Interfaces to Mark Them as Public for GA
Fixed
4777 Regions: Fixes Removes decommissioned regions.
4765 Open Telemetry: Fixes attribute name following otel convention
3.45.0-preview.1 - 2024-10-07
3.44.1 - 2024-10-16
Fixed
database/dupe.3.45.0-preview.0 - 2024-10-07
Added
3.44.0 - 2024-10-07
Added
4725 Region Availability: Added multiple new regions for public use in bulk.
4664 OpenTelemetry: Added query text as an attribute to improve traceability and provide more detailed insights into query execution.
4643 OpenTelemetry: Updated operation names to follow standard naming conventions, improving consistency and traceability across services.
Fixed
4762 OpenTelemetry: Fixed event filtering to correctly handle non-failure status codes like 404 or 0.
4713 Routing: Resolved an issue with excluding specific regions in RequestOptions for the ReadMany operation, ensuring requests are routed only to the desired regions for optimized data retrieval.
3.44.0-preview.1 - 2024-09-18
Fixed
3.43.1 - 2024-09-18
Added
3.44.0-preview.0 - 2024-09-04
Added
3.43.0 - 2024-09-04
Added
Fixed
3.43.0-preview.0 - 2024-07-24
3.42.0 - 2024-07-24
Added
Fixed
3.42.0-preview.0 - 2024-06-07
3.41.0 - 2024-06-07
Added
Fixed
3.41.0-preview.0 - 2024-05-17
Added
3.40.0 - 2024-05-17
Fixed
Added
3.40.0-preview.2 - 2024-05-16
3.39.2 - 2024-05-16
Fixed
3.40.0-preview.1 - 2024-04-17
3.39.1 - 2024-04-17
Fixed
3.40.0-preview.0 - 2024-04-05
Fixed
Added
3.39.0 - 2024-04-05
Fixed
Added
server.addresswill be emitted starting with this version.3.39.0-preview.1 - 2024-02-02
3.38.1 - 2024-02-02
Fixed
Added
3.39.0-preview.0 - 2024-01-31
Added
3.38.0 - 2024-01-31
Fixed
Added
3.38.0Note section.3.37.1-preview - 2024-1-2
3.37.1 - 2024-1-2
Fixed
3.37.0-preview - 2023-11-17
3.37.0 - 2023-11-17
Fixed
Added
3.36.0 - 2023-10-24
Fixed
Added
3.36.0-preview - 2023-10-24
Added
3.35.4-preview - 2023-09-15
3.35.4 - 2023-09-15
Fixed
3.35.3-preview - 2023-08-10
3.35.3 - 2023-08-10
Fixed
Added
3.35.2-previewrelease)3.35.2-preview - 2023-07-17
Fixed
Added
3.35.2 - 2023-07-17
Fixed
Added
3.35.1-preview - 2023-06-27
3.35.1 - 2023-06-27
Fixed
3.35.0-preview - 2023-06-19
Added
Recommendation for customers regarding Optimistic Direct Execution:
Starting Version 3.35.0, the Preview SDK enables the ODE feature by default. This can potentially cause a new type of continuation token to be generated. Such a token is not recognized by the older SDKs by design and this could result in a Malformed Continuation Token Exception.
If you have a scenario where tokens generated from the newer SDKs are used by an older SDK, we recommend a 2 step approach to upgrade:
3.35.0 - 2023-06-19
Fixed
Added
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.