Skip to content

Releases: Azure/azure-cosmos-dotnet-v3

3.22.0-preview

07 Oct 01:49
d0994b9
Compare
Choose a tag to compare
3.22.0-preview Pre-release
Pre-release

3.22.0-preview - 2021-10-07

Added

  • #2753 CosmosClientBuilder: Adds overload for passing TokenCredential (Thanks @levimatheri)
  • #2732 Diagnostics: Adds request summary
  • #2746 Bulk: Adds validation to throw if ItemRequestOptions.Properties is set with bulk enabled.
  • #2777 RetryWith(449): Adds improved 449 retry logic to be more aggressive on retries

Fixed

  • #2776 Query: Fixes a bug where max page size is not being honored after the first 2 pages. Introduced in 3.17.0 2144
  • #2712 Serialized types: Fixes public types(Database Properties, ContainerProperties, etc..) to be upgrade safe so new content is not lost on deserialize and serialize paths
  • #2739 Bulk: Fixes item response to include SessionToken and ActivityId
  • #2764 ChangeFeedProcessor: Fixes log to remove expected 404 scenarios during lease release
  • #2777 InvalidOperationException: Fixes a race condition multiple threads try to modify exception header causing a InvalidOperationException
  • #2777 Diagnostics: Fix issue causing CPU usage to be NaN intermittently. Introduced in 3.21.0 PR 2687

3.21.0

10 Sep 23:41
bfa1845
Compare
Choose a tag to compare

3.21.0 - 2021-09-10

Added

  • #2612 Query: Adds PopulateIndexMetrics request options
  • #2650 Change Feed Processor: Adds detailed delegate context, stream, and manual check pointing support
  • #2687 Diagnostics: Adds memory usage, thread starvation detection, optimizations to collection logic
  • #2719 CosmosException: Adds diagnostics to CosmosException.Message for status codes: 408, 500, 503, 404/1002
  • #2724 Availability: Adds EnableTcpConnectionEndpointRediscovery to true by default

Fixed

  • #2599 Diagnostics: Fixes duration for HttpResponseStatistics
  • #2646 OperationCanceledException: Fixes lost CancellationToken on CosmosOperationCanceledException (Thanks to askazakov)
  • #2509 GlobalEndpointManager: Fixes exception handling to have the inner exception stacktrace
  • #2611 Query: Fixes c# query parser to handle Alias in from clause
  • #2661 ReadMany: Fixes ReadMany API for PartitionKey.None value
  • #2675 Change Feed: Fixes migration path from preview continuation
  • #2676 Performance: Fixes query performance regression. Introduced in 3.17.0 PR 2144
  • #2687 Diagnostics: Fixes StoreResult start and end time to be accurate and removes duplicate CPU collector
  • #2697 Azure Active Directory(AAD): Fixes stuck requests when background refresh fails to refresh token
  • #2708 Query: Fixes order by logic to throw original exception instead of AggregateException (Thanks to askazakov)
  • #2710 Security: Fixes ServiceInterop.dll to be BinSkim compliant by adding /guard /Qspectre flags

3.21.0-preview

10 Sep 23:49
bfa1845
Compare
Choose a tag to compare
3.21.0-preview Pre-release
Pre-release

3.21.0-preview - 2021-09-10

Added

  • #2577 ResponseMessage : Adds setter for Diagnostics
  • #2613 Change Feed Processor: Adds notification APIs

Fixed

  • #2599 Diagnostics : Fixes CosmosResponseFactory.CreateItemResponse to use ResponseMessage.Diagnostics instead of creating a new instance

3.20.1

01 Jul 16:59
e2029f2
Compare
Choose a tag to compare

3.20.1 - 2021-07-01

Fixed

  • #2450 Query: Fixes c# parser grammar for recognizing string literal which will avoid falling back to gateway to get the query plan.
  • #2574 UserAgent: Fixes race condition in user agent string creation and limits client id to 10. Introduced in 3.20.0 PR 2552
  • #2580 LINQ : Fixes ArgumentNullException while calling ToQueryDefinition() when no filters are applied.

3.20.1-preview

07 Jul 19:40
e2029f2
Compare
Choose a tag to compare
3.20.1-preview Pre-release
Pre-release

3.20.1-preview - 2021-07-07

Fixed

  • #2450 Query: Fixes c# parser grammar for recognizing string literal which will avoid falling back to gateway to get the query plan.
  • #2574 UserAgent: Fixes race condition in user agent string creation and limits client id to 10. Introduced in 3.20.0 PR 2552
  • #2580 LINQ : Fixes ArgumentNullException while calling ToQueryDefinition() when no filters are applied.

3.20.0

21 Jun 18:25
c61ceac
Compare
Choose a tag to compare

3.20.0 - 2021-06-21

Added

  • #2509 Change Feed: Adds change feed iterator APIs on containers
  • #2558 Diagnostics: Adds Duration field to HttpResponseStatistics in Diagnostics
  • #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 ReadMany: Fixes AddRequestHeaders request option and missing headers and message on failure scenarios
  • #2510 Query: Fixes InvalidOperationException when partitions are merged. Introduced in 3.17.0 PR #2084.
  • #2510 Query: Fixes handling of pipeline execution on partition merge. Introduced in 3.17.0 PR #2084.
  • #2547 Query: Fixes incorrect order by query when the field is an object or array
  • #2511 Availability: Fixes get account info retry logic to not go to secondary regions on 403(Forbidden)
  • #2512 Caches: Fixes the cache to remove values if generator throws an exception. Thanks @johngallardo.
  • #2516 Diagnostics: Fixes a race condition causing InvalidOperationException. Introduced in 3.17.0 PR #2097
  • #2530 Gateway: Fixes container recreate scenarios for Gateway Mode in session consistency. Introduced in 3.18.0 PR #2165
  • #2552 UserAgent: Fixes UserAgent to have the correct number of clients
  • #2562 Diagnostics: Fixes NullReferenceException in service unavailable scenarios. Introduced in 3.18.0 PR #2312

3.20.0-preview

21 Jun 20:06
c61ceac
Compare
Choose a tag to compare
3.20.0-preview Pre-release
Pre-release

3.20.0-preview - 2021-06-21

Added

  • #2509 Change Feed: Adds change feed iterator APIs on containers
  • #2558 Diagnostics: Adds Duration field to HttpResponseStatistics in Diagnostics
  • #2491 Change Feed Processor: Adds support for Graph API accounts. Graph API accounts can now create lease containers with /partitionKey instead of /id.
  • #2488 Change Feed Processor: Refactors checkpoint API to throw exception. Introduced in #2331. This is considered a breaking change on the preview API as it evolves into GA.

Fixed

  • #2567 ReadMany: Fixes AddRequestHeaders request option and missing headers and message on failure scenarios
  • #2510 Query: Fixes InvalidOperationException when partitions are merged. Introduced in 3.17.0 PR #2084.
  • #2510 Query: Fixes handling of pipeline execution on partition merge. Introduced in 3.17.0 PR #2084.
  • #2547 Query: Fixes incorrect order by query when the field is an object or array
  • #2511 Availability: Fixes get account info retry logic to not go to secondary regions on 401(Forbidden)
  • #2512 Caches: Fixes the cache to remove values if generator throws an exception. Thanks @johngallardo.
  • #2516 Diagnostics: Fixes a race condition causing InvalidOperationException. Introduced in 3.17.0 PR #2097
  • #2530 Gateway: Fixes container recreate scenarios for Gateway Mode in session consistency. Introduced in 3.18.0 PR #2165
  • #2552 UserAgent: Fixes UserAgent to have the correct number of clients
  • #2562 Diagnostics: Fixes NullReferenceException in service unavailable scenarios. Introduced in 3.18.0 PR #2312

3.19.0

25 May 17:27
dc4cc73
Compare
Choose a tag to compare

3.19.0 - 2021-05-25

Added

  • #2482 Azure Active Directory: Adds CosmosClient TokenCredential APIs
  • #2440 Performance: Adds Bulk optimizations to reduce allocations and improves async task handling
  • #2447 Availability: Adds account refresh logic on gateway outage instead of waiting on 5min background refresh
  • #2493 NullReferenceException: Adds logic to append the CosmosDiagnostics to NullReferenceExceptions
  • #2465 ObjectDisposedException: Adds logic to append the CosmosDiagnostics to ObjectDisposedException
  • #2390 Bulk: Adds retry for patch operations when request is to large
  • #2487 UserAgent: Adds flag to user agent to show if region failover is configured

Fixed

  • #2451 Query: Fixes native c# parser not recognizing query with multiple IN statements. Introduced in 3.13.0 PR #1743
  • #2451 Bulk: Fixes diagnostic traces by removing redundant info and adding correct retry context. Introduced in 3.17.0 PR #2097
  • #2460 Permission: Fixes documentation on resource token range limit. (Thanks to arorainms)
  • #2490 Change Feed: Fixes CancellationToken to be honored. Introduced in 3.15.0 PR #1933
  • #2483 Availability: Fixes the get account information to stop the background refresh after CosmosClient is disposed. Introduced in 3.18.0 PR #2355
  • #2481 Azure Active Directory: Fixes token refresh interval, exception handling, and retry logic
  • #2474 Change Feed: Fixes exceptions generating "Change Feed should always have a next page". Introduced in 3.15.0 PR #1933
  • #2498 Diagnostics: Fixes default setting in Consistency Config Serialization. Introduced in 3.18.0 PR #2250

3.19.0-preview1

18 May 11:13
fc09b62
Compare
Choose a tag to compare
3.19.0-preview1 Pre-release
Pre-release

3.19.0-preview1 - 2021-05-17

Added

  • #2398 Patch : Adds TrySerializeValueParameter method for PatchOperation
  • #2440 Performance: Adds Bulk optimizations to reduce allocations and improves async task handling
  • #2447 Availability: Adds account refresh logic on gateway outage instead of waiting on 5min background refresh
  • #2449 Client encryption: Adds PolicyFormatVersion and validation that partition key paths are not encrypted

Fixed

  • #2451 Query: Fixes native c# parser not recognizing query with multiple IN statements. Introduced in 3.13.0 PR #1743
  • #2451 Bulk: Fixes diagnostic traces by removing redundant info and adding correct retry context. Introduced in 3.17.0 PR #2097
  • #2460 Permission: Fixes documentation on resource token range limit. (Thanks to arorainms)

Encryption/1.0.0-previewV14

29 Apr 12:06
433857d
Compare
Choose a tag to compare
Pre-release

1.0.0-previewV14 - 2021-04-29

Added

  • #2433 Adds integration with latest CosmosDb Preview Package - 3.19.0-preview.