Skip to content

Releases: Azure/azure-cosmos-dotnet-v3

3.29.0-preview

11 Jul 19:24
Compare
Choose a tag to compare
3.29.0-preview Pre-release
Pre-release

3.29.0-preview - 2022-07-08

Added

  • #3277, #3261 Open Telemetry: Adds Open Telemetry support
  • #3265, #3285 Change Feed Processor: Adds Task.Delay check to prevent stalling
  • #3308 Dependencies: System.ConfigurationManager is upgraded to 6.0.0 tied to the .NET 6.0 release, which still supports .NET Standard 2.0, so it is not a breaking change.
  • #3308 Performance: Replaces DateTime.UtcNow with Rfc1123DateTimeCache.UtcNow()
  • #3320 Performance: Adds use of ValueStopwatch instead of Stopwatch
  • #3276 KeyRefresh: Adds AzureKeyCredential support to enable key refresh scenarios
  • #3322 Query: Adds new DLL dependencies for ServiceInterop.dll

Fixed

  • #3278, #3310 CosmosClient: Fixes ObjectDisposedException during Background Refresh by adding Cancellation Token
  • #3309 Documentation: Fixes Container.PatchItemAsync example
  • #3309 Serialization: Fixes default JsonSerializerSettings for GHSA-5crp-9r3c-p9vr
  • #3319 OperationCanceledException: Adds Exception Trace as Child to reduce noise on the top level of Diagnostics
  • #3308 ObjectDisposedException: Fixes ObjectDisposedException during Bounded Staleness/Strong barrier requests

3.28.0

14 Jun 20:12
e8d81a1
Compare
Choose a tag to compare

3.28.0 - 2022-06-14

Added

  • #3257 CosmosClientBuilder: Adds BuildAndInitializeAsync to match CosmosClient.CreateAndInitializeAsync
  • #3211 Client Encryption: Adds change to allow partition key path and id to be part of client encryption policy
  • #3236 MalformedContinuationTokenException: Adds the use of a new substatus code when throwing to programmatically determine the cause of the BadRequest
  • #3236 CosmosException: Adds custom messages for Service Unavailable scenarios to guide customer investigation

Fixed

  • #3253 CosmosOperationCanceledException: Fixes Closure on Cancellation Token status
  • #3252 Telemetry: Fixes Inconsistent behavior of VM Metadata Async Initialization
  • #3224 LINQ: Fixes preserve DateTime.Kind when passing value to custom JsonConverter (Thanks @ccurrens)
  • #3236 Diagnostics: Fixes Exception caused when checking OS version of some Android Devices
  • #3236 Diagnostics: Fixes CPU NaN value causing broken json formatting on some devices

3.28.0-preview

14 Jun 20:13
e8d81a1
Compare
Choose a tag to compare
3.28.0-preview Pre-release
Pre-release

3.28.0-preview - 2022-06-14

Added

  • #3257 CosmosClientBuilder: Adds BuildAndInitializeAsync to match CosmosClient.CreateAndInitializeAsync
  • #3211 Client Encryption: Adds change to allow partition key path and id to be part of client encryption policy
  • #3236 MalformedContinuationTokenException: Adds the use of a new substatus code when throwing to programmatically determine the cause of the BadRequest
  • #3236 CosmosException: Adds custom messages for Service Unavailable scenarios to guide customer investigation

Fixed

  • #3253 CosmosOperationCanceledException: Fixes Closure on Cancellation Token status
  • #3252 Telemetry: Fixes Inconsistent behavior of VM Metadata Async Initialization
  • #3224 LINQ: Fixes preserve DateTime.Kind when passing value to custom JsonConverter (Thanks @ccurrens)
  • #3236 Diagnostics: Fixes Exception caused when checking OS version of some Android Devices
  • #3236 Diagnostics: Fixes CPU NaN value causing broken json formatting on some devices

3.27.2

02 Jun 16:19
87f5cbc
Compare
Choose a tag to compare

3.27.2 - 2022-06-02

Added

  • #3231 Diagnostics: Adds Connection Mode to Client Configuration
  • #3234 CosmosOperationCanceledException: Adds short link and cancellation token status into message

Fixed

  • #3226 Query: Fixes DllNotFoundException when running on Windows/x64
  • #3227 Traces: Fixes message on SDK initialization when not running on Azure VM
  • #3242 CosmosClient Constructor: Fixes NullReferenceException when AzMetadata.Compute is null. Introduced in 3.27.0 PR #3100

3.27.2-preview

02 Jun 16:20
87f5cbc
Compare
Choose a tag to compare
3.27.2-preview Pre-release
Pre-release

3.27.2-preview - 2022-06-02

Added

  • #3231 Diagnostics: Adds Connection Mode to Client Configuration
  • #3234 CosmosOperationCanceledException: Adds short link and cancellation token status into message

Fixed

  • #3226 Query: Fixes DllNotFoundException when running on Windows/x64
  • #3227 Traces: Fixes message on SDK initialization when not running on Azure VM
  • #3242 CosmosClient Constructor: Fixes NullReferenceException when AzMetadata.Compute is null. Introduced in 3.27.0 PR #3100

3.27.1

25 May 13:39
470d6de
Compare
Choose a tag to compare

3.27.1 - 2022-05-25

Added

  • #3177 Performance: Adds optimized request headers
  • #3202 Diagnostics: Adds Application region into Client Configuration
  • #3194 Diagnostics: Adds Processor count
  • #3180 Diagnostics: Adds Continuation Token from partition key range cache
  • #3176 Diagnostics: Adds request session token

Fixed

  • #3190 LINQ: Fixes NullReferenceException when using a static field or property. Introduced in 3.27.0 PR #2924

3.27.1-preview

25 May 13:38
470d6de
Compare
Choose a tag to compare
3.27.1-preview Pre-release
Pre-release

3.27.1-preview - 2022-05-25

Added

  • #3177 Performance: Adds optimized request headers
  • #3202 Diagnostics: Adds Application region into Client Configuration
  • #3194 Diagnostics: Adds Processor count
  • #3180 Diagnostics: Adds Continuation Token from partition key range cache
  • #3176 Diagnostics: Adds request session token

Fixed

  • #3190 LINQ: Fixes NullReferenceException when using a static field or property. Introduced in 3.27.0 PR #2924

3.27.0

06 May 20:43
51be60e
Compare
Choose a tag to compare

3.27.0 - 2022-05-06

Added

  • #3123 Availability: Adds optimization to reduce reduce metadata calls for addresses
  • #3127 Availability: Adds logic to reduce impact of replica failovers and upgrades
  • #3093 Patch: Adds Null support for Set operation
  • #3111 & #3015 Merge support: Minimum SDK version that includes partition merge support.
  • #2924 Performance: Adds a LINQ optimization for member access in LINQ-to-SQL (Thanks @notheotherben)
  • #3165 Diagnostics: Adds response serialization time
  • #3168 Performance: Adds aggressive prefetching for scalar aggregates for Query

Fixed

  • #3102 Upsert item: Fixes a bug causing session tokens for partition 0 to be overridden by session token for another partition when users don't pass the token as input
  • #3119 Session: Fixes NotFound/ReadSessionNotAvailable (404/1002) on collection-recreate scenario for query-only workloads
  • #3124 Change Feed Processor: Fixes noisy error notification when lease is stolen by other host
  • #3141 Diagnostics: Fixes contacted replica count
  • #3173 UserAgent: Optimized size by removing irrelevant information

3.27.0-preview

06 May 22:16
51be60e
Compare
Choose a tag to compare
3.27.0-preview Pre-release
Pre-release

3.27.0-preview - 2022-05-06

Added

  • #3123 Availability: Adds optimization to reduce reduce metadata calls for addresses
  • #3127 Availability: Adds logic to reduce impact of replica failovers and upgrades
  • #3093 Patch: Adds Null support for Set operation
  • #3111 & #3015 Merge support: Minimum SDK version that includes partition merge support.
  • #2924 Performance: Adds a LINQ optimization for member access in LINQ-to-SQL (Thanks @notheotherben)
  • #3165 Diagnostics: Adds response serialization time
  • #3168 Performance: Adds aggressive prefetching for scalar aggregates for Query

Fixed

  • #3102 Upsert item: Fixes a bug causing session tokens for partition 0 to be overridden by session token for another partition when users don't pass the token as input
  • #3119 Session: Fixes NotFound/ReadSessionNotAvailable (404/1002) on collection-recreate scenario for query-only workloads
  • #3124 Change Feed Processor: Fixes noisy error notification when lease is stolen by other host
  • #3141 Diagnostics: Fixes contacted replica count
  • #3173 UserAgent: Optimized size by removing irrelevant information

3.26.2

05 May 18:35
Compare
Choose a tag to compare

3.26.2 - 2022-05-05

  • #3155 Query: Fixes "System.ArgumentException: Stream was not readable." when using WithParameterStream
  • #3154 Query: Fixes possible missing query results on Windows x64 when using a custom serializer
  • #3137 Query: Fixes exception message readability for invalid query text. Introduced in 3.14.0 PR #1812