Releases: Azure/azure-cosmos-dotnet-v3
3.39.0-preview.0
3.38.0
3.38.0 - 2024-01-31
⚠️ Note: Starting with version3.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 ClientRetryPolicy: Fixes Metadata Requests Retry Policy (#4205)
- 4220 Change Feed Processor: Fixes disposal of unused CancellationTokenSource (#4220)
- 4229 GatewayClientStore: Fixes an issue with dealing with invalid JSON HTTP responses (#4229)
- 4260 Query: Fixes LINQ Translation of SqlNullLiteral Values (#4260)
- 4276 Change Feed Processor: Fixes LeaseLostException on Notifications API for Renewer (#4276)
- 4241 GlobalEndpointManager: Fixes Unobserved and Unhandled Exception from Getting Thrown (#4241)
Added
- 4122 Query: Adds Optimistic Direct Execution configuration override support on the Client (#4122)
- 4240 BulkMode: Adds PartitionKeyRangeId in Bulk Mode and TransactionalBatch Response Headers (#4240)
- 4252 Query: Adds Request Charge to Query Metrics (#4252)
- 4225 Query: Refactors Optimistic Direct Execution to be turned on by default on .NET SDK (#4225). WARNING: This is breaking change for GA. For more details, please take a look at the
3.38.0
Note section. - 4251 Emulator : Adds support for flag in connection string to ignore SSL check (#4251)
- 4279 Region Availability: Adds Spain Central and Mexico Central Regions For Public Usage (#4279)
- 4286 Query: Adds LINQ Support for FirstOrDefault (#4286)
- 4262 PriorityBasedExecution: Adds PriorityLevel in CosmosClientOptions (#4262)
3.37.1
3.37.0
3.37.0-preview
3.37.0-preview - 2023-11-20
Fixed
- 4100 Query : Fixes querying conflicts (#4100)
- 4125 Item Operations: Fixes JsonSerialization exception when MissingMemberHandling = Error on Json default settings when NotFound on Item operations (#4125)
Added
3.36.0
Fixed
#4039 GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh (#4039)
#4098 Distributed Tracing: Fixes dependency failure on appinsights (#4098)
#4097 Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response (#4097)
#4111 Distributed Tracing: Fixes traceid null exception issue (#4111)
Added
#4009 Query: Adds ODE continuation token support for non-ODE pipelines (#4009)
#4078 Query: Adds LINQ RegexMatch Extension method (#4078)
#4001 Query: Adds public backend metrics property to Diagnostics (#4001)
#4016 CosmosClientOptions: Adds support for multiple formats of Azure region names (#4016)
#4056 Client Telemetry: Adds new public APIs (#4056)
Note: Refer this #3983 for API signature and default values.
#4119 TriggerOperation: Adds Upsert Operation Support(#4119)
3.36.0-preview
Fixed
#4039 GatewayAddressCache: Fixes Unobserved Exception During Background Address Refresh (#4039)
#4098 Distributed Tracing: Fixes dependency failure on appinsights (#4098)
#4097 Distributed Tracing: Fixes SDK responses compatibility with opentelemetry response (#4097)
#4111 Distributed Tracing: Fixes traceid null exception issue (#4111)
Added
#4009 Query: Adds ODE continuation token support for non-ODE pipelines (#4009)
#4078 Query: Adds LINQ RegexMatch Extension method (#4078)
#4001 Query: Adds public backend metrics property to Diagnostics (#4001)
#4016 CosmosClientOptions: Adds support for multiple formats of Azure region names (#4016)
#4056 Client Telemetry: Adds new public APIs (#4056)
Note: Refer this #3983 for API signature and default values.
#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
3.35.4-preview
3.35.4-preview - 2023-09-15
Fixed
- 3934 Subpartitioning: Fixes bug for queries on subpartitioned containers with split physical partitions
3.35.4
3.35.3
3.35.3 - 2023-08-10
Fixed
- 4030 Upgrade Resiliency: Fixes Race Condition by Calling Dispose Too Early
Added
- 4019 Upgrade Resiliency: Disables Replica Validation Feature By Default in Preview (The feature was previously enabled by default in the
3.35.2-preview
release)