An asynchronous, persistent key-value store created for writing desktop and mobile applications, based on SQLite3. Akavache is great for both storing important data as well as cached local data that expires.
Azure/azure-cosmos-dotnet-v3 (Microsoft.Azure.Cosmos)
### [`v3.38.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3380-3380---2024-01-31)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.37.1...3.38.0)
> :warning: 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.
##### Fixed
- [4205](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4205) ClientRetryPolicy: Fixes Metadata Requests Retry Policy ([#4205](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4205))
- [4220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4220) Change Feed Processor: Fixes disposal of unused CancellationTokenSource ([#4220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4220))
- [4229](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4229) GatewayClientStore: Fixes an issue with dealing with invalid JSON HTTP responses ([#4229](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4229))
- [4260](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4260) Query: Fixes LINQ Translation of SqlNullLiteral Values ([#4260](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4260))
- [4276](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4276) Change Feed Processor: Fixes LeaseLostException on Notifications API for Renewer ([#4276](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4276))
- [4241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4241) GlobalEndpointManager: Fixes Unobserved and Unhandled Exception from Getting Thrown ([#4241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4241))
##### Added
- [4122](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4122) Query: Adds Optimistic Direct Execution configuration override support on the Client ([#4122](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4122))
- [4240](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4240) BulkMode: Adds PartitionKeyRangeId in Bulk Mode and TransactionalBatch Response Headers ([#4240](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4240))
- [4252](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4252) Query: Adds Request Charge to Query Metrics ([#4252](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4252))
- [4225](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4225) Query: Refactors Optimistic Direct Execution to be turned on by default on .NET SDK ([#4225](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4225)). **WARNING:** This is breaking change for GA. For more details, please take a look at the `3.38.0` Note section.
- [4251](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4251) Emulator : Adds support for flag in connection string to ignore SSL check ([#4251](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4251))
- [4279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4279) Region Availability: Adds Spain Central and Mexico Central Regions For Public Usage ([#4279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4279))
- [4286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4286) Query: Adds LINQ Support for FirstOrDefault ([#4286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4286))
- [4262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4262) PriorityBasedExecution: Adds PriorityLevel in CosmosClientOptions ([#4262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4262))
### [`v3.37.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3371-preview-3371-preview---2024-1-2)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.37.0...3.37.1)
##### [3.37.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.37.1-preview) - 2024-1-2
### [`v3.37.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3370-preview-3370-preview---2023-11-17)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.36.0...3.37.0)
##### [3.37.0-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.37.0-preview) - 2023-11-17
### [`v3.36.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3360-3360---2023-10-24)
##### Fixed
- [4039](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4039) GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh ([#4039](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4039))
- [4098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4098) Distributed Tracing: Fixes dependency failure on appinsights ([#4098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4098))
- [4097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4097) Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response ([#4097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4097))
- [4111](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4111) Distributed Tracing: Fixes traceid null exception issue ([#4111](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4111))
##### Added
- [4009](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4009) Query: Adds ODE continuation token support for non-ODE pipelines ([#4009](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4009))
- [4078](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4078) Query: Adds LINQ RegexMatch Extension method ([#4078](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4078))
- [4001](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4001) Query: Adds public backend metrics property to Diagnostics ([#4001](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4001))
- [4016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4016) CosmosClientOptions: Adds support for multiple formats of Azure region names ([#4016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4016))
- [4056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4056) Client Telemetry: Adds new public APIs ([#4056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4056))
> Note: Refer this [3983](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/3983) for API signature and default values.
- [4119](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4119) TriggerOperation: Adds Upsert Operation Support([#4119](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4119))
### [`v3.35.4`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3354-preview-3354-preview---2023-09-15)
##### [3.35.4-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.4-preview) - 2023-09-15
### [`v3.35.3`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3353-preview-3353-preview---2023-08-10)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.2...3.35.3)
##### [3.35.3-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.3-preview) - 2023-08-10
### [`v3.35.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3352-preview-3352-preview---2023-07-17)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.1...3.35.2)
##### Fixed
- [3973](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3973) Application Insights Integration: Fixes event generation for failed requests
##### Added
- [3951](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3951) Upgrade Resiliency: Adds Code to Enable Replica Validation Feature By Default for Preview
### [`v3.35.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3351-preview-3351-preview---2023-06-27)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.0...3.35.1)
##### [3.35.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.1-preview) - 2023-06-27
### [`v3.35.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3350-preview-3350-preview---2023-06-19)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.34.0...3.35.0)
##### Added
- [3836](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3836) Integrated cache: Adds BypassIntegratedCache to DedicatedGatewayRequestOptions
- [3909](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/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.
### [`v3.34.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3340-preview-3340-preview---2023-05-17)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.33.0...3.34.0)
### [`v3.33.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3330-preview-3330-preview---2023-04-21)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.3...3.33.0)
### [`v3.32.3`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3323-3323---2023-03-30)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.2...3.32.3)
##### [3.32.3](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.3) - 2023-03-30
### [`v3.32.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3322-3322---2023-03-10)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.1...3.32.2)
##### [3.32.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.2) - 2023-03-10
### [`v3.32.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3321-3321---2023-03-01)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.0...3.32.1)
##### [3.32.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.1) - 2023-03-01
### [`v3.32.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3320-3320---2023-02-03)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.2...3.32.0)
##### Fixed
- [#3466](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3466) ClientRetryPolicy: Fixes behavior to Meta-data write operations in multimaster accounts
- [#3498](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3498) PartitionKey: Fixes NullRef in toString handling for None for PartitionKey.ToString()
- [#3385](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3385) Query: Fixes LINQ ToString got absorbed during translation
- [#3406](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3406) Query: Fixes LINQ to use custom serializer to serialize constant values in Query
- [#3496](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3496) Documentation: Adds XML comment to Database.ReadThroughputAsync definition
- [#3508](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3508), [#3640](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3640) CosmosClient Initialization: Refactors implementation for opening Rntbd connections to backend replica nodes in Direct mode
- [#3519](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3519) Diagnostics: Removes unused properties and reduces size
- [#3495](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3495) Query: Fixes partition range evaluation for spatial queries
- [#3399](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3399) Query: Fixes default to BadRequestException in case of internal errors in ServiceInterop
- [#3574](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3574) Query: Fixes incorrect FeedResponse.Count when result contains undefined elements
- [#3577](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3577) Trace: Fixes Tracing/diagnostics hour-times to 24Hours
- [#3632](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3632) Query: Fixes handling of CosmosUndefined, CosmosGuid and CosmosBinary in unordered DISTINCT
- [#3640](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3640) Token expiration: Fixes token expired errors happening on some environments
- [#3645](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3645) Change Feed Processor: Fixes behavior with StartTime on Local
- [#3643](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3643) Documentation: Fixed CosmosClientBuilder.WithConnectionModeGateway documentation
- [#3579](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3579) Documentation: Fixes EUAP in Comments
##### Added
- [#3566](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3566) Change Feed Processor: Adds support for Resource Tokens
- [#3555](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3555) Availability: Adds HTTP timeouts with request-level cross-region retry
- [#3509](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3509) Query: Adds ALL Scalar Expression
- [#3656](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3656) Region Availability: Adds Poland Central Region For Public Usage.
- [#3636](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3636) CosmosClientOptions: Adds ServerCertificateCustomValidationCallback for Http and TCP
### [`v3.31.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3312-3312---2022-11-03)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.1...3.31.2)
##### [3.31.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.2) - 2022-11-03
### [`v3.31.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3311-3311---2022-10-29)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.0...3.31.1)
##### [3.31.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.1) - 2022-10-29
### [`v3.31.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3310-3310---2022-10-03)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.30.1...3.31.0)
##### [3.31.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.0) - 2022-10-03
### [`v3.30.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3301-3301---2022-09-01)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.30.0...3.30.1)
##### [3.30.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.30.1) - 2022-09-01
### [`v3.30.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3300-preview-3300-preview---2022-08-19)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.29.0...3.30.0)
##### Added
- [#3394](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3394) Change Feed: Refactors Change Feed Contract to rename TimeToLiveExpired
- [#3331](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3331) Open Telemetry: Adds Client and other information in attributes
- [#3197](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3197) Change Feed: Adds SDK changes required for Full-Fidelity Change Feed
### [`v3.29.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3290-preview-3290-preview---2022-07-11)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.28.0...3.29.0)
##### Added
- [#3277](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3277), [#3261](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3261) Open Telemetry: Adds Open Telemetry support
### [`v3.28.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3280-3280---2022-06-14)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.2...3.28.0)
##### [3.28.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.28.0) - 2022-06-14
### [`v3.27.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3272-3272---2022-06-02)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.1...3.27.2)
##### [3.27.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.2) - 2022-06-02
### [`v3.27.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3271-3271---2022-05-25)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.0...3.27.1)
##### [3.27.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.1) - 2022-05-25
### [`v3.27.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3270-3270---2022-05-06)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.2...3.27.0)
##### [3.27.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.0) - 2022-05-06
### [`v3.26.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3262-3262---2022-05-05)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.1...3.26.2)
##### [3.26.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.26.2) - 2022-05-05
### [`v3.26.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3261-3261---2022-03-16)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.0...3.26.1)
##### Added
- [#3080](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3080) & [#3081](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3081) Availability: Adds optimization to partition key ranges cache to reduce number of gateway calls in exception scenarios
- [#3079](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3079) Availability: Adds a memory optimization to remove cached values when a not found is returned on a refresh
- [#3089](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3089) Availability: Adds retries to gateway calls for metadata operations on 408 responses
### [`v3.26.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3260-3260---2022-03-10)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.25.0...3.26.0)
##### Added
- [#3037](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3037) Diagnostics: Adds total number of active clients information
- [#3068](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3068) Query: Adds FeedRange API for Query to GA
- [#3035](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3035) Client Encryption: Adds Client Encryption APIs to GA SDK
### [`v3.25.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3250-preview-3250-preview---2022-02-18)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.24.0...3.25.0)
##### Added
- [#2948](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2948) Partition Key Delete: Adds DeleteAllItemsByPartitionKeyStreamAsync to container
### [`v3.24.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3240-preview-3240-preview---2022-01-31)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.23.0...3.24.0)
##### Added
- [#2960](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2960) UserAgent: Adds flag to user agent string to differentiate SDK version.
### [`v3.23.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3230-3230---2021-11-12)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.22.1...3.23.0)
##### [3.23.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.23.0) - 2021-11-12
### [`v3.22.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3221-preview-3221-preview---2021-10-28)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.22.0...3.22.1)
##### [3.22.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.22.1-preview) - 2021-10-28
### [`v3.22.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3220-3220---2021-10-18)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.21.0...3.22.0)
##### Added
- [#2753](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2753) CosmosClientBuilder: Adds overload for passing TokenCredential (Thanks [@levimatheri](https://togithub.com/levimatheri))
- [#2732](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2732) Diagnostics: Adds request status code summary
- [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) RetryWith(449): Adds improved 449 retry logic with randomized seed and faster retries.
- [#2787](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2787) ChangeFeedProcessor: Adds Notification APIs
##### Fixed
- [#2776](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2776) Query: Fixes a bug where max page size is not being honored after the first 2 pages. Introduced in 3.17.0 [2144](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2144)
- [#2746](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2746) Bulk: Fixes validation to throw if ItemRequestOptions.Properties is set with bulk enabled.
- [#2712](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2712) Serialized types: Fixes public types(Database Properties, ContainerProperties, etc..) to be forward compatible/future proof with service evolving.
We ourselves might struggle interpret in future after a while.
- [#2739](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2739) Bulk: Fixes item response to include SessionToken and ActivityId
- [#2764](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2764) ChangeFeedProcessor: Fixes log to remove expected 404 scenarios during lease release
- [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) InvalidOperationException: Fixes a race condition multiple threads try to modify exception header causing a InvalidOperationException
- [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) Diagnostics: Fix issue causing CPU usage to be NaN intermittently. Introduced in 3.21.0 PR [2687](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2687)
- [#2786](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2786) GlobalEndpointManager: Fixes noisy TraceCritical on GlobalEndpointManager dispose
- [#2793](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2793) Query Diagnostics: Fixes missing diagnostics from query pipeline
- [#2792](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2792) CosmosClient.ReadAccountAsync: Fixes it to throw CosmosException instead of DocumentClientException
### [`v3.21.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3210-preview-3210-preview---2021-09-10)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.20.1...3.21.0)
##### Added
- [#2577](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2577) ResponseMessage : Adds setter for Diagnostics
- [#2613](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2613) Change Feed Processor: Adds notification APIs
##### Fixed
- [#2599](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2599) Diagnostics : Fixes CosmosResponseFactory.CreateItemResponse to use ResponseMessage.Diagnostics instead of creating a new instance
### [`v3.20.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3201-3201---2021-06-29)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.20.0...3.20.1)
##### [3.20.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.20.1) - 2021-06-29
### [`v3.20.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3200-3200---2021-06-21)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.19.0...3.20.0)
##### Added
- [#2509](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2509) Change Feed: Adds change feed iterator APIs on containers
- [#2558](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2558) Diagnostics: Adds Duration field to HttpResponseStatistics in Diagnostics
- [#2502](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2502) Diagnostics: Adds Direct TransportRequestStats for tracking transport request timeline
- [#2491](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2491) Change Feed Processor: Adds support for Graph API accounts. Graph API accounts can now create lease containers with `/partitionKey` instead of `/id`.
##### Fixed
- [#2567](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2567) ReadMany: Fixes AddRequestHeaders request option and missing headers and message on failure scenarios
- [#2510](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2510) Query: Fixes InvalidOperationException when partitions are merged. Introduced in 3.17.0 PR [#2084](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2084).
- [#2510](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2510) Query: Fixes handling of pipeline execution on partition merge. Introduced in 3.17.0 PR [#2084](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2084).
- [#2547](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2547) Query: Fixes incorrect order by query when the field is an object or array
- [#2511](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2511) Availability: Fixes get account info retry logic to not go to secondary regions on 403(Forbidden)
- [#2512](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2512) Caches: Fixes the cache to remove values if generator throws an exception. Thanks [@johngallardo](https://togithub.com/johngallardo).
- [#2516](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2516) Diagnostics: Fixes a race condition causing InvalidOperationException. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2530](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2530) Gateway: Fixes container recreate scenarios for Gateway Mode in session consistency. Introduced in 3.18.0 PR [#2165](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2165)
- [#2552](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2552) UserAgent: Fixes UserAgent to have the correct number of clients
- [#2562](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2562) Diagnostics: Fixes NullReferenceException in service unavailable scenarios. Introduced in 3.18.0 PR [#2312](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2312)
- [#2502](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2502) Tracing: Removes noisy trace in direct mode
### [`v3.19.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3190-3190---2021-05-25)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.18.0...3.19.0)
##### Added
- [#2482](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2482) Azure Active Directory: Adds CosmosClient TokenCredential APIs
- [#2440](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2440) Performance: Adds Bulk optimizations to reduce allocations and improves async task handling
- [#2447](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2447) Availability: Adds account refresh logic on gateway outage instead of waiting on 5min background refresh
- [#2493](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2493) NullReferenceException: Adds logic to append the CosmosDiagnostics to NullReferenceExceptions
- [#2465](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2465) ObjectDisposedException: Adds logic to append the CosmosDiagnostics to ObjectDisposedException
- [#2390](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2390) Bulk: Adds retry for patch operations when request is to large
- [#2487](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2487) UserAgent: Adds flag to user agent to show if region failover is configured
##### Fixed
- [#2451](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2451) Query: Fixes native c# parser not recognizing query with multiple IN statements. Introduced in 3.13.0 PR [#1743](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1743)
- [#2451](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2455) Bulk: Fixes diagnostic traces by removing redundant info and adding correct retry context. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2460](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2460) Permission: Fixes documentation on resource token range limit. (Thanks to arorainms)
- [#2490](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2490) Change Feed: Fixes CancellationToken to be honored. Introduced in 3.15.0 PR [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933)
- [#2483](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2483) Availability: Fixes the get account information to stop the background refresh after CosmosClient is disposed. Introduced in 3.18.0 PR [#2355](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2355)
- [#2481](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2481) Azure Active Directory: Fixes token refresh interval, exception handling, and retry logic
- [#2474](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2474) Change Feed: Fixes exceptions generating "Change Feed should always have a next page". Introduced in 3.15.0 PR [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933)
- [#2498](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2498) Diagnostics: Fixes default setting in Consistency Config Serialization. Introduced in 3.18.0 PR [#2250](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2250)
### [`v3.18.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3180-3180---2021-04-26)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.17.1...3.18.0)
##### Added
- [#2324](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2324) Diagnostics: Adds all http requests to diagnostics
- [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Performance: Adds optimizations to reduce allocations for Direct + TCP operations
- [#2353](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2353) Query: Adds support to c# query parser for LIKE statement and INT system functions to avoid gateway query plan call when service interop is not available
- [#2397](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2397) Diagnostics: Adds optimizations and BELatency which is the Cosmos DB Backend Request Latency In Milliseconds
- [#2355](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2355) Availability: Adds concurrent requests to secondary region if the initial get account information takes longer than 5 seconds which reduces SDK startup time if primary region is down.
- [#2352](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2352) ReadManyApi: Adds new API designed to efficiently read a list of items using the item id and partition key value
- [#2250](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2250) Diagnostics: Adds client configuration information needed to root cause issues
- [#2241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2241) ContainerBuilder: Adds public constructor to create ContainerBuilder instance
- [#2222](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2222) Query: Adds WithParameterStream to QueryDefinition to pass in serialized values
- [#2165](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2165) & [#2408](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2408) Performance: Adds optimization to reduce header size for gateway mode with session consistency. It now only send specific partition session token like direct mode.
##### Fixed
- [#2282](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2282) Query: Fixes COUNT(DISTINCT) to always compute correct value. Any query with more than 1 page of results could produce incorrect values.
- [#2405](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2405) Change Feed: Fixes pull model to avoid additional NotModified call
- [#2368](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2368) Query: Fixes BadRequest with "Failed to parse ... as ResourceId" for gateway mode on splits. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
- [#2357](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2357) Query: Fixes incorrect RequestCharge and missing headers in FeedResponse for ordered cross-partition queries. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) (Thanks to ccurrens)
- [#2409](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2409) Query: Fixes race condition in diagnostics causes missing information and Index out of bound exceptions. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Availability: Fixes race condition in direct + tcp mode causing SDK generated internal server errors and invalid operation exceptions
- [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Availability: Fixes race condition in direct + tcp mode causing unnecessary connections to be created by concurrent requests
- [#2392](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2392) Change Feed Estimator: Fixes exception propagation to throw on StartAsync for container/lease not found scenarios. Introduced in 3.17.0 PR [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830)
- [#2383](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2383) Availability: Fixes CancellationToken evaluation during failover which could prevent necessary SDK refreshes to occur
- [#2376](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2376) Diagnostics: Fixes invalid nesting and handler names in ITrace. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2286) Diagnostics: Fixes regression in ITrace where direct operation diagnostics were not included in exception scenarios. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2424](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2424) Query: Fixes TaskCanceledException being converted to InternalServerError and not including diagnostics on most exceptions. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
### [`v3.17.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3171-3171---2021-03-19)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.17.0...3.17.1)
##### Fixed
- [#2314](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2314) Diagnostics: Fixes InvalidOperationException caused by concurrently modifying a dictionary in TraceWriter. Introduced in 3.17.0 PR [#2242](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2242)
- [#2303](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2303) CosmosException : Fixes exception messages to remove JSON formatting
- [#2311](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2311) Spatial: Fixes deserialization when Json does not represent a Spatial type
- [#2284](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2284) Diagnostics: Adds traces for cache operations. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
- [#2278](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2278) Documentation: Fixes typos in comment examples (Thanks to paulomorgado)
- [#2279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2279) Availability: Fixes region failover logic on control plane hot path when gateway hangs. Introduced in 3.16.0 PR [#1954](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1954)
- [#2286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2286) Diagnostics: Fixes regression which caused ActivityId to not get included. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097)
### [`v3.17.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3170-3170---2021-03-02)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.16.0...3.17.0)
##### Added
- [#1870](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1870) Batch API: Adds Session token support
- [#2145](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2145) EnableContentResponseOnWrite: Adds client level support via CosmosClientOptions and CosmosClientBuilder
- [#2166](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2166) QueryRequestOption: Adds optimization to avoid duplicating QueryRequestOption
- [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830) & [#2170](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2170) Change Feed Estimator: Adds support for detailed estimation per lease
- [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) & [#2204](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2204) & [#2213](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2213) & [#2235](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2235) & [#2236](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2236) & [#2242](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2242) & [#2246](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2246) CosmosDiagnostics: Refactored to use ITrace as the default implementation
- [#2206](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2206) LINQ : Adds User Defined Function Translation Support (Thanks to dpiessens)
- [#2210](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2210) QueryDefinition: Adds API to get query parameters (Thanks to thomaslevesque)
- [#2197](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2197) CosmosClient: Adds CreateAndInitializeAsync method which can be used to avoid latency of warming caches on first operation.
- [#2220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2220) LINQ: Adds camelCase support to GetItemLinqQueryable() as optional parameter
- [#2249](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2249) Performance: Adds HTTP optimization to disable Nagle Algorithm for .NET Framework applications
##### Fixed
- [#2168](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2168) Query: Fixes a regression in Take operator where it drains the entire query instead of stopping a the take count. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) and reported in issue [#1979](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/1979)
- [#2129](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2129) CosmosDiagnostics: Fixes memory leak caused by pagination library holding on to all diagnostics. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) and reported in issue [#2087](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/2087)
- [#2103](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2103) Query: Fixes ORDER BY undefined (and mixed type primitives) continuation token support. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
- [#2124](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2124) Bulk: Fixes retry logic to handle RequestEntityTooLarge exceptions caused by the underlying batch request being to large. Introduced in [#741](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/741)
- [#2198](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2198) CosmosClientOptions: Fixes a bug causing ConsistentPrefix to be convert to BoundedStaleness. Introduced in 3.1.0 PR [#541](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/541) and reported in issue [#2196](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/2196)
- [#2262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2262) CosmosException: Fixes the headers not matching CosmosException property values and incorrect SubStatusCode values on client initialization failures
- [#2269](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2269) PermissionProperties: Fixes PermissionProperties to not take dependency on internal type to fix mocking
- [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) Diagnostics: Fixes regression in query, change feed, and read feed that causes diagnostics to be empty after first page. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
### [`v3.16.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3160-3160---2021-01-12)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.15.1...3.16.0)
##### Added
- [#2098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2098) Performance: Adds gateway header optimization
- [#1954](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1954) & [#2094](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2094) Control Plane Hot Path: Adds more aggressive timeout and retry logic for getting caches and query plan from gateway
- [#2013](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2013) Change Feed Processor: Adds support for EPK leases
- [#2016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2016) Performance: Fixes lock contentions and reduce allocations on TCP requests
- [#2000](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2000) Performance: Adds Authorization Helper improvements
##### Fixed
- [#2110](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2110) CosmosException: Fixes substatuscode to get the correct value instead of 0 when it is not in the enum
- [#2092](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2092) Query: Fixes cancellation token support for the lazy + buffering path
- [#2099](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2099) & [#2116](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2116) CosmosDiagnostics: Fixes IndexOutOfRangeException by adding concurrent operation support
- [#2096](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2096) AggregateException: Fixes some cache calls to throw original exception instead of AggregateException
- [#2044](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2044) Query: Fixes Equals method on SqlParameter class
- [#2077](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2077) Availability: Fixes retry behavior on HttpException where SDK will retry on same region instead of secondary region
- [#2056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2056) Performance: Fixes encoded strings performance for query operations
- [#2060](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2060) Query: Fixes high CPU usage caused by FeedRange comparison used in LINQ order by operation. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
- [#2041](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2041) Request Charge: Fixes request charges for offers and CreateIfNotExists APIs
### [`v3.15.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3151-3151---2020-12-16)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.15.0...3.15.1)
##### Fixed
- [#2069](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2069) Bulk: Fixes incorrect routing on split
- [#2047](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2047) Diagnostics: Adds operation name to summary
- [#2042](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2042) Change Feed Processor: Fixes StartTime not being correctly applied. Introduced in 3.13.0-preview PR [#1725](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1725)
- [#2071](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2071) Diagnostics: Fixes substatuscode when recording internal DocumentClientException
### [`v3.15.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3150-3150---2020-11-17)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.14.0...3.15.0)
##### Added
- [#1926](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1926) Query: Adds multiple arguments in IN clause support to c# query parser when service interop is not available.
- [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) ChangeFeed: Adds adoption of pagination library
- [#1943](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1943) Performance: Adds query optimization by LazyCosmosElement Cache Improvements
- [#1944](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1944) Performance: Adds direct version to get response header improvement
- [#1947](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1947) ReadFeed: Adds pagination library adoption
- [#1949](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1949) Performance: Adds optimized request headers
- [#1974](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1974) Performance: Adds Bulk optimization by reducing lock contention in TimerWheel
- [#1977](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1977) Performance diagnostics: Adds static timer and caches handler name
##### Fixed
- [#1930](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1930) Change Feed: Fixes estimator diagnostics
- [#1939](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1939) LINQ: Fixes ArgumentNullException with StringComparison sensitive case (Thanks to ylabade)
- [#1940](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1940) LINQ: Fixes CancellationToken bug in CosmosLinqQuery.AggregateResultAsync (Thanks to ylabade)
- [#1960](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1960) CosmosClientOptions and ClientBuilder: Fixes ArgumentException when setting null value on HttpClientFactory or WebProxy
- [#1961](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1961) RequestOption.Properties: Fixes RequestOption.Properties for CreateContainerIfNotExistsAsync
- [#1967](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1967) Query: Fixes CancellationToken logic in pagination library
- [#1988](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1988) Query: Fixes split proofing logic for queries with logical partition key
- [#1999](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1999) Performance: Fixes exception serialization when tracing is not enabled
- [#2004](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2004) Query: Fixes SplitHandling bug caused by caches not getting refreshed. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812)
### [`v3.14.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#Unlisted-see-2004---a-name3140-preview-3140-preview---2020-10-09)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.13.0...3.14.0)
##### Added
- [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830) Change Feed Estimator: Adds support for detailed estimation per lease
### [`v3.13.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3130-3130---2020-09-21)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.12.0...3.13.0)
##### Added
- [#1743](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1743) Query Performance: Adds skipping getting query plan for non-aggregate single partition queries on non-Windows x64 systems when FeedOptions.PartitionKey is set
- [#1768](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1768) Performance: Adds SessionToken optimization to reduce header size by removing session token for CRUD on stored procedure, triggers, and UDFs
- [#1781](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1781) Performance: Adds headers optimization which can reduce response allocation by 10 KB per a request.
- [#1825](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1825) RequestOptions.Properties: Adds the ability for applications to specify request context
- [#1835](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1835) Performance: Add HttpClient optimization to avoid double buffering gateway responses
- [#1837](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1837) Query SystemFunctions : Adds DateTime System Functions
- [#1842](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1842) Query Performance: Adds Singleton QueryPartitionProvider. Helps when Container is getting recreated.
- [#1857](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1857) Performance: Adds finalizer optimizations in a few places (Thanks to pentp)
- [#1843](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1843) Performance: Adds Transport serialization, SessionTokenMismatchRetryPolicy, and store response dictionary optimizations
##### Fixed
- [#1757](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1757) Batch API: Fixes the size limit to reduce timeouts
- [#1758](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1758) Connectivity: Fixes address resolution calls when using EnableTcpConnectionEndpointRediscovery
- [#1788](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1788) Transient HTTP exceptions: Adds retry logic to all http requests
- [#1863](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1863) HttpClientHandler: Fixes HttpClientHandler PlatformNotSupportedException
### [`v3.12.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3120-3120---2020-08-06)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.11.0...3.12.0)
##### Added
- [#1548](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1548) Transport: Adds an optimization to unify HttpClient usage across Gateway classes
- [#1569](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1569) Batch API: Adds support of request options for transactional batch
- [#1693](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1693) Performance: Reduces lock contention on GlobalAddress Resolver
- [#1712](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1712) Performance: Adds optimization to reduce AuthorizationHelper memory allocations
- [#1715](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1715) Availability: Adds cross-region retry mechanism on transient connectivity issues
- [#1721](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1721) LINQ : Adds support for case-insensitive searches (Thanks to jeffpardy)
- [#1733](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1733) Change Feed Processor: Adds backward compatibility of lease store
##### Fixed
- [#1548](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1548) Availability: Fixes SDK failover logic. An HttpClient used the user configured request timeout on metadata request causing an ambiguous OperationCanceledException instead of the HttpRequestException which is used to trigger failovers.
- [#1720](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1720) Gateway Trace: Fixes a bug where the ActivityId is being set to Guid.Empty
- [#1728](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1728) Diagnostics: Fixes ActivityScope by moving it to operation level
- [#1740](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1740) Connection limits: Fixes .NET core to honor gateway connection limit
- [#1744](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1744) Transport: Fixes use of PortReuseMode and other Direct configuration settings
### [`v3.11.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3110-3110---2020-07-07)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.10.1...3.11.0)
##### [3.11.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.11.0) - 2020-07-07
### [`v3.10.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3101-3101---2020-06-18)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.10.0...3.10.1)
- [#1637](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1637) TransportHandler : Removes stack trace print. Introduced in 3.10.0 PR 1587
### [`v3.10.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3100-3100---2020-06-18)
[Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.9.1...3.10.0)
##### Added
- [#1613](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1613) Query FeedIterator: Adds IDisposable to fix memory leak. WARNING: This will require changes to fix static anlysis tools checking for dispose.
- [#1550](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1550) CosmosOperationCanceledException: This enables users to access the diagnsotics when an operation is canceled via the cancellation token. The new type extends OperationCanceledException so it does not break current exception handling and includes the CosmosDiagnostic in the ToString().
- [#1578](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1578) Query: Adds memory optimization to prevent coping the buffer
- [#1578](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1578) Query: Adds support for ignore case for Contains and StartsWith functions.
- [#1602](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1602) Diagnostics: Adds CPU usage to all operations
- [#1603](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1603) Documentation: Adds new exception handling documentation
##### Fixed
- [#1530](https://togithub.com
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This PR contains the following updates:
3.8.0
->3.38.0
Release Notes
Azure/azure-cosmos-dotnet-v3 (Microsoft.Azure.Cosmos)
### [`v3.38.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3380-3380---2024-01-31) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.37.1...3.38.0) > :warning: 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. ##### Fixed - [4205](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4205) ClientRetryPolicy: Fixes Metadata Requests Retry Policy ([#4205](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4205)) - [4220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4220) Change Feed Processor: Fixes disposal of unused CancellationTokenSource ([#4220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4220)) - [4229](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4229) GatewayClientStore: Fixes an issue with dealing with invalid JSON HTTP responses ([#4229](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4229)) - [4260](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4260) Query: Fixes LINQ Translation of SqlNullLiteral Values ([#4260](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4260)) - [4276](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4276) Change Feed Processor: Fixes LeaseLostException on Notifications API for Renewer ([#4276](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4276)) - [4241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4241) GlobalEndpointManager: Fixes Unobserved and Unhandled Exception from Getting Thrown ([#4241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4241)) ##### Added - [4122](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4122) Query: Adds Optimistic Direct Execution configuration override support on the Client ([#4122](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4122)) - [4240](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4240) BulkMode: Adds PartitionKeyRangeId in Bulk Mode and TransactionalBatch Response Headers ([#4240](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4240)) - [4252](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4252) Query: Adds Request Charge to Query Metrics ([#4252](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4252)) - [4225](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4225) Query: Refactors Optimistic Direct Execution to be turned on by default on .NET SDK ([#4225](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4225)). **WARNING:** This is breaking change for GA. For more details, please take a look at the `3.38.0` Note section. - [4251](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4251) Emulator : Adds support for flag in connection string to ignore SSL check ([#4251](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4251)) - [4279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4279) Region Availability: Adds Spain Central and Mexico Central Regions For Public Usage ([#4279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4279)) - [4286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4286) Query: Adds LINQ Support for FirstOrDefault ([#4286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4286)) - [4262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4262) PriorityBasedExecution: Adds PriorityLevel in CosmosClientOptions ([#4262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4262)) ### [`v3.37.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3371-preview-3371-preview---2024-1-2) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.37.0...3.37.1) ##### [3.37.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.37.1-preview) - 2024-1-2 ### [`v3.37.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3370-preview-3370-preview---2023-11-17) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.36.0...3.37.0) ##### [3.37.0-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.37.0-preview) - 2023-11-17 ### [`v3.36.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3360-3360---2023-10-24) ##### Fixed - [4039](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4039) GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh ([#4039](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4039)) - [4098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4098) Distributed Tracing: Fixes dependency failure on appinsights ([#4098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4098)) - [4097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4097) Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response ([#4097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4097)) - [4111](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4111) Distributed Tracing: Fixes traceid null exception issue ([#4111](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4111)) ##### Added - [4009](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4009) Query: Adds ODE continuation token support for non-ODE pipelines ([#4009](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4009)) - [4078](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4078) Query: Adds LINQ RegexMatch Extension method ([#4078](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4078)) - [4001](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4001) Query: Adds public backend metrics property to Diagnostics ([#4001](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4001)) - [4016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4016) CosmosClientOptions: Adds support for multiple formats of Azure region names ([#4016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4016)) - [4056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4056) Client Telemetry: Adds new public APIs ([#4056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4056)) > Note: Refer this [3983](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/3983) for API signature and default values. - [4119](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/4119) TriggerOperation: Adds Upsert Operation Support([#4119](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/4119)) ### [`v3.35.4`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3354-preview-3354-preview---2023-09-15) ##### [3.35.4-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.4-preview) - 2023-09-15 ### [`v3.35.3`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3353-preview-3353-preview---2023-08-10) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.2...3.35.3) ##### [3.35.3-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.3-preview) - 2023-08-10 ### [`v3.35.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3352-preview-3352-preview---2023-07-17) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.1...3.35.2) ##### Fixed - [3973](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3973) Application Insights Integration: Fixes event generation for failed requests ##### Added - [3951](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3951) Upgrade Resiliency: Adds Code to Enable Replica Validation Feature By Default for Preview ### [`v3.35.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3351-preview-3351-preview---2023-06-27) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.35.0...3.35.1) ##### [3.35.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.35.1-preview) - 2023-06-27 ### [`v3.35.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3350-preview-3350-preview---2023-06-19) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.34.0...3.35.0) ##### Added - [3836](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3836) Integrated cache: Adds BypassIntegratedCache to DedicatedGatewayRequestOptions - [3909](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/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. ### [`v3.34.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3340-preview-3340-preview---2023-05-17) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.33.0...3.34.0) ### [`v3.33.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3330-preview-3330-preview---2023-04-21) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.3...3.33.0) ### [`v3.32.3`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3323-3323---2023-03-30) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.2...3.32.3) ##### [3.32.3](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.3) - 2023-03-30 ### [`v3.32.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3322-3322---2023-03-10) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.1...3.32.2) ##### [3.32.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.2) - 2023-03-10 ### [`v3.32.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3321-3321---2023-03-01) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.32.0...3.32.1) ##### [3.32.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.32.1) - 2023-03-01 ### [`v3.32.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3320-3320---2023-02-03) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.2...3.32.0) ##### Fixed - [#3466](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3466) ClientRetryPolicy: Fixes behavior to Meta-data write operations in multimaster accounts - [#3498](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3498) PartitionKey: Fixes NullRef in toString handling for None for PartitionKey.ToString() - [#3385](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3385) Query: Fixes LINQ ToString got absorbed during translation - [#3406](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3406) Query: Fixes LINQ to use custom serializer to serialize constant values in Query - [#3496](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3496) Documentation: Adds XML comment to Database.ReadThroughputAsync definition - [#3508](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3508), [#3640](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3640) CosmosClient Initialization: Refactors implementation for opening Rntbd connections to backend replica nodes in Direct mode - [#3519](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3519) Diagnostics: Removes unused properties and reduces size - [#3495](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3495) Query: Fixes partition range evaluation for spatial queries - [#3399](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3399) Query: Fixes default to BadRequestException in case of internal errors in ServiceInterop - [#3574](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3574) Query: Fixes incorrect FeedResponse.Count when result contains undefined elements - [#3577](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3577) Trace: Fixes Tracing/diagnostics hour-times to 24Hours - [#3632](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3632) Query: Fixes handling of CosmosUndefined, CosmosGuid and CosmosBinary in unordered DISTINCT - [#3640](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3640) Token expiration: Fixes token expired errors happening on some environments - [#3645](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3645) Change Feed Processor: Fixes behavior with StartTime on Local - [#3643](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3643) Documentation: Fixed CosmosClientBuilder.WithConnectionModeGateway documentation - [#3579](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3579) Documentation: Fixes EUAP in Comments ##### Added - [#3566](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3566) Change Feed Processor: Adds support for Resource Tokens - [#3555](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3555) Availability: Adds HTTP timeouts with request-level cross-region retry - [#3509](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3509) Query: Adds ALL Scalar Expression - [#3656](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3656) Region Availability: Adds Poland Central Region For Public Usage. - [#3636](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3636) CosmosClientOptions: Adds ServerCertificateCustomValidationCallback for Http and TCP ### [`v3.31.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3312-3312---2022-11-03) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.1...3.31.2) ##### [3.31.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.2) - 2022-11-03 ### [`v3.31.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3311-3311---2022-10-29) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.31.0...3.31.1) ##### [3.31.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.1) - 2022-10-29 ### [`v3.31.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3310-3310---2022-10-03) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.30.1...3.31.0) ##### [3.31.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.31.0) - 2022-10-03 ### [`v3.30.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3301-3301---2022-09-01) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.30.0...3.30.1) ##### [3.30.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.30.1) - 2022-09-01 ### [`v3.30.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3300-preview-3300-preview---2022-08-19) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.29.0...3.30.0) ##### Added - [#3394](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3394) Change Feed: Refactors Change Feed Contract to rename TimeToLiveExpired - [#3331](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3331) Open Telemetry: Adds Client and other information in attributes - [#3197](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3197) Change Feed: Adds SDK changes required for Full-Fidelity Change Feed ### [`v3.29.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3290-preview-3290-preview---2022-07-11) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.28.0...3.29.0) ##### Added - [#3277](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3277), [#3261](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3261) Open Telemetry: Adds Open Telemetry support ### [`v3.28.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3280-3280---2022-06-14) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.2...3.28.0) ##### [3.28.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.28.0) - 2022-06-14 ### [`v3.27.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3272-3272---2022-06-02) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.1...3.27.2) ##### [3.27.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.2) - 2022-06-02 ### [`v3.27.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3271-3271---2022-05-25) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.27.0...3.27.1) ##### [3.27.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.1) - 2022-05-25 ### [`v3.27.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3270-3270---2022-05-06) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.2...3.27.0) ##### [3.27.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.27.0) - 2022-05-06 ### [`v3.26.2`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3262-3262---2022-05-05) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.1...3.26.2) ##### [3.26.2](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.26.2) - 2022-05-05 ### [`v3.26.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3261-3261---2022-03-16) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.26.0...3.26.1) ##### Added - [#3080](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3080) & [#3081](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3081) Availability: Adds optimization to partition key ranges cache to reduce number of gateway calls in exception scenarios - [#3079](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3079) Availability: Adds a memory optimization to remove cached values when a not found is returned on a refresh - [#3089](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3089) Availability: Adds retries to gateway calls for metadata operations on 408 responses ### [`v3.26.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3260-3260---2022-03-10) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.25.0...3.26.0) ##### Added - [#3037](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3037) Diagnostics: Adds total number of active clients information - [#3068](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3068) Query: Adds FeedRange API for Query to GA - [#3035](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/3035) Client Encryption: Adds Client Encryption APIs to GA SDK ### [`v3.25.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3250-preview-3250-preview---2022-02-18) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.24.0...3.25.0) ##### Added - [#2948](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2948) Partition Key Delete: Adds DeleteAllItemsByPartitionKeyStreamAsync to container ### [`v3.24.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3240-preview-3240-preview---2022-01-31) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.23.0...3.24.0) ##### Added - [#2960](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2960) UserAgent: Adds flag to user agent string to differentiate SDK version. ### [`v3.23.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3230-3230---2021-11-12) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.22.1...3.23.0) ##### [3.23.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.23.0) - 2021-11-12 ### [`v3.22.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3221-preview-3221-preview---2021-10-28) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.22.0...3.22.1) ##### [3.22.1-preview](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.22.1-preview) - 2021-10-28 ### [`v3.22.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3220-3220---2021-10-18) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.21.0...3.22.0) ##### Added - [#2753](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2753) CosmosClientBuilder: Adds overload for passing TokenCredential (Thanks [@levimatheri](https://togithub.com/levimatheri)) - [#2732](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2732) Diagnostics: Adds request status code summary - [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) RetryWith(449): Adds improved 449 retry logic with randomized seed and faster retries. - [#2787](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2787) ChangeFeedProcessor: Adds Notification APIs ##### Fixed - [#2776](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2776) Query: Fixes a bug where max page size is not being honored after the first 2 pages. Introduced in 3.17.0 [2144](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2144) - [#2746](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2746) Bulk: Fixes validation to throw if ItemRequestOptions.Properties is set with bulk enabled. - [#2712](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2712) Serialized types: Fixes public types(Database Properties, ContainerProperties, etc..) to be forward compatible/future proof with service evolving. We ourselves might struggle interpret in future after a while. - [#2739](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2739) Bulk: Fixes item response to include SessionToken and ActivityId - [#2764](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2764) ChangeFeedProcessor: Fixes log to remove expected 404 scenarios during lease release - [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) InvalidOperationException: Fixes a race condition multiple threads try to modify exception header causing a InvalidOperationException - [#2777](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2777) Diagnostics: Fix issue causing CPU usage to be NaN intermittently. Introduced in 3.21.0 PR [2687](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2687) - [#2786](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2786) GlobalEndpointManager: Fixes noisy TraceCritical on GlobalEndpointManager dispose - [#2793](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2793) Query Diagnostics: Fixes missing diagnostics from query pipeline - [#2792](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2792) CosmosClient.ReadAccountAsync: Fixes it to throw CosmosException instead of DocumentClientException ### [`v3.21.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3210-preview-3210-preview---2021-09-10) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.20.1...3.21.0) ##### Added - [#2577](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2577) ResponseMessage : Adds setter for Diagnostics - [#2613](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2613) Change Feed Processor: Adds notification APIs ##### Fixed - [#2599](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2599) Diagnostics : Fixes CosmosResponseFactory.CreateItemResponse to use ResponseMessage.Diagnostics instead of creating a new instance ### [`v3.20.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3201-3201---2021-06-29) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.20.0...3.20.1) ##### [3.20.1](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.20.1) - 2021-06-29 ### [`v3.20.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3200-3200---2021-06-21) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.19.0...3.20.0) ##### Added - [#2509](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2509) Change Feed: Adds change feed iterator APIs on containers - [#2558](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2558) Diagnostics: Adds Duration field to HttpResponseStatistics in Diagnostics - [#2502](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2502) Diagnostics: Adds Direct TransportRequestStats for tracking transport request timeline - [#2491](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2491) Change Feed Processor: Adds support for Graph API accounts. Graph API accounts can now create lease containers with `/partitionKey` instead of `/id`. ##### Fixed - [#2567](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2567) ReadMany: Fixes AddRequestHeaders request option and missing headers and message on failure scenarios - [#2510](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2510) Query: Fixes InvalidOperationException when partitions are merged. Introduced in 3.17.0 PR [#2084](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2084). - [#2510](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2510) Query: Fixes handling of pipeline execution on partition merge. Introduced in 3.17.0 PR [#2084](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2084). - [#2547](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2547) Query: Fixes incorrect order by query when the field is an object or array - [#2511](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2511) Availability: Fixes get account info retry logic to not go to secondary regions on 403(Forbidden) - [#2512](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2512) Caches: Fixes the cache to remove values if generator throws an exception. Thanks [@johngallardo](https://togithub.com/johngallardo). - [#2516](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2516) Diagnostics: Fixes a race condition causing InvalidOperationException. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2530](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2530) Gateway: Fixes container recreate scenarios for Gateway Mode in session consistency. Introduced in 3.18.0 PR [#2165](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2165) - [#2552](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2552) UserAgent: Fixes UserAgent to have the correct number of clients - [#2562](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2562) Diagnostics: Fixes NullReferenceException in service unavailable scenarios. Introduced in 3.18.0 PR [#2312](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2312) - [#2502](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2502) Tracing: Removes noisy trace in direct mode ### [`v3.19.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3190-3190---2021-05-25) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.18.0...3.19.0) ##### Added - [#2482](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2482) Azure Active Directory: Adds CosmosClient TokenCredential APIs - [#2440](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2440) Performance: Adds Bulk optimizations to reduce allocations and improves async task handling - [#2447](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2447) Availability: Adds account refresh logic on gateway outage instead of waiting on 5min background refresh - [#2493](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2493) NullReferenceException: Adds logic to append the CosmosDiagnostics to NullReferenceExceptions - [#2465](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2465) ObjectDisposedException: Adds logic to append the CosmosDiagnostics to ObjectDisposedException - [#2390](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2390) Bulk: Adds retry for patch operations when request is to large - [#2487](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2487) UserAgent: Adds flag to user agent to show if region failover is configured ##### Fixed - [#2451](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2451) Query: Fixes native c# parser not recognizing query with multiple IN statements. Introduced in 3.13.0 PR [#1743](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1743) - [#2451](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2455) Bulk: Fixes diagnostic traces by removing redundant info and adding correct retry context. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2460](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2460) Permission: Fixes documentation on resource token range limit. (Thanks to arorainms) - [#2490](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2490) Change Feed: Fixes CancellationToken to be honored. Introduced in 3.15.0 PR [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) - [#2483](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2483) Availability: Fixes the get account information to stop the background refresh after CosmosClient is disposed. Introduced in 3.18.0 PR [#2355](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2355) - [#2481](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2481) Azure Active Directory: Fixes token refresh interval, exception handling, and retry logic - [#2474](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2474) Change Feed: Fixes exceptions generating "Change Feed should always have a next page". Introduced in 3.15.0 PR [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) - [#2498](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2498) Diagnostics: Fixes default setting in Consistency Config Serialization. Introduced in 3.18.0 PR [#2250](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2250) ### [`v3.18.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3180-3180---2021-04-26) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.17.1...3.18.0) ##### Added - [#2324](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2324) Diagnostics: Adds all http requests to diagnostics - [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Performance: Adds optimizations to reduce allocations for Direct + TCP operations - [#2353](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2353) Query: Adds support to c# query parser for LIKE statement and INT system functions to avoid gateway query plan call when service interop is not available - [#2397](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2397) Diagnostics: Adds optimizations and BELatency which is the Cosmos DB Backend Request Latency In Milliseconds - [#2355](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2355) Availability: Adds concurrent requests to secondary region if the initial get account information takes longer than 5 seconds which reduces SDK startup time if primary region is down. - [#2352](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2352) ReadManyApi: Adds new API designed to efficiently read a list of items using the item id and partition key value - [#2250](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2250) Diagnostics: Adds client configuration information needed to root cause issues - [#2241](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2241) ContainerBuilder: Adds public constructor to create ContainerBuilder instance - [#2222](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2222) Query: Adds WithParameterStream to QueryDefinition to pass in serialized values - [#2165](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2165) & [#2408](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2408) Performance: Adds optimization to reduce header size for gateway mode with session consistency. It now only send specific partition session token like direct mode. ##### Fixed - [#2282](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2282) Query: Fixes COUNT(DISTINCT) to always compute correct value. Any query with more than 1 page of results could produce incorrect values. - [#2405](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2405) Change Feed: Fixes pull model to avoid additional NotModified call - [#2368](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2368) Query: Fixes BadRequest with "Failed to parse ... as ResourceId" for gateway mode on splits. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) - [#2357](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2357) Query: Fixes incorrect RequestCharge and missing headers in FeedResponse for ordered cross-partition queries. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) (Thanks to ccurrens) - [#2409](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2409) Query: Fixes race condition in diagnostics causes missing information and Index out of bound exceptions. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Availability: Fixes race condition in direct + tcp mode causing SDK generated internal server errors and invalid operation exceptions - [#2400](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2400) Availability: Fixes race condition in direct + tcp mode causing unnecessary connections to be created by concurrent requests - [#2392](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2392) Change Feed Estimator: Fixes exception propagation to throw on StartAsync for container/lease not found scenarios. Introduced in 3.17.0 PR [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830) - [#2383](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2383) Availability: Fixes CancellationToken evaluation during failover which could prevent necessary SDK refreshes to occur - [#2376](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2376) Diagnostics: Fixes invalid nesting and handler names in ITrace. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2286) Diagnostics: Fixes regression in ITrace where direct operation diagnostics were not included in exception scenarios. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2424](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2424) Query: Fixes TaskCanceledException being converted to InternalServerError and not including diagnostics on most exceptions. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) ### [`v3.17.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3171-3171---2021-03-19) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.17.0...3.17.1) ##### Fixed - [#2314](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2314) Diagnostics: Fixes InvalidOperationException caused by concurrently modifying a dictionary in TraceWriter. Introduced in 3.17.0 PR [#2242](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2242) - [#2303](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2303) CosmosException : Fixes exception messages to remove JSON formatting - [#2311](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2311) Spatial: Fixes deserialization when Json does not represent a Spatial type - [#2284](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2284) Diagnostics: Adds traces for cache operations. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) - [#2278](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2278) Documentation: Fixes typos in comment examples (Thanks to paulomorgado) - [#2279](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2279) Availability: Fixes region failover logic on control plane hot path when gateway hangs. Introduced in 3.16.0 PR [#1954](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1954) - [#2286](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2286) Diagnostics: Fixes regression which caused ActivityId to not get included. Introduced in 3.17.0 PR [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) ### [`v3.17.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3170-3170---2021-03-02) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.16.0...3.17.0) ##### Added - [#1870](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1870) Batch API: Adds Session token support - [#2145](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2145) EnableContentResponseOnWrite: Adds client level support via CosmosClientOptions and CosmosClientBuilder - [#2166](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2166) QueryRequestOption: Adds optimization to avoid duplicating QueryRequestOption - [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830) & [#2170](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2170) Change Feed Estimator: Adds support for detailed estimation per lease - [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) & [#2204](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2204) & [#2213](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2213) & [#2235](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2235) & [#2236](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2236) & [#2242](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2242) & [#2246](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2246) CosmosDiagnostics: Refactored to use ITrace as the default implementation - [#2206](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2206) LINQ : Adds User Defined Function Translation Support (Thanks to dpiessens) - [#2210](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2210) QueryDefinition: Adds API to get query parameters (Thanks to thomaslevesque) - [#2197](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2197) CosmosClient: Adds CreateAndInitializeAsync method which can be used to avoid latency of warming caches on first operation. - [#2220](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2220) LINQ: Adds camelCase support to GetItemLinqQueryable() as optional parameter - [#2249](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2249) Performance: Adds HTTP optimization to disable Nagle Algorithm for .NET Framework applications ##### Fixed - [#2168](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2168) Query: Fixes a regression in Take operator where it drains the entire query instead of stopping a the take count. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) and reported in issue [#1979](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/1979) - [#2129](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2129) CosmosDiagnostics: Fixes memory leak caused by pagination library holding on to all diagnostics. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) and reported in issue [#2087](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/2087) - [#2103](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2103) Query: Fixes ORDER BY undefined (and mixed type primitives) continuation token support. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) - [#2124](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2124) Bulk: Fixes retry logic to handle RequestEntityTooLarge exceptions caused by the underlying batch request being to large. Introduced in [#741](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/741) - [#2198](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2198) CosmosClientOptions: Fixes a bug causing ConsistentPrefix to be convert to BoundedStaleness. Introduced in 3.1.0 PR [#541](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/541) and reported in issue [#2196](https://togithub.com/Azure/azure-cosmos-dotnet-v3/issues/2196) - [#2262](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2262) CosmosException: Fixes the headers not matching CosmosException property values and incorrect SubStatusCode values on client initialization failures - [#2269](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2269) PermissionProperties: Fixes PermissionProperties to not take dependency on internal type to fix mocking - [#2097](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2097) Diagnostics: Fixes regression in query, change feed, and read feed that causes diagnostics to be empty after first page. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) ### [`v3.16.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3160-3160---2021-01-12) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.15.1...3.16.0) ##### Added - [#2098](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2098) Performance: Adds gateway header optimization - [#1954](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1954) & [#2094](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2094) Control Plane Hot Path: Adds more aggressive timeout and retry logic for getting caches and query plan from gateway - [#2013](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2013) Change Feed Processor: Adds support for EPK leases - [#2016](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2016) Performance: Fixes lock contentions and reduce allocations on TCP requests - [#2000](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2000) Performance: Adds Authorization Helper improvements ##### Fixed - [#2110](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2110) CosmosException: Fixes substatuscode to get the correct value instead of 0 when it is not in the enum - [#2092](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2092) Query: Fixes cancellation token support for the lazy + buffering path - [#2099](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2099) & [#2116](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2116) CosmosDiagnostics: Fixes IndexOutOfRangeException by adding concurrent operation support - [#2096](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2096) AggregateException: Fixes some cache calls to throw original exception instead of AggregateException - [#2044](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2044) Query: Fixes Equals method on SqlParameter class - [#2077](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2077) Availability: Fixes retry behavior on HttpException where SDK will retry on same region instead of secondary region - [#2056](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2056) Performance: Fixes encoded strings performance for query operations - [#2060](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2060) Query: Fixes high CPU usage caused by FeedRange comparison used in LINQ order by operation. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) - [#2041](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2041) Request Charge: Fixes request charges for offers and CreateIfNotExists APIs ### [`v3.15.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3151-3151---2020-12-16) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.15.0...3.15.1) ##### Fixed - [#2069](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2069) Bulk: Fixes incorrect routing on split - [#2047](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2047) Diagnostics: Adds operation name to summary - [#2042](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2042) Change Feed Processor: Fixes StartTime not being correctly applied. Introduced in 3.13.0-preview PR [#1725](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1725) - [#2071](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2071) Diagnostics: Fixes substatuscode when recording internal DocumentClientException ### [`v3.15.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3150-3150---2020-11-17) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.14.0...3.15.0) ##### Added - [#1926](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1926) Query: Adds multiple arguments in IN clause support to c# query parser when service interop is not available. - [#1933](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1933) ChangeFeed: Adds adoption of pagination library - [#1943](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1943) Performance: Adds query optimization by LazyCosmosElement Cache Improvements - [#1944](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1944) Performance: Adds direct version to get response header improvement - [#1947](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1947) ReadFeed: Adds pagination library adoption - [#1949](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1949) Performance: Adds optimized request headers - [#1974](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1974) Performance: Adds Bulk optimization by reducing lock contention in TimerWheel - [#1977](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1977) Performance diagnostics: Adds static timer and caches handler name ##### Fixed - [#1930](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1930) Change Feed: Fixes estimator diagnostics - [#1939](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1939) LINQ: Fixes ArgumentNullException with StringComparison sensitive case (Thanks to ylabade) - [#1940](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1940) LINQ: Fixes CancellationToken bug in CosmosLinqQuery.AggregateResultAsync (Thanks to ylabade) - [#1960](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1960) CosmosClientOptions and ClientBuilder: Fixes ArgumentException when setting null value on HttpClientFactory or WebProxy - [#1961](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1961) RequestOption.Properties: Fixes RequestOption.Properties for CreateContainerIfNotExistsAsync - [#1967](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1967) Query: Fixes CancellationToken logic in pagination library - [#1988](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1988) Query: Fixes split proofing logic for queries with logical partition key - [#1999](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1999) Performance: Fixes exception serialization when tracing is not enabled - [#2004](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/2004) Query: Fixes SplitHandling bug caused by caches not getting refreshed. Introduced in 3.14.0 PR [#1812](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1812) ### [`v3.14.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#Unlisted-see-2004---a-name3140-preview-3140-preview---2020-10-09) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.13.0...3.14.0) ##### Added - [#1830](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1830) Change Feed Estimator: Adds support for detailed estimation per lease ### [`v3.13.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3130-3130---2020-09-21) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.12.0...3.13.0) ##### Added - [#1743](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1743) Query Performance: Adds skipping getting query plan for non-aggregate single partition queries on non-Windows x64 systems when FeedOptions.PartitionKey is set - [#1768](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1768) Performance: Adds SessionToken optimization to reduce header size by removing session token for CRUD on stored procedure, triggers, and UDFs - [#1781](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1781) Performance: Adds headers optimization which can reduce response allocation by 10 KB per a request. - [#1825](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1825) RequestOptions.Properties: Adds the ability for applications to specify request context - [#1835](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1835) Performance: Add HttpClient optimization to avoid double buffering gateway responses - [#1837](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1837) Query SystemFunctions : Adds DateTime System Functions - [#1842](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1842) Query Performance: Adds Singleton QueryPartitionProvider. Helps when Container is getting recreated. - [#1857](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1857) Performance: Adds finalizer optimizations in a few places (Thanks to pentp) - [#1843](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1843) Performance: Adds Transport serialization, SessionTokenMismatchRetryPolicy, and store response dictionary optimizations ##### Fixed - [#1757](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1757) Batch API: Fixes the size limit to reduce timeouts - [#1758](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1758) Connectivity: Fixes address resolution calls when using EnableTcpConnectionEndpointRediscovery - [#1788](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1788) Transient HTTP exceptions: Adds retry logic to all http requests - [#1863](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1863) HttpClientHandler: Fixes HttpClientHandler PlatformNotSupportedException ### [`v3.12.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3120-3120---2020-08-06) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.11.0...3.12.0) ##### Added - [#1548](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1548) Transport: Adds an optimization to unify HttpClient usage across Gateway classes - [#1569](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1569) Batch API: Adds support of request options for transactional batch - [#1693](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1693) Performance: Reduces lock contention on GlobalAddress Resolver - [#1712](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1712) Performance: Adds optimization to reduce AuthorizationHelper memory allocations - [#1715](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1715) Availability: Adds cross-region retry mechanism on transient connectivity issues - [#1721](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1721) LINQ : Adds support for case-insensitive searches (Thanks to jeffpardy) - [#1733](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1733) Change Feed Processor: Adds backward compatibility of lease store ##### Fixed - [#1548](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1548) Availability: Fixes SDK failover logic. An HttpClient used the user configured request timeout on metadata request causing an ambiguous OperationCanceledException instead of the HttpRequestException which is used to trigger failovers. - [#1720](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1720) Gateway Trace: Fixes a bug where the ActivityId is being set to Guid.Empty - [#1728](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1728) Diagnostics: Fixes ActivityScope by moving it to operation level - [#1740](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1740) Connection limits: Fixes .NET core to honor gateway connection limit - [#1744](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1744) Transport: Fixes use of PortReuseMode and other Direct configuration settings ### [`v3.11.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3110-3110---2020-07-07) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.10.1...3.11.0) ##### [3.11.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.11.0) - 2020-07-07 ### [`v3.10.1`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3101-3101---2020-06-18) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.10.0...3.10.1) - [#1637](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1637) TransportHandler : Removes stack trace print. Introduced in 3.10.0 PR 1587 ### [`v3.10.0`](https://togithub.com/Azure/azure-cosmos-dotnet-v3/blob/HEAD/changelog.md#a-name3100-3100---2020-06-18) [Compare Source](https://togithub.com/Azure/azure-cosmos-dotnet-v3/compare/3.9.1...3.10.0) ##### Added - [#1613](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1613) Query FeedIterator: Adds IDisposable to fix memory leak. WARNING: This will require changes to fix static anlysis tools checking for dispose. - [#1550](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1550) CosmosOperationCanceledException: This enables users to access the diagnsotics when an operation is canceled via the cancellation token. The new type extends OperationCanceledException so it does not break current exception handling and includes the CosmosDiagnostic in the ToString(). - [#1578](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1578) Query: Adds memory optimization to prevent coping the buffer - [#1578](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1578) Query: Adds support for ignore case for Contains and StartsWith functions. - [#1602](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1602) Diagnostics: Adds CPU usage to all operations - [#1603](https://togithub.com/Azure/azure-cosmos-dotnet-v3/pull/1603) Documentation: Adds new exception handling documentation ##### Fixed - [#1530](https://togithub.comConfiguration
📅 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 has been generated by Mend Renovate. View repository job log here.