Azure SDK for C++ (February 2021)
The Azure SDK team is pleased to make available the February 2021 client library release.
Beta
- Azure Core
- Azure Identity
- Azure Storage Common
- Azure Storage Blobs
- Azure Storage Files Shares
- Azure Storage Files DataLake
Installation Instructions
To install any of our packages, copy and paste the following commands into a terminal:
# From Vcpkg
vcpkg install azure-storage-blobs-cpp
# From Source
git clone https://github.com/Azure/azure-sdk-for-cpp
# git checkout <tag_name>
# For example:
git checkout azure-storage-blobs_12.0.0-beta.8
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Release highlights
azure-core Changelog
New Features
- Added support for HTTP conditional requests
MatchConditionsandRequestConditions. - Added the
Hashbase class and MD5 hashing APIs to theAzure::Core::Cryptographynamespace available fromazure/core/cryptography/hash.hpp.
Breaking Changes
- Removed
Context::CancelWhen(). - Removed
LogClassificationand related functionality, addedLogLevelinstead.
Bug Fixes
- Fixed computation of the token expiration time in
BearerTokenAuthenticationPolicy. - Fixed compilation dependency issue for MacOS when consuming the SDK from VcPkg.
- Fixed support for sending requests to endpoints with a custom port within the url on Windows when using the WinHttp transport.
azure-identity Changelog
Breaking Changes
ClientSecretCredentialconstructor takesClientSecretCredentialOptionsstruct instead of authority host string.TokenCredentialOptionsstruct has authority host string as data member.
azure-storage-common Changelog
Breaking Changes
- Removed the
Azure::Storage::Md5class fromcrypt.hpp. Use the type fromAzure::Core::Cryptographynamespace instead, fromazure/core/cryptography/hash.hpp. - Renamed
Crc64toCrc64Hashand change it to derive from theAzure::Core::Cryptography::Hashclass.
azure-storage-blobs Changelog
Breaking Changes
- Removed
BreakBlobLeaseResult::Leasetime. - Moved
Azure::Core::Contextout of options bag of each API, and make it the last optional parameter.
azure-storage-files-shares Changelog
New Features
- Changed type of
FileAttributesto extensible enum.
Breaking Changes
ListSharesSinglePageOptions::ListSharesIncludewas renamed toListSharesSinglePageOptions::ListSharesIncludeFlags.DeleteShareOptions::IncludeSnapshotswas renamed toDeleteShareOptions::DeleteSnapshots.FileShareSmbPropertieswas renamed toFileSmbProperties.DownloadShareFileOptions::GetRangeContentMd5was renamed toDownloadShareFileOptions::RangeHashAlgorithm.UploadFileRangeFromUriOptions::SourceContentHashwas renamed toUploadFileRangeFromUriOptions::TransactionalContentHash.GetShareFileRangeListOptions::PrevShareSnapshotwas renamed toGetShareFileRangeListOptions::PreviousShareSnapshot.- Refined
CreateShareDirectoryResultandCreateShareFileResult. - Removed
DownloadShareFileDetails::AcceptRanges. - Removed
GetShareFilePropertiesResult::FileType. - Added
RequestIdinForceCloseShareDirectoryHandleResult. - Removed
TransactionalContentHashfromClearShareFileRangeResult. - Changed API signature of
ShareFileClient::UploadRangeFromUri. - Renamed
ForceCloseAllHandlestoForceCloseAllHandlesSinglePageand all related structs. - Made all
ContinuationTokenin return types nullable. - Renamed
ShareFileHttpHeaderstoFileHttpHeaders. - Renamed
ShareGetPropertiesResult::AccessTierChangeTimetoAccessTierChangedOn. - Renamed
ShareGetStatisticsResult::ShareUsageBytestoShareUsageInBytes. - Renamed
ShareGetPermissionResult::PermissiontoFilePermission. - Grouped all file SMB properties into a struct and refined the APIs that return these properties.
- Renamed
numberOfHandlesClosedtoNumberOfHandlesClosedandnumberOfHandlesFailedToClosetoNumberOfHandlesFailedToClose. - Renamed
FileGetRangeListResult::FileContentLengthtoFileSize. - Renamed
StorageServicePropertiestoFileServiceProperties. - Removed
LeaseTimein results returned by lease operations. Also removedLeaseIdinShareBreakLeaseResult. - Moved
Azure::Core::Contextout of options bag of each API, and make it the last optional parameter.
azure-storage-files-datalake Changelog
Breaking Changes
- Removed
DataLakeFileSystemClient::GetPathClient. - Renamed
SetDataLakePathAccessControlRecursiveListSinglePageOptions::MaxEntriestoPageSizeHint. GetDataLakePathPropertiesResult::ServerEncryptedwas renamed toIsServerEncrypted.GetDataLakePathPropertiesResult::AccessTierInferredwas renamed toIsAccessTierInferred.HttpHeadersofDownloadDataLakeFileResultandDownloadDataLakeFileToResultwas moved intoDetails, to align with Blob service.- Removed
BreakDataLakeLeaseResult::LeaseTime. - Renamed APIs for modifying access list recursively. Used to be with pattern
AccessControlRecursiveList, now is with patternAccessControlListRecursive. - Refined options for
ScheduleDeletion, to be consistent with other APIs. - Renamed
ContentLengthinPathItemtoFileSize. - In
PathSetAccessControlRecursiveResult,DirectoriesSuccessfulis renamed toNumberOfSuccessfulDirectories,FilesSuccessfulis renamed toNumberOfSuccessfulFiles,FailureCountis renamed toNumberOfFailures. - Moved
Azure::Core::Contextout of options bag of each API, and make it the last optional parameter.
Latest Releases
View all the latest versions of C++ packages here.