github Azure/azure-sdk-for-go sdk/data/azcosmos/v1.5.0

1.5.0 (2026-07-13)

Breaking Changes

  • Removed the external query engine integration from QueryOptions and deleted the sdk/data/azcosmos/queryengine package for the 1.5.0 GA release. This feature will return in the upcoming 1.6.0 preview release. See PR 27134.
  • Renamed ChangeFeedResponse.GetContRanges() to ChangeFeedResponse.GetContinuationRange(). This API was previously only present in a beta release. See PR 27148.
  • Renamed ChangeFeedResponse.Documents to ChangeFeedResponse.Items and changed its type from []json.RawMessage to [][]byte. This API was previously only present in a beta release. See PR 27175.
  • Renamed ContainerClient.GetFeedRanges and ContainerClient.GetChangeFeed to ContainerClient.ReadFeedRanges and ContainerClient.ReadChangeFeed, respectively. This API was previously only present in a beta release. See PR 27183.
  • Renamed the ReadManyOptions type to ReadManyItemsOptions to align with the ReadManyItems method. This API was previously only present in a beta release. See PR 27183.
  • Added a *FeedRangesOptions parameter to ContainerClient.ReadFeedRanges. This API was previously only present in a beta release. See PR 27175.
  • Renamed ChangeFeedRangeOptions.EpkMinHeader and ChangeFeedRangeOptions.EpkMaxHeader to EPKMinHeader and EPKMaxHeader. These fields were previously only present in a beta release. See PR 27166.
  • Diagnostics.StartTimeUTC() now returns a time.Time (zero value when no diagnostics are present) instead of a *time.Time. This API was previously only present in a beta release. See PR 27166.
  • Removed the NewFeedRange constructor. Construct a FeedRange directly using a struct initializer instead. This API was previously only present in a beta release. See PR 27166.
  • Removed the PriorityLevel.ToPtr method. Use to.Ptr from azcore instead. This API was previously only present in a beta release. See PR 27166.

Other Changes

  • The per-account metadata caches (the shared container-properties and partition-key-range caches, see PR 26723) are now held in the process-wide registry via weak references. This lets the garbage collector reclaim a Client's caches once the client is discarded, greatly reducing the memory retained when a Client is dropped without calling Close. See PR 27166.

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

NewReleases is sending notifications on new releases.