azure-storage-blobs_12.0.0-beta.6
Pre-release
Pre-release
12.0.0-beta.6 (2020-01-14)
New Features
CreateIfNotExists
andDeleteIfExists
for blob containers and blobs.- Add
IsHierarchicalNamespaceEnabled
inGetAccountInfoResult
. - New API:
PageBlobClient::GetPageRangesDiff
andPageBlobClient::GetManagedDiskPageRangesDiff
. - Add
CreateBlobContainer
,DeleteBlobContainer
,UndeleteBlobContainer
intoBlobServiceClient
. - Add
DeleteBlob
intoBlobContainerClient
. - Support setting blob SAS permission with a raw string.
Breaking Changes
- Rename AppendBlobAccessConditions::MaxSize to AppendBlobAccessConditions::IfMaxSizeLessThanOrEqual.
- Rename AppendBlobAccessConditions::AppendPosition to AppendBlobAccessConditions::IfAppendPositionEqual.
- BlobServiceProperties.DefaultServiceVersion is now nullable.
- Rename
DeleteBlobSubRequest::containerName
toDeleteBlobSubRequest::blobContainerName
. - Rename
SetBlobAccessTierSubRequest::containerName
toSetBlobAccessTierSubRequest::blobContainerName
. - Rename
BlobSasBuilder::ContainerName
toBlobSasBuilder::BlobContainerName
. - Rename
BlobSasResource::Container
toBlobSasResource::BlobContainer
. - Rename
AccountSasResource::Container
toAccountSasResource::BlobContainer
- Rename some structs:
CreateContainerResult
toCreateBlobContainerOptions
CreateContainerOptions
toCreateBlobContainerOptions
DeleteContainerResult
toDeleteBlobContainerResult
DeleteContainerOptions
toDeleteBlobContainerOptions
GetContainerPropertiesResult
toGetBlobContainerPropertiesResult
GetContainerPropertiesOptions
toGetBlobContainerPropertiesOptions
SetContainerMetadataResult
toSetBlobContainerMetadataResult
SetContainerMetadataOptions
toSetBlobContainerMetadataOptions
GetContainerAccessPolicyResult
toGetBlobContainerAccessPolicyResult
GetContainerAccessPolicyOptions
toGetBlobContainerAccessPolicyOptions
SetContainerAccessPolicyResult
toSetBlobContainerAccessPolicyResult
SetContainerAccessPolicyOptions
toSetBlobContainerAccessPolicyOptions
AcquireContainerLeaseResult
toAcquireBlobContainerLeaseResult
AcquireContainerLeaseOptions
toAcquireBlobContainerLeaseOptions
RenewContainerLeaseResult
toRenewBlobContainerLeaseResult
RenewContainerLeaseOptions
toRenewBlobContainerLeaseOptions
ReleaseContainerLeaseResult
toReleaseBlobContainerLeaseResult
ReleaseContainerLeaseOptions
toReleaseBlobContainerLeaseOptions
ChangeContainerLeaseResult
toChangeBlobContainerLeaseResult
ChangeContainerLeaseOptions
toChangeBlobContainerLeaseOptions
BreakContainerLeaseResult
toBreakBlobContainerLeaseResult
BreakContainerLeaseOptions
toBreakBlobContainerLeaseOptions
ContainerAccessConditions
toBlobContainerAccessConditions
ListContainersSegmentResult
toListBlobContainersSegmentResult
ListContainersSegmentOptions
toListBlobContainersSegmentOptions
- API signature for CommitBlockList has changed.
BlockType
doesn't need to be specified anymore. PageBlobClient::GetPageRanges
doesn't support getting difference between current blob and a snapshot anymore. UsePageBlobClient::GetPageRangesDiff
instead.- Move Blob SAS into
Azure::Storage::Sas
namespace. - Replace all transactional content MD5/CRC64 with
ContentHash
struct. EncrytionKeySha256
is changed to binary(std::vector<uint8_t>
).ContentMd5
HTTP header is renamed toContentHash
, the type is also changed toContentHash
.ServerEncrypted
fields are renamed toIsServerEncrypted
, and changed to non-nullable type.- Add
Is
prefix to bool variable names. LikeIsAccessTierInferred
,IsDeleted
. IsServerEncrypted
,EncryptionKeySha256
andEncryptionScope
are removed fromClearPageBlobPagesResult
, since they are never returned from storage server.ListBlobsFlatSegment
is renamed toListBlobsSinglePage
.ListBlobsByHierarchySegment
is renamed toListBlobsByHierarchySinglePage
.ListBlobContainersSegment
is renamed toListBlobContainersSinglePage
.FindBlobsByTags
is renamed toFindBlobsByTagsSinglePage
.MaxResults
in list APIs are renamed toPageSizeHint
.- All date time related strings are now changed to
Azure::Core::DateTime
type. - Replace
std::pair<int64_t, int64_t>
withAzure::Core::Http::Range
to denote blob ranges. - Move version strings into
Details
namespace. - Replace scoped enums that don't support bitwise operations with extensible enum.
- Continuation token of result types are changed to nullable.
- Rename
Models::DeleteSnapshotsOption::Only
toModels::DeleteSnapshotsOption::OnlySnapshots
. - Rename
SourceConditions
in API options toSourceAccessConditions
. - Remove Blob Batch.
DownloadBlobResult::Content-Range
is changed to anAzure::Core::Http::Range
, an extra fieldBlobSize
is added.- Remove
Undelete
fromBlobContainerClient
. BlobRetentionPolicy::Enabled
is renamed toBlobRetentionPolicy::IsEnabled
,BlobStaticWebsite::Enabled
is renamed toBlobStaticWebsite::IsEnabled
.- Change type for metadata to case-insensitive
std::map
. - Change parameter type for token credential from
Azure::Identity::ClientSecretCredential
toAzure::Core::TokenCredential
. - Rename member function
GetUri
of client types toGetUrl
. BlobClient::GetBlockBlobClient
,BlobClient::GetAppendBlobClient
andBlobClient::GetPageBlobClient
are renamed toBlobClient::AsBlockBlobClient
,BlobClient::AsAppendBlobClient
andBlobClient::AsPageBlobClient
respectively.