Azure SDK for C++ (November 2020)
The Azure SDK team is pleased to make available the November 2020 client library release.
Beta
- Azure Core
- Azure Identity
- Azure Storage Common
- Azure Storage Blobs
- Azure Storage Files DataLake
- Azure Storage Files Shares
Installation Instructions
To install any of our packages, copy and paste the following commands into a terminal:
git clone https://github.com/Azure/azure-sdk-for-cpp
git checkout <tag_name>
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
strings.hppwithAzure::Core::Strings::LocaleInvariantCaseInsensitiveEqualandAzure::Core::Strings::ToLower. - Added
GetPort()toUrl. - Added
TransportPolicyOptions. - Added
TelemetryPolicyOptions. - Added
RequestFailedExceptionderiving fromstd::runtime_error. - Added
CurlTransportOptionsfor theCurlTransport. - Added
DateTimesupporting dates since 1601. - Added
OperationCanceledException. - Added
EncodeandDecodetoUrl.
Breaking Changes
- Removed
azure.hpp. - Removed macro
AZURE_UNREFERENCED_PARAMETER. - Bump CMake version from 3.12 to 3.13.
- Bump libcurl version from 7.4 to 7.44.
- Moved
ClientSecretCredentialandEnvironmentCredentialto the Identity library. Urlclass changes:AppendPathnow does not encode the input by default.- Signature updated for
SetHost,SetPathandAppendPath. - Removed
SetFragment. - Renamed
AppendQueriestoAppendQueryParameters. - Renamed
AppendQuerytoAppendQueryParameter. - Renamed
RemoveQuerytoRemoveQueryParameter. - Renamed
GetQuerytoGetQueryParameters.
Bug Fixes
- Prevent pipeline of length zero to be created.
- Avoid re-using a connection when a request to upload data fails while using the
CurlTransport. - Add entropy to
Uuidgeneration.
Other changes and Improvements
- Add high-level and simplified core.hpp file for simpler include experience for customers.
- Add code coverage using gcov with gcc.
- Update SDK-defined exception types to be classes instead of structs.
- Updated
TransportExceptionandInvalidHeaderExceptionto derive fromRequestFailedException. - Vcpkg dependency version updated to 2020.11.
- Make libcurl network requests cancelable by Context::Cancel().
- Validate HTTP headers for invalid characters.
- Calling
Cancel()from context now throwsOperationCanceledException.
azure-identity Changelog
New Features
- Support for Client Secret Credential.
- Support for Environment Credential.
azure-storage-common Changelog
Breaking Changes
- Rename
LastModifiedTimeAccessConditionstoModifiedTimeConditions. - Rename
StorageErrortoStorageException. - Rename header file
storage_error.hpptostorage_exception.hpp. - Rename
SharedKeyCredential::SetAccountKeytoSharedKeyCredential::UpdateAccountKey. - Rename
AccountSasBuilder::ToSasQueryParameterstoAccountSasBuilder::GenerateSasToken. - Remove
storage_version.hppand addversion.hpp. - Make
SharedKeyCredentiala class.
Other Changes and Improvements
- Remove support for specifying SAS version.
azure-storage-blobs Changelog
New Features
- Support for replaceable HTTP transport layer.
- Add
version.hpp.
Breaking Changes
- Move header
azure/storage/blobs/blob.hpptoazure/storage/blobs.hpp. - Service API return types which are typically suffixed with
Resultare moved to theModelssub-namespaces and everything else from the protocol layer is made private by moving to theDetailsnamespace. - Make XML serializer and deserializer private by moving them to the
Detailsnamespace. - Remove
BlockBlobClientOptions,AppendBlobClientOptionsandPageBlobClientOptions, useBlobClientOptionsinstead. - Rename
BlobSasBuilder::ToSasQueryParameterstoBlobSasBuilder::GenerateSasToken.
Other Changes and Improvements
- Default uploading/downloading concurrency is changed from 1 to 5.
- Remove support for specifying SAS version.
azure-storage-files-shares Changelog
Breaking Changes
Azure::Storage::Files::Shares::Metrics::IncludeAPIsis now renamed toAzure::Storage::Files::Shares::Metrics::IncludeApis, and is changed to a nullable member.- Moved header
azure/storage/files/shares/shares.hpptoazure/storage/files/shares.hpp. - Moved returning model types and related functions in
Azure::Storage::Files::SharestoAzure::Storage::Files::Shares::Models, and made other code private by moving it intoAzure::Storage::Files::Shares::Details. - Renamed
Azure::Storage::Files::Shares::ServiceClienttoAzure::Storage::Files::Shares::ShareServiceClient.
azure-storage-files-datalake Changelog
Breaking Changes
- Moved header
azure/storage/files/datalake/datalake.hpptoazure/storage/files/datalake.hpp. - Moved returning model types and related functions in
Azure::Storage::Files::DataLaketoAzure::Storage::Files::DataLake::Models, and made other code private by moving it intoAzure::Storage::Files::DataLake::Details. - Renamed
Azure::Storage::Files::DataLake::ServiceClienttoAzure::Storage::Files::DataLake::DataLakeServiceClient.
Latest Releases
View all the latest versions of C++ packages here.