Releases: Azure/azure-sdk-for-cpp
Releases · Azure/azure-sdk-for-cpp
azure-storage-blobs_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added
RequestIdin API return types. - Added some new properties in
GetBlobPropertiesResult,DownloadBlobResultandDownloadBlobToResult. - Added
RangeHashAlgorithminDownloadBlobOptions. - Added
UploadBlobinBlobContainerClient.
Breaking Changes
UserDelegationKeywas changed to a member ofGetUserDelegationKeyResultrather than a typedef like before.AccessTypeinCreateBlobContainerOptionswas changed to non-nullable.ListTypeinGetBlockListOptionswas changed to non-nullable.- Added
BlobLeaseClient, all lease related APIs are moved toBlobLeaseClient. - Type for lease duration in requests was changed to
std::chrono::seconds, in response was changed to enum. PublicAccessType::Privatewas renamed toPublicAccessType::None.startsOnparameter forGetUserDelegationKeywas changed to optional.- Removed
IfUnmodifiedSincefromSetBlobContainerMetadataOptions. - Return types of
BlobClient::StartCopyFromUriandPageBlobClient::StartCopyIncrementalwere changed toStartCopyBlobResult, supporting poll operations. - Fixed typo
Expiriesin model types. - Removed
PreviousContinuationTokenfromListBlobContainersSinglePageResult,ListBlobsByHierarchySinglePageResultandListBlobsSinglePageResult. ListBlobContainersIncludeItemwas renamed toListBlobContainersIncludeFlags.ListBlobsIncludeItemwas renamed toListBlobsIncludeFlags.Concurrency,ChunkSizeandInitialChunkSizewere moved intoDownloadBlobToOptions::TansferOptions.Concurrency,ChunkSizeandSingleUploadThresholdwere moved intoUploadBlockBlobFromOptions::TransferOptions.- Removed
TagValuefromFilterBlobItem, removedWherefromFindBlobsByTagsSinglePageResult. - Type for ETag was changed to
Azure::Core::ETag. - Removed
BlobPrefixstruct, usestd::stringinstead. - Refined
BlobContainerItem,BlobItem,DownloadBlobResultandDownloadBlobToResult.
azure-identity_1.0.0-beta.3
1.0.0-beta.3 (2021-02-02)
Breaking Changes
ClientSecretCredentialconstructor takesClientSecretCredentialOptionsstruct instead of authority host string.TokenCredentialOptionsstruct has authority host string as data member.
azure-core_1.0.0-beta.5
1.0.0-beta.5 (2021-02-02)
New Features
- Added support for HTTP validators
ETag.
Breaking Changes
- Make
ToLower()andLocaleInvariantCaseInsensitiveEqual()internal by moving them fromAzure::Core::StringstoAzure::Core::Internal::Strings. BearerTokenAuthenticationPolicyconstructor takesTokenRequestOptionsstruct instead of scopes vector.TokenRequestOptionsstruct has scopes vector as data member.TokenCredential::GetToken()takesTokenRequestOptionsinstead of scopes vector.
Bug Fixes
- Fixed the parsing of the last chunk of a chunked response when using the curl transport adapter.
- Fixed reading the value from
retry-afterheader inRetryPolicy. - Fix link errors when producing a DLL and add UWP compilation support.
- Do not pass a placeholder user-agent string as a fallback when using WinHttp.
- Initialize local variables in implementation to fix warning within release builds on Linux.
azure-storage-files-shares_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Added support for
CreateIfNotExistsfor Share and Directory clients, andDeleteIfExistsfor Share, Directory and File clients. - Support setting file SAS permission with a raw string.
Breaking Changes
- Removed constructors in clients that takes a
Azure::Identity::ClientSecretCredential. - Removed Share Lease related API due to it not supported in recent service versions.
- ShareClient::AcquireLease
- ShareClient::ReleaseLease
- ShareClient::ChangeLease
- ShareClient::BreakLease
- ShareClient::RenewLease
- Move File SAS into
Azure::Storage::Sasnamespace. - Replaced all transactional content MD5/CRC64 with
ContentHashstruct. FileShareHttpHeadersis renamed toShareFileHttpHeaders, and memberstd::string ContentMd5is changed toStorage::ContentHash ContentHash.- All date time related strings are now changed to
Azure::Core::DateTimetype. - Move version strings into
Detailsnamespace. - Renamed all functions and structures that could retrieve partial query results from the server to have
SinglePagesuffix instead ofSegmentsuffix. - Removed
FileRangeandClearRange, they are now represented withAzure::Core::Http::Range. - Removed
OffsetandLengthpair in options. They are now represented withAzure::Core::Http::Range. - Replace scoped enums that don't support bitwise operations with extensible enum.
IsServerEncryptedmember inDownloadFileToResult,UploadFileFromResult,FileDownloadResultandFileGetPropertiesResultare no longer nullable.- Create APIs for Directory and File now returns
FileShareSmbPropertiesthat aggregates SMB related properties. DirectoryClientis renamed toShareDirectoryClient,FileClientis renamed toShareFileClient.- Directory and File related result types and options types now have a
Shareprefix. E.g.SetDirectoryPropertiesResultis changed toSetShareDirectoryPropertiesResult. - Renamed
GetSubDirectoryClienttoGetSubdirectoryClient.
azure-storage-files-datalake_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Support setting DataLake SAS permission with a raw string.
- Added support for
CreateIfNotExistsandDeleteIfExistsfor FileSystem, Path, Directory and File clients.
Breaking Changes
- Move DataLake SAS into
Azure::Storage::Sasnamespace. EncrytionKeySha256are changed to binary(std::vector<uint8_t>).- Replaced all transactional content MD5/CRC64 with
ContentHashstruct. DataLakeHttpHeadersis renamed toPathHttpHeaders, and now containsContentHashfor the resource.- All date time related strings are now changed to
Azure::Core::DateTimetype. CreationTimeis renamed toCreatedOn.AccessTierChangeTimeis renamed toAccessTierChangedOn.CopyCompletionTimeis renamed toCopyCompletedOn.ExpiryTimeis renamed toExpiresOn.LastAccessTimeis renamed toLastAccessedOn.- Move version strings into
Detailsnamespace. - Renamed all functions and structures that could retrieve partial query results from the server to have
SinglePagesuffix instead ofSegmentsuffix. ReadFileResultnow haveContentRangeas string.ReadFileOptionsnow haveAzure::Core::Http::Range Rangeinstead ofContent-LengthandOffset.- Replace scoped enums that don't support bitwise operations with extensible enum.
ListPathsis renamed toListPathsSinglePageand its related return type and options are also renamed accordingly.FileSystemClientis renamed toDataLakeFileSystemClient,PathClientis renamed toDataLakePathClient,DirectoryClientis renamed toDataLakeDirectoryClientandFileClientis renamed toDataLakeFileClient.- FileSystems, Path, Directory and File related result types and options types now have a
DataLakeprefix. E.g.GetFileSystemPropertiesResultis changed toGetDataLakeFileSystemPropertiesResult. - Renamed
GetSubDirectoryClienttoGetSubdirectoryClient. - Removed
NamespaceEnabledfield inCreateDataLakeFileSystemResult.
azure-storage-common_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
- Add new type
ContentHash. - Add definition of
Metadata. - Support setting account SAS permission with a raw string.
Breaking Changes
- Rename
SharedKeyCredentialtoStorageSharedKeyCredential. - Rename
StorageSharedKeyCredential::UpdateAccountKeytoStorageSharedKeyCredential::Update. - Make
StoragePerRetryPolicyandStorageSharedKeyPolicyprivate by moving them to theDetailsnamespace. - Remove
StorageRetryOptions, useAzure::Core::Http::RetryOptionsinstead. - Move Account SAS into
Azure::Storage::Sasnamespace. - All date time related strings are now changed to
Azure::Core::DateTimetype. - Move version strings into
Detailsnamespace. - Move
Base64EncodeandBase64Decodefrom theAzure::Storagenamespace toAzure::Core. - Remove the string accepting overload of
Base64Encode.
azure-storage-blobs_12.0.0-beta.6
12.0.0-beta.6 (2020-01-14)
New Features
CreateIfNotExistsandDeleteIfExistsfor blob containers and blobs.- Add
IsHierarchicalNamespaceEnabledinGetAccountInfoResult. - New API:
PageBlobClient::GetPageRangesDiffandPageBlobClient::GetManagedDiskPageRangesDiff. - Add
CreateBlobContainer,DeleteBlobContainer,UndeleteBlobContainerintoBlobServiceClient. - Add
DeleteBlobintoBlobContainerClient. - Support setting blob SAS permission with a raw string.
Breaking Changes
- Rename AppendBlobAccessConditions::MaxSize to AppendBlobAccessConditions::IfMaxSizeLessThanOrEqual.
- Rename AppendBlobAccessConditions::AppendPosition to AppendBlobAccessConditions::IfAppendPositionEqual.
- BlobServiceProperties.DefaultServiceVersion is now nullable.
- Rename
DeleteBlobSubRequest::containerNametoDeleteBlobSubRequest::blobContainerName. - Rename
SetBlobAccessTierSubRequest::containerNametoSetBlobAccessTierSubRequest::blobContainerName. - Rename
BlobSasBuilder::ContainerNametoBlobSasBuilder::BlobContainerName. - Rename
BlobSasResource::ContainertoBlobSasResource::BlobContainer. - Rename
AccountSasResource::ContainertoAccountSasResource::BlobContainer - Rename some structs:
CreateContainerResulttoCreateBlobContainerOptionsCreateContainerOptionstoCreateBlobContainerOptionsDeleteContainerResulttoDeleteBlobContainerResultDeleteContainerOptionstoDeleteBlobContainerOptionsGetContainerPropertiesResulttoGetBlobContainerPropertiesResultGetContainerPropertiesOptionstoGetBlobContainerPropertiesOptionsSetContainerMetadataResulttoSetBlobContainerMetadataResultSetContainerMetadataOptionstoSetBlobContainerMetadataOptionsGetContainerAccessPolicyResulttoGetBlobContainerAccessPolicyResultGetContainerAccessPolicyOptionstoGetBlobContainerAccessPolicyOptionsSetContainerAccessPolicyResulttoSetBlobContainerAccessPolicyResultSetContainerAccessPolicyOptionstoSetBlobContainerAccessPolicyOptionsAcquireContainerLeaseResulttoAcquireBlobContainerLeaseResultAcquireContainerLeaseOptionstoAcquireBlobContainerLeaseOptionsRenewContainerLeaseResulttoRenewBlobContainerLeaseResultRenewContainerLeaseOptionstoRenewBlobContainerLeaseOptionsReleaseContainerLeaseResulttoReleaseBlobContainerLeaseResultReleaseContainerLeaseOptionstoReleaseBlobContainerLeaseOptionsChangeContainerLeaseResulttoChangeBlobContainerLeaseResultChangeContainerLeaseOptionstoChangeBlobContainerLeaseOptionsBreakContainerLeaseResulttoBreakBlobContainerLeaseResultBreakContainerLeaseOptionstoBreakBlobContainerLeaseOptionsContainerAccessConditionstoBlobContainerAccessConditionsListContainersSegmentResulttoListBlobContainersSegmentResultListContainersSegmentOptionstoListBlobContainersSegmentOptions
- API signature for CommitBlockList has changed.
BlockTypedoesn't need to be specified anymore. PageBlobClient::GetPageRangesdoesn't support getting difference between current blob and a snapshot anymore. UsePageBlobClient::GetPageRangesDiffinstead.- Move Blob SAS into
Azure::Storage::Sasnamespace. - Replace all transactional content MD5/CRC64 with
ContentHashstruct. EncrytionKeySha256is changed to binary(std::vector<uint8_t>).ContentMd5HTTP header is renamed toContentHash, the type is also changed toContentHash.ServerEncryptedfields are renamed toIsServerEncrypted, and changed to non-nullable type.- Add
Isprefix to bool variable names. LikeIsAccessTierInferred,IsDeleted. IsServerEncrypted,EncryptionKeySha256andEncryptionScopeare removed fromClearPageBlobPagesResult, since they are never returned from storage server.ListBlobsFlatSegmentis renamed toListBlobsSinglePage.ListBlobsByHierarchySegmentis renamed toListBlobsByHierarchySinglePage.ListBlobContainersSegmentis renamed toListBlobContainersSinglePage.FindBlobsByTagsis renamed toFindBlobsByTagsSinglePage.MaxResultsin list APIs are renamed toPageSizeHint.- All date time related strings are now changed to
Azure::Core::DateTimetype. - Replace
std::pair<int64_t, int64_t>withAzure::Core::Http::Rangeto denote blob ranges. - Move version strings into
Detailsnamespace. - Replace scoped enums that don't support bitwise operations with extensible enum.
- Continuation token of result types are changed to nullable.
- Rename
Models::DeleteSnapshotsOption::OnlytoModels::DeleteSnapshotsOption::OnlySnapshots. - Rename
SourceConditionsin API options toSourceAccessConditions. - Remove Blob Batch.
DownloadBlobResult::Content-Rangeis changed to anAzure::Core::Http::Range, an extra fieldBlobSizeis added.- Remove
UndeletefromBlobContainerClient. BlobRetentionPolicy::Enabledis renamed toBlobRetentionPolicy::IsEnabled,BlobStaticWebsite::Enabledis renamed toBlobStaticWebsite::IsEnabled.- Change type for metadata to case-insensitive
std::map. - Change parameter type for token credential from
Azure::Identity::ClientSecretCredentialtoAzure::Core::TokenCredential. - Rename member function
GetUriof client types toGetUrl. BlobClient::GetBlockBlobClient,BlobClient::GetAppendBlobClientandBlobClient::GetPageBlobClientare renamed toBlobClient::AsBlockBlobClient,BlobClient::AsAppendBlobClientandBlobClient::AsPageBlobClientrespectively.
azure-identity_1.0.0-beta.2
1.0.0-beta.2 (2021-01-13)
Breaking Changes
- Moved
Azure::Identity::Version, defined inazure/identity/version.hppto theAzure::Identity::Detailsnamespace.
Other changes and Improvements
- Add high-level and simplified identity.hpp file for simpler include experience for customers.
azure-core_1.0.0-beta.4
1.0.0-beta.4 (2021-01-13)
New Features
- Added a WinHTTP-based
HttpTransportcalledWinHttpTransportand use that as the defaultTransportPolicyOptions.Transporton Windows when sending and receiving requests and responses over the wire. - Added
Rangetype toAzure::Core::Httpnamespace. - Added support for long-running operations with
Operation<T>. - Added support for setting a custom transport adapter by implementing the method
std::shared_ptr<HttpTransport> ::AzureSdkGetCustomHttpTransport(). - Added interoperability between
std::chrono::system_clocktypes andDateTime. - Added default constructor to
DateTimeand support for dates since 0001. - Added Base64 encoding and decoding utility APIs to the
Azure::Corenamespace available fromazure/core/base64.hpp. - Added
Http::Response<void>template specialization. - Added
GetHeadersAsString()on theAzure::Core::Http::Requestclass. - Added a
platform.hppheader file for defining commonly used OS-specific#defineconstants. - Added
IsCancelled()on theAzure::Core::Contextclass.
Breaking Changes
- Removed
DateTime::operator Duration(),DateTime::Durationtypedef andDateTime::Now(). - Moved
Azure::Core::BearerTokenAuthenticationPolicy, defined inazure/core/credentials.hpptoAzure::Core::Httpnamespace inazure/core/http/policy.hppheader. - Changed type of
Token::ExpiresOntoDateTime. - Renamed exception
OperationCanceledExceptiontoOperationCancelledExceptionandThrowIfCanceled()toThrowIfCancelled()on theContextclass. - Moved
Azure::Core::Version, defined inazure/core/version.hppto theAzure::Core::Detailsnamespace. - Changed
Azure::Core::AuthenticationExceptionto derive fromstd::exceptioninstead ofstd::runtime_error. - Changed the
BodyStream::ReadAPI from being a pure virtual function to non-virtual. - Removed
CurlConnection,CurlConnectionPool,CurlSession, andCurlNetworkConnectionby making headers meant as implementation, private. - Removed option
AllowBeastfromCurlTransportSSLOptionsinCurlTransportOptions. - Changed default option
NoRevokefromCurlTransportSSLOptionsfor theCurlTransportOptionstotrue. This disables the revocation list checking by default.
Bug Fixes
- Fixed the Curl transport adapter connection pooling when setting options.
- Fixed setting up the default transport adapter.
- Fixed linker error of missing pthread on Linux.
- Initialize class data members to avoid MSVC warning.
- Throw
Azure::Core::Http::TransportExceptionifcurl_easy_init()returns a null handle.
Other changes and Improvements
- Added support for distributing the C++ SDK as a source package via vcpkg.
azure-storage-files-shares_12.0.0-beta.5
12.0.0-beta.5 (2020-11-13)
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.