Releases: Azure/azure-sdk-for-cpp
Releases · Azure/azure-sdk-for-cpp
azure-storage-files-datalake_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added
Owner
,Permissions
, andGroup
toGetDataLakePathAccessControlResult
. DownloadDataLakeFileResult
now has a new fieldFileSize
.- Added support for
GetAccessPolicy
andSetAccessPolicy
inDataLakeFileSystemClient
. - Moved all protocol layer generated result types to
Details
namespace. - Renamed
FileSystem
type returned fromListDataLakeFileSystems
to beFileSystemItem
. Member object nameFileSystems
is renamed toItems
. - Renamed
Path
type returned fromListDataLakePaths
to bePathItem
. Member object namePaths
is renamed toItems
. - Added support for specifying public access type when creating a file system.
- Added
DataLakeDirectoryClient::ListPathsSinglePage
API to list DataLake paths under certain directory. - Added
Metadata
,AccessType
,HasImmutabilityPolicy
,HasLegalHold
,LeaseDuration
,LeaseState
andLeaseStatus
toFileSystemItem
. - Added new type
LeaseDurationType
to indicate if a lease duration is fixed or infinite. - Added
RequestId
in each return type for REST API calls, except for concurrent APIs. - Added
UpdateAccessControlListRecursiveSinglePage
to update the access control recursively for a datalake path. - Added
RemoveAccessControlListRecursiveSinglePage
to remove the access control recursively for a datalake path.
Breaking Changes
- Removed
GetDfsUri
in all clients since they are currently implementation details. - Removed
Data
suffix forFlushData
andAppendData
and modified all related structs to align the change. DataLakePathClient
can no longer set permissions withSetAccessControl
, instead, a new APISetPermissions
is created for such functionality. Renamed the original API toSetAccessControlList
to be more precise.ContentRange
inDownloadDataLakeFileResult
is nowAzure::Core::Http::Range
.- Removed
ContentRange
inPathGetPropertiesResult
. - Renamed
ContentLength
inGetDataLakePathPropertiesResult
andCreateDataLakePathResult
toFileSize
to be more accurate. - Renamed
GetUri
toGetUrl
. - Added
DataLakeLeaseClient
, all lease related APIs are moved toDataLakeLeaseClient
. - Changed lease duration to be
std::chrono::seconds
. - Removed
Directory
inListPathsSinglePageOptions
. - Removed unused type
AccountResourceType
andPathLeaseAction
. - Changed all previous
LeaseDuration
members to a new type namedLeaseDurationType
. startsOn
parameter forGetUserDelegationKey
was changed to optional.- Removed
PreviousContinuationToken
fromListFileSystemsSinglePageResult
. Concurrency
,ChunkSize
andInitialChunkSize
were moved intoDownloadDataLakeFileToOptions::TansferOptions
.Concurrency
,ChunkSize
andSingleUploadThreshold
were moved intoUploadDataLakeFileFromOptions::TransferOptions
.- Removed
Rename
fromDataLakeDirectoryClient
andDataLakeFileClient
. Instead, addedRenameFile
andRenameSubdirectory
toDataLakeDirectoryClient
and addedRenameFile
andRenameDirectory
toDataLakeFileSystemClient
. - Rename APIs now return the client of the resource it is renaming to.
- Removed
Mode
for rename operations' options, that originally controls the rename mode. Now it is fixed to legacy mode. - Changed
SetAccessControlRecursive
toSetAccessControlRecursiveListSinglePage
, to mark that it is a single page operation, and removed themode
parameter, separated the modify/delete functionality to two new APIs. - Moved
SetAccessControlRecursiveListSinglePage
toDataLakePathClient
. - Changed
MaxRecord
toMaxEntries
,ForceFlag
toContinueOnFailure
to be more accurate names. - Type for ETag was changed to
Azure::Core::ETag
. - Type for
IfMatch
andIfNoneMatch
was changed toAzure::Core::ETag
. - Renamed
ListDataLakeFileSystemsIncludeItem
toListDataLakeFileSystemsIncludeFlags
. - Removed
DataLakeDirectoryClient::Delete
andDataLakeDirectoryClient::DeleteIfExists
. AddedDataLakeDirectoryClient::DeleteEmpty
,DataLakeDirectoryClient::DeleteEmptyIfExists
,DataLakeDirectoryClient::DeleteRecursive
andDataLakeDirectoryClient::DeleteRecursiveIfExists
instead. - Removed
ContinuationToken
inDeleteDataLakePathResult
andDeleteDataLakeDirectoryResult
, as they will never be returned for HNS enabled accounts. - Renamed
DataLakeFileClient::Read
toDataLakeFileClient::Download
. Also changed the memberAzure::Core::Nullable<bool> RangeGetContentMd5
in the option to beAzure::Core::Nullable<HashAlgorithm> RangeHashAlgorithm
instead. - Moved some less commonly used properties into a details data structure for
Download
,DownloadTo
andListFileSystemsSinglePage
API, and enriched the content of the mentioned details data structure.
Other Changes and Improvements
- Changed
DataLakeFileClient::Flush
'sendingOffset
parameter's name toposition
. - Renamed
DataLakePathClient::GetAccessControls
toDataLakePathClient::GetAccessControlList
. - Removed unused parameters, options, results and functions in protocol layer.
azure-storage-common_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added additional information in
StorageException
.
Breaking Changes
AccountSasResource::BlobContainer
was renamed toAccountSasResource::Container
.
Bug Fixes
- Fixed
ClientRequestId
wasn't filled inStorageException
.
azure-storage-blobs_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added
RequestId
in API return types. - Added some new properties in
GetBlobPropertiesResult
,DownloadBlobResult
andDownloadBlobToResult
. - Added
RangeHashAlgorithm
inDownloadBlobOptions
. - Added
UploadBlob
inBlobContainerClient
.
Breaking Changes
UserDelegationKey
was changed to a member ofGetUserDelegationKeyResult
rather than a typedef like before.AccessType
inCreateBlobContainerOptions
was changed to non-nullable.ListType
inGetBlockListOptions
was changed to non-nullable.- Added
BlobLeaseClient
, all lease related APIs are moved toBlobLeaseClient
. - Type for lease duration in requests was changed to
std::chrono::seconds
, in response was changed to enum. PublicAccessType::Private
was renamed toPublicAccessType::None
.startsOn
parameter forGetUserDelegationKey
was changed to optional.- Removed
IfUnmodifiedSince
fromSetBlobContainerMetadataOptions
. - Return types of
BlobClient::StartCopyFromUri
andPageBlobClient::StartCopyIncremental
were changed toStartCopyBlobResult
, supporting poll operations. - Fixed typo
Expiries
in model types. - Removed
PreviousContinuationToken
fromListBlobContainersSinglePageResult
,ListBlobsByHierarchySinglePageResult
andListBlobsSinglePageResult
. ListBlobContainersIncludeItem
was renamed toListBlobContainersIncludeFlags
.ListBlobsIncludeItem
was renamed toListBlobsIncludeFlags
.Concurrency
,ChunkSize
andInitialChunkSize
were moved intoDownloadBlobToOptions::TansferOptions
.Concurrency
,ChunkSize
andSingleUploadThreshold
were moved intoUploadBlockBlobFromOptions::TransferOptions
.- Removed
TagValue
fromFilterBlobItem
, removedWhere
fromFindBlobsByTagsSinglePageResult
. - Type for ETag was changed to
Azure::Core::ETag
. - Removed
BlobPrefix
struct, usestd::string
instead. - Refined
BlobContainerItem
,BlobItem
,DownloadBlobResult
andDownloadBlobToResult
.
azure-identity_1.0.0-beta.3
1.0.0-beta.3 (2021-02-02)
Breaking Changes
ClientSecretCredential
constructor takesClientSecretCredentialOptions
struct instead of authority host string.TokenCredentialOptions
struct has authority host string as data member.
azure-core_1.0.0-beta.5
1.0.0-beta.5 (2021-02-02)
New Features
- Added support for HTTP validators
ETag
.
Breaking Changes
- Make
ToLower()
andLocaleInvariantCaseInsensitiveEqual()
internal by moving them fromAzure::Core::Strings
toAzure::Core::Internal::Strings
. BearerTokenAuthenticationPolicy
constructor takesTokenRequestOptions
struct instead of scopes vector.TokenRequestOptions
struct has scopes vector as data member.TokenCredential::GetToken()
takesTokenRequestOptions
instead of scopes vector.
Bug Fixes
- Fixed the parsing of the last chunk of a chunked response when using the curl transport adapter.
- Fixed reading the value from
retry-after
header inRetryPolicy
. - Fix link errors when producing a DLL and add UWP compilation support.
- Do not pass a placeholder user-agent string as a fallback when using WinHttp.
- Initialize local variables in implementation to fix warning within release builds on Linux.
azure-storage-files-shares_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Added support for
CreateIfNotExists
for Share and Directory clients, andDeleteIfExists
for Share, Directory and File clients. - Support setting file SAS permission with a raw string.
Breaking Changes
- Removed constructors in clients that takes a
Azure::Identity::ClientSecretCredential
. - Removed Share Lease related API due to it not supported in recent service versions.
- ShareClient::AcquireLease
- ShareClient::ReleaseLease
- ShareClient::ChangeLease
- ShareClient::BreakLease
- ShareClient::RenewLease
- Move File SAS into
Azure::Storage::Sas
namespace. - Replaced all transactional content MD5/CRC64 with
ContentHash
struct. FileShareHttpHeaders
is renamed toShareFileHttpHeaders
, and memberstd::string ContentMd5
is changed toStorage::ContentHash ContentHash
.- All date time related strings are now changed to
Azure::Core::DateTime
type. - Move version strings into
Details
namespace. - Renamed all functions and structures that could retrieve partial query results from the server to have
SinglePage
suffix instead ofSegment
suffix. - Removed
FileRange
andClearRange
, they are now represented withAzure::Core::Http::Range
. - Removed
Offset
andLength
pair in options. They are now represented withAzure::Core::Http::Range
. - Replace scoped enums that don't support bitwise operations with extensible enum.
IsServerEncrypted
member inDownloadFileToResult
,UploadFileFromResult
,FileDownloadResult
andFileGetPropertiesResult
are no longer nullable.- Create APIs for Directory and File now returns
FileShareSmbProperties
that aggregates SMB related properties. DirectoryClient
is renamed toShareDirectoryClient
,FileClient
is renamed toShareFileClient
.- Directory and File related result types and options types now have a
Share
prefix. E.g.SetDirectoryPropertiesResult
is changed toSetShareDirectoryPropertiesResult
. - Renamed
GetSubDirectoryClient
toGetSubdirectoryClient
.
azure-storage-files-datalake_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Support setting DataLake SAS permission with a raw string.
- Added support for
CreateIfNotExists
andDeleteIfExists
for FileSystem, Path, Directory and File clients.
Breaking Changes
- Move DataLake SAS into
Azure::Storage::Sas
namespace. EncrytionKeySha256
are changed to binary(std::vector<uint8_t>
).- Replaced all transactional content MD5/CRC64 with
ContentHash
struct. DataLakeHttpHeaders
is renamed toPathHttpHeaders
, and now containsContentHash
for the resource.- All date time related strings are now changed to
Azure::Core::DateTime
type. CreationTime
is renamed toCreatedOn
.AccessTierChangeTime
is renamed toAccessTierChangedOn
.CopyCompletionTime
is renamed toCopyCompletedOn
.ExpiryTime
is renamed toExpiresOn
.LastAccessTime
is renamed toLastAccessedOn
.- Move version strings into
Details
namespace. - Renamed all functions and structures that could retrieve partial query results from the server to have
SinglePage
suffix instead ofSegment
suffix. ReadFileResult
now haveContentRange
as string.ReadFileOptions
now haveAzure::Core::Http::Range Range
instead ofContent-Length
andOffset
.- Replace scoped enums that don't support bitwise operations with extensible enum.
ListPaths
is renamed toListPathsSinglePage
and its related return type and options are also renamed accordingly.FileSystemClient
is renamed toDataLakeFileSystemClient
,PathClient
is renamed toDataLakePathClient
,DirectoryClient
is renamed toDataLakeDirectoryClient
andFileClient
is renamed toDataLakeFileClient
.- FileSystems, Path, Directory and File related result types and options types now have a
DataLake
prefix. E.g.GetFileSystemPropertiesResult
is changed toGetDataLakeFileSystemPropertiesResult
. - Renamed
GetSubDirectoryClient
toGetSubdirectoryClient
. - Removed
NamespaceEnabled
field inCreateDataLakeFileSystemResult
.
azure-storage-common_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Add new type
ContentHash
. - Add definition of
Metadata
. - Support setting account SAS permission with a raw string.
Breaking Changes
- Rename
SharedKeyCredential
toStorageSharedKeyCredential
. - Rename
StorageSharedKeyCredential::UpdateAccountKey
toStorageSharedKeyCredential::Update
. - Make
StoragePerRetryPolicy
andStorageSharedKeyPolicy
private by moving them to theDetails
namespace. - Remove
StorageRetryOptions
, useAzure::Core::Http::RetryOptions
instead. - Move Account SAS into
Azure::Storage::Sas
namespace. - All date time related strings are now changed to
Azure::Core::DateTime
type. - Move version strings into
Details
namespace. - Move
Base64Encode
andBase64Decode
from theAzure::Storage
namespace toAzure::Core
. - Remove the string accepting overload of
Base64Encode
.
azure-storage-blobs_12.0.0-beta.6
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.
azure-identity_1.0.0-beta.2
1.0.0-beta.2 (2021-01-13)
Breaking Changes
- Moved
Azure::Identity::Version
, defined inazure/identity/version.hpp
to theAzure::Identity::Details
namespace.
Other changes and Improvements
- Add high-level and simplified identity.hpp file for simpler include experience for customers.