Azure SDK for C++ (April 2021)
The Azure SDK team is pleased to make available the April 2021 client library release.
Beta
- Azure Core
- Azure Identity
- Azure Key Vault Common
- Azure Key Vault
Installation Instructions
To install any of our packages, copy and paste the following commands into a terminal:
# From Source
git clone https://github.com/Azure/azure-sdk-for-cpp
# git checkout <tag_name>
# For example:
git checkout azure-security-keyvault-keys_4.0.0-beta.1
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
Azure::Core::Url::GetScheme(). - Added
Azure::Core::Context::TryGetValue(). - Added
Azure::Core::Context::GetDeadline(). - Added
Azure::Core::Credentials::TokenCredentialOptions. - Added useful fields to the
Azure::Core::RequestFailedExceptionclass such asStatusCode,ReasonPhrase, and theRawResponse, for better diagnosis of errors.
Breaking Changes
- Simplified the
Response<T>API surface to expose two public fields with direct access:T Valueand aunique_ptrto anAzure::Core::Http::RawResponse. - Renamed
Azure::Nullable<T>::GetValue()toValue(). - Removed from
Azure::Core::Http::Request:SetUploadChunkSize().GetHTTPMessagePreBody().GetUploadChunkSize().GetHeadersAsString().
- Changes to
Azure::Core::Http::RawResponse:- Removed
SetHeader(std::string const& header) - Removed
SetHeader(uint8_t const* const first, uint8_t const* const last). - Removed
GetMajorVersion(). - Removed
GetMinorVersion(). - Renamed
GetBodyStream()toExtractBodyStream().
- Removed
- Changes to
Azure::Core::Context:- Removed
Get()andHasKey()in favor of a new methodTryGetValue(). - Changed input parameter type of
WithDeadline()toAzure::DateTime.
- Removed
- Removed
Azure::Core::PackageVersion. - Removed from
Azure::Core::Http::Policiesnamespace:HttpPolicyOrder,TransportPolicy,RetryPolicy,RequestIdPolicy,TelemetryPolicy,BearerTokenAuthenticationPolicy,LogPolicy. - Removed
AppendQueryParameters(),GetUrlWithoutQuery()andGetUrlAuthorityWithScheme()fromAzure::Core::Url. - Changed the
Azure::Core::Http::HttpMethodregular enum into an extensible enum class and removed theHttpMethodToString()helper method. - Introduced
Azure::Core::Context::Keyclass which takes place ofstd::stringused forAzure::Core::Contextkeys previously. - Changed the casing of
SSLin API names toSsl:- Renamed type
Azure::Core::Http::CurlTransportSSLOptionstoCurlTransportSslOptions. - Renamed member
Azure::Core::Http::CurlTransportOptions::SSLOptionstoSslOptions. - Renamed member
Azure::Core::Http::CurlTransportOptions::SSLVerifyPeertoSslVerifyPeer.
- Renamed type
Other Changes and Improvements
- Moved
Azure::Core::Http::Requestto its own header file fromhttp.hpptoinc/azure/core/http/raw_response.hpp. - Moved
Azure::Core::Http::HttpStatusCodeto its own header file fromhttp.hpptoinc/azure/core/http/http_status_code.hpp.
azure-identity Changelog
New Features
- Add Active Directory Federation Service (ADFS) support to
ClientSecretCredential.
Breaking Changes
- Removed
Azure::Identity::PackageVersion.
azure-security-keyvault-common Changelog
New Features
- KeyVaultException.
azure-security-keyvault-keys Changelog
New Features
- Added
Azure::Security::KeyVault::Keys::KeyClientfor get, create, list, delete, backup, restore, and import key operations. - Added high-level and simplified
key_vault.hppfile for simpler include experience for customers. - Added model types which are returned from the
KeyClientoperations, such asAzure::Security::KeyVault::Keys::KeyVaultKey.
Latest Releases
View all the latest versions of C++ packages here.