12.0.0-beta.7 (2021-05-15)
New Features
- Added
getAccessPolicy()
andsetAccessPolicy()
toTableClient
andTableAsyncClient
. - Added
getProperties()
,setProperties()
andgetStatistics()
toTableServiceClient
andTableServiceAsyncClient
. - Added the following models:
TableAccessPolicy
TableServiceCorsRule
TableServiceGeoReplication
TableServiceGeoReplicationStatus
TableServiceLogging
TableServiceMetrics
TableServiceProperties
TableServiceRetentionPolicy
TableServiceStatistics
TableSignedIdentifier
Breaking Changes
- Renamed
create()
anddelete()
methods tocreateTable()
anddeleteTable()
onTableClient
andTableAsyncClient
. Also madecreateTable()
and its variants return aTableItem
. - Removed
deleteEntity(String partitionKey, String rowKey, String eTag)
and addeddeleteEntity(TableEntity tableEntity)
in bothTableClient
andTableAsyncClient
. - Made it so that when deleting a table or entity that does not exist, the resulting
404
error gets swallowed instead of thrown. - Removed public APIs supporting the use of
TableEntity
subclasses. - Made the following classes
final
:TableEntity
TableItem
TableClient
TableServiceClient
TableServiceAsyncClient
TableClientBuilder
TableServiceClientBuilder
.
- Removed method overloads that used
timeout
, except in the maximal overload for a method (thewithResponse
variant). - Ensured that all timeout usages are client-side and not server-side.
- Made
createTable()
andcreateTableIfNotExists()
inTableServiceClient
andTableServiceAsyncClient
return aTableClient
andTableAsyncClient
respectively. - Made select in
ListEntitiesOptions
aList
ofStrings
instead of a singleString
. Did the same for select ingetEntity()
andgetEntityWithResponse()
inTableClient
andTableAsyncClient
. - Replaced
retryOptions(RequestRetryOptions)
withretryPolicy(RetryPolicy)
inTableClientBuilder
andTableServiceClientBuilder
. - Removed
TableSharedKeyCredential
in favor of using Azure Core'sAzureNamedKeyCredential
. - Replaced
TableSharedKeyCredentialPolicy
withAzureNamedKeyCredentialPolicy
. - Renamed
UpdateMode
toTableEntityUpdateMode
. - Renamed
TablesServiceVersion
toTableServiceVersion
. - Renamed
getTableUrl()
andgetApiVersion()
togetTableEndpoint()
andgetServiceVersion()
respectively, inTableClient
andTableAsyncClient
. - Renamed
getServiceUrl()
andgetApiVersion()
togetServiceEndpoint()
andgetServiceVersion()
respectively, inTableClient
andTableAsyncClient
. - Renamed
addProperties()
tosetProperties()
inTableEntity
. Also madesetProperties()
replace the contents of properties map with those of the argument, instead of adding them to the existing properties. - Removed dependency on
azure-storage-common
and added direct dependency onazure-core-http-netty
.
Bug Fixes
- Merge operations no longer fail for Cosmos table endpoints.
- Fixed issue with
TablesJacksonSerializer
where it could not handle HTTP responses with empty bodies.
Dependency Updates
- Upgraded
azure-core
dependency to1.16.0
.