Releases: Azure/azure-sdk-for-cpp
Releases · Azure/azure-sdk-for-cpp
azure-security-keyvault-keys_4.0.0-beta.1
4.0.0-beta.1 (2021-04-07)
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.
azure-security-keyvault-common_4.0.0-beta.1
4.0.0-beta.1 (2021-04-07)
New Features
- KeyVaultException.
azure-identity_1.0.0-beta.5
1.0.0-beta.5 (2021-04-07)
New Features
- Add Active Directory Federation Service (ADFS) support to
ClientSecretCredential.
Breaking Changes
- Removed
Azure::Identity::PackageVersion.
azure-core_1.0.0-beta.8
1.0.0-beta.8 (2021-04-07)
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-storage-files-shares_12.0.0-beta.9
12.0.0-beta.9 (2021-03-23)
New Features
- Added support for telemetry options.
- Added
Azure::Storage::Files::Shares::PackageVersion.
Breaking Changes
- Changed the return type of
StartCopyAPI from aResponse<T>to the particularOperation<T>type calledStartFileCopyOperationdirectly. - String conversion functions of extensible enums were renamed from
Get()toToString(). - Changed the return types of the following APIs:
ShareClient::GetAccessPolicynow returnsShareAccessPolicy.ShareClient::GetPermissionnow returnsstd::string.ShareClient::AbortCopynow returnsAbortFileCopyResult.
- Renamed
GetShareStatisticsResulttoShareStatistics. - Renamed
GetSharePropertiesResulttoShareProperties. - Renamed
GetShareDirectoryPropertiesResulttoDirectoryProperties. - Renamed
GetShareFilePropertiesResulttoFileProperties - Renamed
GetServicePropertiesResulttoShareServiceProperties. - Removed
Sharefrom the names of return types and option types. - Renamed
AbortCopyFileOptionstoAbortFileCopyOptions. - Removed
RequestIdfrom the return types. - Changed
BodyStreamparameter ofUploadRangefunction from pointer to reference. - Removed
PreviousShareSnapshotfromGetShareFileRangeListOptions, useShareFileClient::GetRangeListDiffinstead. - Renamed
ShareAccessTiertoAccessTier. - Renamed
ShareRetentionPolicytoRetentionPolicy. - Renamed
ShareProtocolSettingstoProtocolSettings. - Renamed
CopyStatusTypetoCopyStatus - Removed
FileRangeWriteType,ShareFileRangeList,FileRangeWriteFromUrlType,FileRange,ClearRange,SharePermission,LeaseActionandShareStats. - Renamed
LeaseDurationTypetoLeaseDuration,LeaseStateTypetoLeaseStateandLeaseStatusTypetoLeaseStatus. - Renamed
ListSharesIncludeTypetoListSharesIncludeFlags. - Renamed
DeleteSnapshotsOptionTypetoDeleteSnapshotsOption. - Renamed
PermissionCopyModeTypetoPermissionCopyMode.
azure-storage-files-datalake_12.0.0-beta.9
12.0.0-beta.9 (2021-03-23)
New Features
- Added support for telemetry options.
- Added
Azure::Storage::Files::DataLake::PackageVersion.
Breaking Changes
- DataLake client constructors won't automatically convert blob url to dfs url anymore.
- String conversion functions of extensible enums were renamed from
Get()toToString(). - Moved
SecondaryHostForRetryReadsout of retry options, now it's underDataLakeClientOptions. - Changed the return types of the following APIs:
DataLakeServiceClient::GetUserDelegationKeynow returnsUserDelegationKey.DataLakeFileSystemClient::GetPropertiesnow returnsFileSystemProperties.DataLakeFileSystemClient::GetAccessPolicynow returnsFileSystemAccessPolicy.DataLakePathClient::GetPropertiesnow returnsPathProperties.DataLakePathClient::GetAccessControlListnow returnsPathAccessControlList.
- Removed
GetUserDelegationKeyResult. - Removed
DataLakefrom the names of return types and option types. - Removed
RequestIdfrom the return types. - Changed
BodyStreamparameter ofAppendfunction from pointer to reference. - Removed
PathRenameMode,PathGetPropertiesAction,PathSetAccessControlRecursiveMode,FileSystemResourceType,PathExpiryOptionsandFileSystemResourceType. - Removed
IsAccessTierInferredandAccessTierChangedOnfromPathProperties. - Renamed
LeaseDurationTypetoLeaseDuration,LeaseStateTypetoLeaseStateandLeaseStatusTypetoLeaseStatus.
azure-storage-common_12.0.0-beta.9
12.0.0-beta.9 (2021-03-23)
New Features
- Added
Azure::Storage::Common::PackageVersion.
azure-storage-blobs_12.0.0-beta.9
12.0.0-beta.9 (2021-03-23)
New Features
- Added support for telemetry options.
- Added
Azure::Storage::Blobs::PackageVersion. - Added
ShareFileClient::GetRangeListDiff.
Breaking Changes
- Changed the return type of
StartCopyFromUriandStartCopyIncrementalAPI from aResponse<T>to the particularOperation<T>type calledStartBlobCopyOperationdirectly. - String conversion functions of extensible enums were renamed from
Get()toToString(). - Moved
SecondaryHostForRetryReadsout of retry options, now it's underBlobClientOptions. - Changed the return types of the following APIs:
BlobServiceClient::DeleteBlobContainernow returnsDeleteBlobContainerResult.BlobServiceClient::GetUserDelegationKeynow returnsUserDelegationKey.BlobServiceClient::GetPropertiesnow returnsBlobServiceProperties.BlobServiceClient::GetAccountInfonow returnsAccountInfo.BlobServiceClient::GetStatisticsnow returnsServiceStatistics.BlobContainerClient::DeleteBlobnow returnsDeleteBlobResult.BlobContainerClient::GetPropertiesnow returnsBlobContainerProperties.BlobContainerClient::GetAccessPolicynow returnsBlobContainerAccessPolicy.BlobClient::GetPropertiesnow returnsBlobProperties.BlobClinet::GetTagsnow returnsstd::map<std::string, std::string>.BlobClient::AbortCopyFromUrinow returnsAbortBlobCopyFromUriResult.PageBlobClient::UploadPagesnow returnsUploadPagesResult.PageBlobClient::UploadPagesFromUrinow returnsUploadPagesFromUriResult.PageBlobClient::ClearPagesnow returnsClearPagesResult.PageBlobClient::GetPageRanges,PageBlobClient::GetPageRangesDiffandPageBlobClient::GetManagedDiskPageRangesDiffnow returnGetPageRangesResult.
- Renamed some options:
- Renamed
UploadPageBlobPagesOptionstoUploadPagesOptions. - Renamed
UploadPageBlobPagesFromUriOptionstoUploadPagesFromUriOptions. - Renamed
ClearPageBlobPagesOptionstoClearPagesOptions. - Renamed
GetPageBlobPageRangesOptionstoGetPageRangesOptions. - Renamed
StartCopyBlobFromUriOptionstoStartBlobCopyFromUriOptions. - Renamed
StartCopyPageBlobIncrementalOptionstoStartBlobCopyIncrementalOptions.
- Renamed
- Removed
Blobfrom the name of lease options and return types, likeAcquireBlobLeaseOptionswas renamed toAcquireLeaseOptions. - Removed
Blobprefix from the name of structsBlobGeoReplication,BlobLeaseStatus,BlobLeaseState,BlobLeaseDurationType,BlobAnalyticsLogging,BlobMetrics,BlobCorsRule,BlobRetentionPolicy,BlobStaticWebsite,BlobArchiveStatusandBlobGeoReplictionStatus. - Removed
RequestIdfrom return types. - Changed
BodyStreamparameter ofUploadBlob,Upload,UploadPagesandAppendBlockfunctions from pointer to reference. - Renamed access tier members in return types and options from
TiertoAccessTier. - Renamed
BlockListTypeOptiontoBlockListType.
azure-identity_1.0.0-beta.4
1.0.0-beta.4 (2021-03-11)
New Features
- Added
Azure::Identity::PackageVersion.
Breaking Changes
- Removed
TransportPolicyOptionsfromClientSecretCredentialOptions. Updated the options to derive fromClientOptions.
azure-core_1.0.0-beta.7
1.0.0-beta.7 (2021-03-11)
New Features
- Added
HttpPolicyOrderfor adding custom Http policies to SDK clients. - Added
Azure::Core::Operation<T>::GetRawResponse(). - Added
Azure::Core::PackageVersion. - Added support for logging to console when
AZURE_LOG_LEVELenvironment variable is set.
Breaking Changes
- Changes to
Azure::Corenamespace:- Removed
Response<void>,ValueBase, andContextValue. - Removed
Context::operator[],Get()introduced instead. - Renamed
Uuid::GetUuidString()toToString(). - Changed return type of
Operation<T>::Poll()fromstd::unique_ptr<RawResponse>toRawResponse const&. - Moved
GetApplicationContext()toContext::GetApplicationContext() - Moved the
Base64Encode()andBase64Decode()functions to be static members of aConvertclass. - Moved
Loggingnamespace entities toDiagnostics::Loggerclass. - Moved
AccessToken,TokenCredential, andAuthenticationExceptiontoCredentialsnamespace. - Moved
Contextto be the last parameter for consistency, instead of first in various azure-core types. For example:BodyStream::Read(uint8_t* buffer, int64_t count, Context const& context)BodyStream::ReadToEnd(BodyStream& body, Context const& context)HttpPolicy::Send(Request& request, NextHttpPolicy policy, Context const& context)Operation<T>::PollUntilDone(std::chrono::milliseconds period, Context& context)TokenCredential::GetToken(Http::TokenRequestOptions const& tokenRequestOptions, Context const& context)
- Moved from
Azure::CoretoAzurenamespace:Response<T>,ETag, andNullable<T>.- Split
RequestConditionsintoMatchConditionsandModifiedConditions. - Renamed
DateTime::GetString()toToString(), and removedDateTime::GetRfc3339String().
- Removed
- Changes to
Azure::Core::Httpnamespace:- Removed
HttpPipeline,TransportKind,NullBodyStream, andLimitBodyStream. - Removed
Request::StartTry(). - Removed
InvalidHeaderExceptionand throwstd::invalid_argumentif the user provides invalid header arguments. - Renamed
CurlTransportSSLOptions::NoRevoketoEnableCertificateRevocationListCheck. - Renamed
RangetoHttpRange. - Renamed
TokenRequestOptionstoTokenRequestContext, and moved it toAzure::Core::Credentialsnamespace. - Moved
UrltoAzure::Corenamespace. RequestandRawResponse:- Renamed
AddHeader()toSetHeader(). - Introduced
Azure::Core::CaseInsensitiveMapwhich is now used to store headers.
- Renamed
BodyStreamand the types that derive from it:- Moved to
Azure::Core::IOnamespace. - Changed the static methods
BodyStream::ReadToCount()andBodyStream::ReadToEnd()into instance methods. - Changed the constructor of
FileBodyStreamto accept a file name directly and take ownership of opening/closing the file, instead of accepting a file descriptor, offset, and length.
- Moved to
- HTTP policies and their options:
- Moved to
Policiesnamespace. - Renamed
TransportPolicyOptionstoTransportOptions. - Renamed
TelemetryPolicyOptionstoTelemetryOptions. - Changed type of
RetryOptions::StatusCodesfromstd::vectortostd::set. - Renamed
LoggingPolicytoLogPolicy, and introducedLogOptionsas mandatory parameter for the constructor.
- Moved to
- Removed
- Moved header files:
- Renamed
azure/core/credentials.hpptoazure/core/credentials/credentials.hpp. - Renamed
azure/core/logger.hpptoazure/core/diagnostics/logger.hpp. - Renamed
azure/core/http/body_stream.hpptoazure/core/io/body_stream.hpp. - Renamed
azure/core/http/policy.hpptoazure/core/http/policies/policy.hpp. - Renamed
azure/core/http/curl/curl.hpptoazure/core/http/curl_transport.hpp. - Renamed
azure/core/http/winhttp/win_http_client.hpptoazure/core/http/win_http_transport.hpp.
- Renamed
Bug Fixes
- Make sure to rewind the body stream at the start of each request retry attempt, including the first.
- Connection pool resets when all connections are closed.
- Fix
Azure::Contextto supportstd::unique_ptr. - Throw
std::runtime_errorfromResponse<T>::GetRawResponse()if the response was already extracted.