- Fixed data race on clientRetryPolicy. See PR 23061
- Fixed ReplaceThroughput operations on Database and Container. See PR 22923
- Reduces minimum required go version to 1.21
- Added regional routing support through ClientOptions.PreferredRegions
- Added cross-region availability and failover mechanics supporting Azure Cosmos DB SDK multiregional environment behavior
- Added extended logging for requests, responses, and client configuration
- ItemOptions.SessionToken, QueryOptions.SessionToken, QueryOptions.ContinuationToken, QueryDatabasesOptions.ContinuationToken, QueryContainersOptions.ContinuationToken are now
*string
- ItemResponse.SessionToken, QueryItemsResponse.ContinuationToken, QueryContainersResponse.ContinuationToken, QueryDatabasesResponse.ContinuationToken are now
*string
- Fixed PatchItem function to respect EnableContentResponseOnWrite
- Added support for accounts with merge support enabled
- Fixed unmarshalling error when using projections in value queries
- Added
NullPartitionKey
variable to create and query documents with null partition key in CosmosDB
- Added
PatchItem
function to patch documents - Added support for querying databases and containers
- Added
NewClientFromConnectionString
function to create client from connection string - Added support for parametrized queries through
QueryOptions.QueryParameters
- Fixed handling of ids with whitespaces and special supported characters
- Added Transactional Batch support
- Update to latest
azcore
andinternal
modules
- Added single partition query support.
- Added Azure AD authentication support through
azcosmos.NewClient
- This module now requires Go 1.18
- Failed API calls will now return an
*azcore.ResponseError
type.
- Updated to latest
azcore
. Public surface area is unchanged. However, theazcore.HTTPResponse
interface has been removed.
- This is the initial preview release of the
azcosmos
library