github Azure/azure-sdk-for-js @azure/cosmos_4.0.0

latest releases: @azure/identity_4.5.0-beta.3, @azure/openai_1.0.0-beta.13, @azure/openai-assistants_1.0.0-beta.6...
12 months ago

4.0.0 (2023-09-12)

Features Added

  • Added Changefeed support for partition keys, feed ranges, and entire container. #18062
  • Added Diagnostics to all response objects, i.e. ResourceResponse (parent class for ItemRespone, ContainerResponse etc.), FeedResponse, ChangeFeedIteratorResponse,
    ErrorResponse, BulkOperationResponse. #21177
  • Added support for hierarchical partitions. #23416
  • Added support of index metrics. #20194
  • Improved the retry utility to align with other language SDKs. Now, it automatically retries requests on the next available region when encountering HTTP 503 errors (Service Unavailable)
    and handles HTTP timeouts more effectively, enhancing the SDK's reliability. #23475
  • Added priority based throttling. docs #26393

Bugs Fixed

  • Updated response codes for the getDatabase() method. #25932
  • Fix Upsert operation failing when partition key of container is /id and /id is missing in the document. #21383

Breaking Changes

  • The definition of PartitionKey is changed, PartitionKeyDefinition is now a independent type. #23416

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

NewReleases is sending notifications on new releases.