Releases: Azure/azure-sdk-for-cpp
Releases · Azure/azure-sdk-for-cpp
azure-storage-blobs_12.0.0-beta.8
12.0.0-beta.8 (2021-02-12)
Breaking Changes
- Removed
BreakBlobLeaseResult::Leasetime. - Moved
Azure::Core::Contextout of options bag of each API, and make it the last optional parameter.
azure-core_1.0.0-beta.6
1.0.0-beta.6 (2021-02-09)
New Features
- Added support for HTTP conditional requests
MatchConditionsandRequestConditions. - Added the
Hashbase class and MD5 hashing APIs to theAzure::Core::Cryptographynamespace available fromazure/core/cryptography/hash.hpp.
Breaking Changes
- Removed
Context::CancelWhen(). - Removed
LogClassificationand related functionality, addedLogLevelinstead.
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-storage-files-shares_12.0.0-beta.7
12.0.0-beta.7 (2021-02-04)
New Features
- Added support for
UploadRangeFromUriin file client. - Added support for
SetPropertiesin share client. This API supports update share tier and adjusting share's quota. - Added support to get share's tier status in
ListSharesSinglePageandGetProperties. - Added
ChangedOn,FileId,ParentIdto theFileShareSmbProperties.
Breaking Changes
- Removed
GetDirectoryClientandGetFileClientfromShareClient.ShareDirectoryClientandShareFileClientnow initializes with the name of the resource, not path, to indicate that no path parsing is done for the API ContentRangeinFileDownloadResultis nowAzure::Core::Http::Range.ContentLengthinFileDownloadResultis renamed toFileSize.- Renamed
GetUritoGetUrl. - Moved all protocol layer generated result types to
Detailsnamespace. - Renamed
ShareItemsinListSharesResponsetoItems. - Renamed
ShareItemsinServiceListSharesSinglePageResulttoItems. - Added
ShareLeaseClient, all lease related APIs are moved toShareLeaseClient. - Changed lease duration to be
std::chrono::seconds. - Added
RequestIdin each return types for REST API calls, except for concurrent APIs. - Removed
PreviousContinuationTokenfromListFilesAndDirectoriesSinglePageResultandListSharesSinglePageResult. - Removed
c_for constants:c_FileDefaultTimeValue,c_FileCopySourceTime,c_FileInheritPermission,FilePreserveSmbPropertiesandFileAllHandles. Concurrency,ChunkSizeandInitialChunkSizewere moved intoDownloadShareFileToOptions::TansferOptions.Concurrency,ChunkSizeandSingleUploadThresholdwere moved intoUploadShareFileFromOptions::TransferOptions.- Removed
SetQuotarelated API, result and options. The functionality is moved intoSetProperties. - Moved some less commonly used properties returned when downloading a file into a new structure called
DownloadShareFileDetails. This will impact the return type ofShareFileClient::DownloadandShareFileClient::DownloadTo. - Renamed
FilePropertytoFileItemDetailsto align with other SDK's naming pattern for returned items for list operation. - Renamed
SharePropertiestoShareItemDetailsto align with other SDK's naming pattern for returned items for list operation.
Other Changes and Improvements
- Removed
c_for constants and renamed to pascal format.
azure-storage-files-datalake_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added
Owner,Permissions, andGrouptoGetDataLakePathAccessControlResult. DownloadDataLakeFileResultnow has a new fieldFileSize.- Added support for
GetAccessPolicyandSetAccessPolicyinDataLakeFileSystemClient. - Moved all protocol layer generated result types to
Detailsnamespace. - Renamed
FileSystemtype returned fromListDataLakeFileSystemsto beFileSystemItem. Member object nameFileSystemsis renamed toItems. - Renamed
Pathtype returned fromListDataLakePathsto bePathItem. Member object namePathsis renamed toItems. - Added support for specifying public access type when creating a file system.
- Added
DataLakeDirectoryClient::ListPathsSinglePageAPI to list DataLake paths under certain directory. - Added
Metadata,AccessType,HasImmutabilityPolicy,HasLegalHold,LeaseDuration,LeaseStateandLeaseStatustoFileSystemItem. - Added new type
LeaseDurationTypeto indicate if a lease duration is fixed or infinite. - Added
RequestIdin each return type for REST API calls, except for concurrent APIs. - Added
UpdateAccessControlListRecursiveSinglePageto update the access control recursively for a datalake path. - Added
RemoveAccessControlListRecursiveSinglePageto remove the access control recursively for a datalake path.
Breaking Changes
- Removed
GetDfsUriin all clients since they are currently implementation details. - Removed
Datasuffix forFlushDataandAppendDataand modified all related structs to align the change. DataLakePathClientcan no longer set permissions withSetAccessControl, instead, a new APISetPermissionsis created for such functionality. Renamed the original API toSetAccessControlListto be more precise.ContentRangeinDownloadDataLakeFileResultis nowAzure::Core::Http::Range.- Removed
ContentRangeinPathGetPropertiesResult. - Renamed
ContentLengthinGetDataLakePathPropertiesResultandCreateDataLakePathResulttoFileSizeto be more accurate. - Renamed
GetUritoGetUrl. - Added
DataLakeLeaseClient, all lease related APIs are moved toDataLakeLeaseClient. - Changed lease duration to be
std::chrono::seconds. - Removed
DirectoryinListPathsSinglePageOptions. - Removed unused type
AccountResourceTypeandPathLeaseAction. - Changed all previous
LeaseDurationmembers to a new type namedLeaseDurationType. startsOnparameter forGetUserDelegationKeywas changed to optional.- Removed
PreviousContinuationTokenfromListFileSystemsSinglePageResult. Concurrency,ChunkSizeandInitialChunkSizewere moved intoDownloadDataLakeFileToOptions::TansferOptions.Concurrency,ChunkSizeandSingleUploadThresholdwere moved intoUploadDataLakeFileFromOptions::TransferOptions.- Removed
RenamefromDataLakeDirectoryClientandDataLakeFileClient. Instead, addedRenameFileandRenameSubdirectorytoDataLakeDirectoryClientand addedRenameFileandRenameDirectorytoDataLakeFileSystemClient. - Rename APIs now return the client of the resource it is renaming to.
- Removed
Modefor rename operations' options, that originally controls the rename mode. Now it is fixed to legacy mode. - Changed
SetAccessControlRecursivetoSetAccessControlRecursiveListSinglePage, to mark that it is a single page operation, and removed themodeparameter, separated the modify/delete functionality to two new APIs. - Moved
SetAccessControlRecursiveListSinglePagetoDataLakePathClient. - Changed
MaxRecordtoMaxEntries,ForceFlagtoContinueOnFailureto be more accurate names. - Type for ETag was changed to
Azure::Core::ETag. - Type for
IfMatchandIfNoneMatchwas changed toAzure::Core::ETag. - Renamed
ListDataLakeFileSystemsIncludeItemtoListDataLakeFileSystemsIncludeFlags. - Removed
DataLakeDirectoryClient::DeleteandDataLakeDirectoryClient::DeleteIfExists. AddedDataLakeDirectoryClient::DeleteEmpty,DataLakeDirectoryClient::DeleteEmptyIfExists,DataLakeDirectoryClient::DeleteRecursiveandDataLakeDirectoryClient::DeleteRecursiveIfExistsinstead. - Removed
ContinuationTokeninDeleteDataLakePathResultandDeleteDataLakeDirectoryResult, as they will never be returned for HNS enabled accounts. - Renamed
DataLakeFileClient::ReadtoDataLakeFileClient::Download. Also changed the memberAzure::Core::Nullable<bool> RangeGetContentMd5in the option to beAzure::Core::Nullable<HashAlgorithm> RangeHashAlgorithminstead. - Moved some less commonly used properties into a details data structure for
Download,DownloadToandListFileSystemsSinglePageAPI, and enriched the content of the mentioned details data structure.
Other Changes and Improvements
- Changed
DataLakeFileClient::Flush'sendingOffsetparameter's name toposition. - Renamed
DataLakePathClient::GetAccessControlstoDataLakePathClient::GetAccessControlList. - Removed unused parameters, options, results and functions in protocol layer.
azure-storage-common_12.0.0-beta.7
12.0.0-beta.7 (2021-02-03)
New Features
- Added additional information in
StorageException.
Breaking Changes
AccountSasResource::BlobContainerwas renamed toAccountSasResource::Container.
Bug Fixes
- Fixed
ClientRequestIdwasn't filled inStorageException.
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.