github Azure/azure-sdk-for-java azure-cosmos_4.45.0

4.45.0 (2023-05-12)

Features Added

  • Added support for priority based throttling - See PR 34121
  • Added configurability for minimum connection pool size for all containers through a system property - COSMOS.MIN_CONNECTION_POOL_SIZE_PER_ENDPOINT - See PR 33983.
  • Added CosmosContainerProactiveInitConfigBuilder:setAggressiveWarmupDuration(Duration aggressiveWarmupDuration) public API to switch between aggressively opening connections
    in a blocking manner to defensively opening connections in a non-blocking manner after aggressiveWarmupDuration has elapsed - See PR 33983.
  • Added end to end timeout policy for item operations. Requests will be cancelled if they have not finished before the configured timeout - See PR 34554.
  • Added capability to sample diagnostics dynamically (without need to reinitialize the app or the Cosmos Client instance). - See PR 34915.

Bugs Fixed

  • Fixed IllegalArgumentException in changeFeedProcessor when maxScaleCount is configured - See PR 34618
  • Removed custom user agent suffix from client telemetry - See PR 34866
  • Fixed an issue where userAgentSuffix is not being used in CosmosDiagnostics - See PR 34863
  • Enabled proactive connection management to only reopen closed / reset connections to those endpoints used by containers which
    were part of the connection warm up flow - See PR 34892

Other Changes

  • Disabled initialization of client telemetry background threads if client telemetry is disabled - See PR 34889
  • Removed synchronized locking on generating random UUIDs - See PR 34879
  • Capture diagnostics for cancelled RNTBD requests - See PR 34912

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.