1.5.0 (2026-07-13)
Breaking Changes
- Removed the external query engine integration from
QueryOptionsand deleted thesdk/data/azcosmos/queryenginepackage 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()toChangeFeedResponse.GetContinuationRange(). This API was previously only present in a beta release. See PR 27148. - Renamed
ChangeFeedResponse.DocumentstoChangeFeedResponse.Itemsand changed its type from[]json.RawMessageto[][]byte. This API was previously only present in a beta release. See PR 27175. - Renamed
ContainerClient.GetFeedRangesandContainerClient.GetChangeFeedtoContainerClient.ReadFeedRangesandContainerClient.ReadChangeFeed, respectively. This API was previously only present in a beta release. See PR 27183. - Renamed the
ReadManyOptionstype toReadManyItemsOptionsto align with theReadManyItemsmethod. This API was previously only present in a beta release. See PR 27183. - Added a
*FeedRangesOptionsparameter toContainerClient.ReadFeedRanges. This API was previously only present in a beta release. See PR 27175. - Renamed
ChangeFeedRangeOptions.EpkMinHeaderandChangeFeedRangeOptions.EpkMaxHeadertoEPKMinHeaderandEPKMaxHeader. These fields were previously only present in a beta release. See PR 27166. Diagnostics.StartTimeUTC()now returns atime.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
NewFeedRangeconstructor. Construct aFeedRangedirectly using a struct initializer instead. This API was previously only present in a beta release. See PR 27166. - Removed the
PriorityLevel.ToPtrmethod. Useto.Ptrfromazcoreinstead. 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 aClientis dropped without callingClose. See PR 27166.