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
MatchConditions
andRequestConditions
. - Added the
Hash
base class and MD5 hashing APIs to theAzure::Core::Cryptography
namespace available fromazure/core/cryptography/hash.hpp
.
Breaking Changes
- Removed
Context::CancelWhen()
. - Removed
LogClassification
and related functionality, addedLogLevel
instead.
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
ClientSecretCredential
constructor takesClientSecretCredentialOptions
struct instead of authority host string.TokenCredentialOptions
struct has authority host string as data member.
azure-storage-common Changelog
Breaking Changes
- Removed the
Azure::Storage::Md5
class fromcrypt.hpp
. Use the type fromAzure::Core::Cryptography
namespace instead, fromazure/core/cryptography/hash.hpp
. - Renamed
Crc64
toCrc64Hash
and change it to derive from theAzure::Core::Cryptography::Hash
class.
azure-storage-blobs Changelog
Breaking Changes
- Removed
BreakBlobLeaseResult::Leasetime
. - Moved
Azure::Core::Context
out of options bag of each API, and make it the last optional parameter.
azure-storage-files-shares Changelog
New Features
- Changed type of
FileAttributes
to extensible enum.
Breaking Changes
ListSharesSinglePageOptions::ListSharesInclude
was renamed toListSharesSinglePageOptions::ListSharesIncludeFlags
.DeleteShareOptions::IncludeSnapshots
was renamed toDeleteShareOptions::DeleteSnapshots
.FileShareSmbProperties
was renamed toFileSmbProperties
.DownloadShareFileOptions::GetRangeContentMd5
was renamed toDownloadShareFileOptions::RangeHashAlgorithm
.UploadFileRangeFromUriOptions::SourceContentHash
was renamed toUploadFileRangeFromUriOptions::TransactionalContentHash
.GetShareFileRangeListOptions::PrevShareSnapshot
was renamed toGetShareFileRangeListOptions::PreviousShareSnapshot
.- Refined
CreateShareDirectoryResult
andCreateShareFileResult
. - Removed
DownloadShareFileDetails::AcceptRanges
. - Removed
GetShareFilePropertiesResult::FileType
. - Added
RequestId
inForceCloseShareDirectoryHandleResult
. - Removed
TransactionalContentHash
fromClearShareFileRangeResult
. - Changed API signature of
ShareFileClient::UploadRangeFromUri
. - Renamed
ForceCloseAllHandles
toForceCloseAllHandlesSinglePage
and all related structs. - Made all
ContinuationToken
in return types nullable. - Renamed
ShareFileHttpHeaders
toFileHttpHeaders
. - Renamed
ShareGetPropertiesResult::AccessTierChangeTime
toAccessTierChangedOn
. - Renamed
ShareGetStatisticsResult::ShareUsageBytes
toShareUsageInBytes
. - Renamed
ShareGetPermissionResult::Permission
toFilePermission
. - Grouped all file SMB properties into a struct and refined the APIs that return these properties.
- Renamed
numberOfHandlesClosed
toNumberOfHandlesClosed
andnumberOfHandlesFailedToClose
toNumberOfHandlesFailedToClose
. - Renamed
FileGetRangeListResult::FileContentLength
toFileSize
. - Renamed
StorageServiceProperties
toFileServiceProperties
. - Removed
LeaseTime
in results returned by lease operations. Also removedLeaseId
inShareBreakLeaseResult
. - Moved
Azure::Core::Context
out 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::MaxEntries
toPageSizeHint
. GetDataLakePathPropertiesResult::ServerEncrypted
was renamed toIsServerEncrypted
.GetDataLakePathPropertiesResult::AccessTierInferred
was renamed toIsAccessTierInferred
.HttpHeaders
ofDownloadDataLakeFileResult
andDownloadDataLakeFileToResult
was 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
ContentLength
inPathItem
toFileSize
. - In
PathSetAccessControlRecursiveResult
,DirectoriesSuccessful
is renamed toNumberOfSuccessfulDirectories
,FilesSuccessful
is renamed toNumberOfSuccessfulFiles
,FailureCount
is renamed toNumberOfFailures
. - Moved
Azure::Core::Context
out of options bag of each API, and make it the last optional parameter.
Latest Releases
View all the latest versions of C++ packages here.