.NET SDK for Azure Cosmos DB for the core SQL API
: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.
3.38.0
Note section.https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4039 GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh (#4039) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4098 Distributed Tracing: Fixes dependency failure on appinsights (#4098) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4097 Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response (#4097) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4111 Distributed Tracing: Fixes traceid null exception issue (#4111)
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4009 Query: Adds ODE continuation token support for non-ODE pipelines (#4009) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4078 Query: Adds LINQ RegexMatch Extension method (#4078) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4001 Query: Adds public backend metrics property to Diagnostics (#4001) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4016 CosmosClientOptions: Adds support for multiple formats of Azure region names (#4016) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4056 Client Telemetry: Adds new public APIs (#4056) Note: Refer this https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3983 for API signature and default values.
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4119 TriggerOperation: Adds Upsert Operation Support(#4119)#### Added #4056 Client Telemetry: Adds new public APIs (#4056). WARNING: This is breaking change for preview SDK
Note:
isDistributedTracingEnabled
is removed fromCosmosClientOptions
andwithDistributedTracing()
is removed fromCosmosClientBuilder
. Refer this 3983 for new API signature and default values
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4039 GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh (#4039) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4098 Distributed Tracing: Fixes dependency failure on appinsights (#4098) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4097 Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response (#4097) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4111 Distributed Tracing: Fixes traceid null exception issue (#4111)
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4009 Query: Adds ODE continuation token support for non-ODE pipelines (#4009) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4078 Query: Adds LINQ RegexMatch Extension method (#4078) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4001 Query: Adds public backend metrics property to Diagnostics (#4001) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4016 CosmosClientOptions: Adds support for multiple formats of Azure region names (#4016) https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4056 Client Telemetry: Adds new public APIs (#4056) Note: Refer this https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3983 for API signature and default values.
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4119 TriggerOperation: Adds Upsert Operation Support(#4119)
3.35.2-preview
release)