19 KiB
19 KiB
Release History
12.11.0 (2024-09-17)
Features Added
- Features in
12.11.0-beta.1are now generally available.
12.11.0-beta.1 (2024-08-07)
Features Added
- Bumped up API version to
2024-11-04. - Added support for token-based authentication for all APIs.
- Added support for paid bursting on premium file share accounts.
- Added support for binary format for file permissions.
- Added ability to retrieve SAS string to sign for debugging purposes.
12.10.0 (2024-07-16)
Features Added
- Features in
12.10.0-beta.1are now generally available.
12.10.0-beta.1 (2024-06-11)
Features Added
- Bumped up API version to
2024-08-04. - Added more detailed messaging for authorization failure cases.
- Added support for snapshot management on NFS shares.
12.9.0 (2024-05-07)
Features Added
- Features in
12.9.0-beta.1are now generally available.
12.9.0-beta.1 (2024-04-17)
Features Added
- Added new field
ClientNameinHandleItem. - Added new field
IncludeRenamesinGetFileRangeListOptions.
12.8.0 (2023-11-07)
Features Added
- Features in
12.8.0-beta.1are now generally available. - Fixed a bug where the x-ms-file-request-intent request header was not being sent for
ShareFileClient::UploadRangeFromUri.
12.8.0-beta.1 (2023-10-17)
Features Added
- Added new extendable enum
ShareAudience - Added new field
AudienceinShareClientOptions
12.7.0 (2023-09-12)
Features Added
- Features in
12.7.0-beta.1and12.7.0-beta.2are now generally available.
Bugs Fixed
- Fixed a bug where
ShareServiceClient::SetPropertiesandShareServiceClient::GetPropertiesthrew exception if propertyProtocolis not null.
12.7.0-beta.1 (2023-08-12)
Features Added
- TenantId can now be discovered through the service challenge response, when using a TokenCredential for authorization.
- A new property is now available on
ShareClientOptionscalledEnableTenantDiscovery. If set totrue, the client will attempt an initial unauthorized request to the service to prompt a challenge containing the tenantId hint.
- A new property is now available on
- Added a new field
SourceAuthorizationin options for copy operations, which can be used to specify authorization for copy source. - Added a new field
ContentTypeinRenameFileOptions.
12.6.1 (2023-08-08)
Bugs Fixed
- Fixed a bug where
ShareDirectoryClient::ListFilesAndDirectoriesonly returns the first page without ContinuationToken, even if there are more pages.
12.6.0 (2023-07-11)
Features Added
- New features in
12.6.0-beta.1are now generally available.
12.6.0-beta.1 (2023-05-31)
Features Added
- Bumped up API version to
2023-01-03. - Added new field
AccessRightsinHandleItem.
12.5.0 (2023-05-09)
Features Added
- New features in
12.5.0-beta.1are now generally available.
Bugs Fixed
- Fixed a bug where
ShareFileClient::ListHandlesandShareDirectoryClient::ListHandlesalways return empty list.
12.5.0-beta.1 (2023-04-11)
Features Added
- Added support for OAuth:
- New field
ShareTokenIntentin ShareClientOptions. - New constructor with
TokenCredentialinShareServiceClient,ShareClient,ShareDirectoryClient,ShareFileClient.
- New field
- Added support for trailing dot:
- New field
AllowTrailingDot,AllowSourceTrailingDotinShareClientOptions.
- New field
12.4.0 (2023-03-07)
Features Added
- New features in
12.4.0-beta.1are now generally available.
Bugs Fixed
- Fixed a bug where
ShareClient::GetStatisticsthrew exception when storage service doesn't returnETagandLast-Modifiedheaders.
12.4.0-beta.1 (2023-02-07)
Features Added
- Bumped up API version to
2021-12-02. - Added support for invalid xml characters in file and directory names for
ShareDirectoryClient::ListFilesAndDirectories(),ShareDirectoryClient::ListHandles()andShareFileClient::ListHandles().
Acknowledgments
Thank you to our developer community members who helped to make Azure Storage File Shares better with their contributions to this release:
- ariellink (GitHub)
12.3.0 (2022-10-11)
Features Added
- New features in
12.3.0-beta.1are now generally available.
12.3.0-beta.1 (2022-09-06)
Features Added
- Bumped up API version to
2021-06-08. - Added fields
ProvisionedBandwidthMBps,EnabledProtocolsandRootSquashinShareItemDetailsandShareProperties. - Added support for listing files with extended information.
- Added new APIs:
- ShareDirectoryClient::RenameFile()
- ShareDirectoryClient::RenameSubdirectory()
- ShareLeaseClient::Renew()
- Added support for specifying last written time when uploading file range.
- Added support for specifying file changed time when creating/copying file or setting file properties.
Bugs Fixed
- Empty file or existing file won't be created/overwritten if the file to be downloaded doesn't exist.
12.2.1 (2022-03-09)
Other Changes
- Deprecated enum
LeaseDuration, useLeaseDurationTypeinstead.
12.2.0 (2021-09-08)
Breaking Changes
AccessPolicy::StartsOnandAccessPolicy::ExpiresOnare now nullable values.
Bugs Fixed
- Fixed a bug where prefix cannot contain
&when listing files.
Other Changes
- Create less threads if there isn't too much data to transfer.
12.1.0 (2021-08-10)
Bugs Fixed
- Fixed a bug where unspecified SMB properties got overwritten rather than preserved by
SetProperties().
12.0.1 (2021-07-07)
No API changes since 12.0.0.
12.0.0 (2021-06-08)
Breaking Changes
- Renamed
ContentLengthinFileItemDetailstoFileSize.
Other Changes and Improvements
- Updated some samples.
- Fixed a read consistency issue.
12.0.0-beta.11 (2021-05-19)
New Features
- Added
ShareDirectoryClient::ForceCloseAllHandles()andShareFileClient::ForceCloseAllHandles().
Breaking Changes
- Added
finalspecifier to classes and structures that are are not expected to be inheritable at the moment. - Renamed
HasMorePages()in paged response toHasPage(). ShareLeaseClient::Change()updates internal lease id.ShareItem::ShareMetadatawas renamed toShareItem::Metadata.
12.0.0-beta.10 (2021-04-16)
Breaking Changes
- Removed
Azure::Storage::Files::Shares::PackageVersion. - Renamed
GetUserDelegationKeyOptions::startsOntoStartsOn. - Removed
ShareClient::ListFilesAndDirectories(). - Replaced all paginated collection functions that have the SinglePage suffix with pageable functions returning a
PagedResponse<T>-derived type. The options are also renamed accordingly.ShareServiceClient::ListShares().ShareDirectoryClient::ListFilesAndDirectories().ShareDirectoryClient::ListHandles().ShareFileClient::ListHandles().
- Removed
ShareDirectoryClient::ForceCloseAllHandlesSinglePage()andShareFileClient::ForceCloseAllHandlesSinglePage().
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.
12.0.0-beta.8 (2021-02-12)
New Features
- Changed type of
FileAttributesto extensible enum.
Breaking Changes
ListSharesSinglePageOptions::ListSharesIncludewas renamed toListSharesSinglePageOptions::ListSharesIncludeFlags.DeleteShareOptions::IncludeSnapshotswas renamed toDeleteShareOptions::DeleteSnapshots.FileShareSmbPropertieswas renamed toFileSmbProperties.DownloadShareFileOptions::GetRangeContentMd5was renamed toDownloadShareFileOptions::RangeHashAlgorithm.UploadFileRangeFromUriOptions::SourceContentHashwas renamed toUploadFileRangeFromUriOptions::TransactionalContentHash.GetShareFileRangeListOptions::PrevShareSnapshotwas renamed toGetShareFileRangeListOptions::PreviousShareSnapshot.- Refined
CreateShareDirectoryResultandCreateShareFileResult. - Removed
DownloadShareFileDetails::AcceptRanges. - Removed
GetShareFilePropertiesResult::FileType. - Added
RequestIdinForceCloseShareDirectoryHandleResult. - Removed
TransactionalContentHashfromClearShareFileRangeResult. - Changed API signature of
ShareFileClient::UploadRangeFromUri. - Renamed
ForceCloseAllHandlestoForceCloseAllHandlesSinglePageand all related structs. - Made all
ContinuationTokenin return types nullable. - Renamed
ShareFileHttpHeaderstoFileHttpHeaders. - Renamed
ShareGetPropertiesResult::AccessTierChangeTimetoAccessTierChangedOn. - Renamed
ShareGetStatisticsResult::ShareUsageBytestoShareUsageInBytes. - Renamed
ShareGetPermissionResult::PermissiontoFilePermission. - Grouped all file SMB properties into a struct and refined the APIs that return these properties.
- Renamed
numberOfHandlesClosedtoNumberOfHandlesClosedandnumberOfHandlesFailedToClosetoNumberOfHandlesFailedToClose. - Renamed
FileGetRangeListResult::FileContentLengthtoFileSize. - Renamed
StorageServicePropertiestoFileServiceProperties. - Removed
LeaseTimein results returned by lease operations. Also removedLeaseIdinShareBreakLeaseResult. - Moved
Azure::Core::Contextout of options bag of each API, and make it the last optional parameter.
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.
12.0.0-beta.6 (2021-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 APIs such as
ShareClient::AcquireLeaseandReleaseLeasesince they are not supported in recent service versions. - Moved File SAS into
Azure::Storage::Sasnamespace. - Replaced all transactional content MD5/CRC64 with the
ContentHashstruct. FileShareHttpHeadersis renamed toShareFileHttpHeaders, and memberstd::string ContentMd5is changed toStorage::ContentHash ContentHash.- All date time related strings are now changed to
Azure::Core::DateTimetype. - Moved version strings into
Detailsnamespace. - Renamed all functions and structures that could retrieve partial query results from the server to have
SinglePagesuffix instead ofSegmentsuffix. - Removed
FileRange,ClearRange, andOffsetandLengthpair in options. They are now represented withAzure::Core::Http::Range. - Replace scoped enums that don't support bitwise operations with extensible enum.
IsServerEncryptedmembers 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. For example,SetDirectoryPropertiesResultis changed toSetShareDirectoryPropertiesResult. - Renamed
GetSubDirectoryClienttoGetSubdirectoryClient. - Type for ETag was changed to
Azure::Core::ETag.
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.
1.0.0-beta.4 (2020-10-16)
New Features
- Service version is now 2020-02-10.
- Added support for leasing a share:
- ShareClient::AcquireLease
- ShareClient::ReleaseLease
- ShareClient::ChangeLease
- ShareClient::BreakLease
- ShareClient::RenewLease
Breaking Changes
CreateFromConnectionStringnow accepts unencoded file and directory name.- Added support for getting range list with previous snapshot.
GetFileRangeListResultnow returnsstd::vector<FileRange> Rangesandstd::vector<FileRange> ClearRangesinstead ofstd::vector<Range> RangeList. - Added support for SMB Multi-Channel setting for
ServiceClient::GetPropertiesandServiceClient::SetProperties. This is only available for Storage account with Premium File access.- Standard account user has to remove the returned SMB Multi-Channel setting before set, otherwise service would return failure.
Markeris renamed toContinuationTokenin options.NextMarkeris renamed toContinuationTokenin returned result objects.Markeris renamed toPreviousContinuationTokenin returned result objects.
Bug Fixes
- Unencoded Share/File/Directory name is now encoded.
1.0.0-beta.2 (2020-09-09)
New Features
- Added File SAS generation support.
- Release based on azure-core_1.0.0-beta.1.
1.0.0-beta.1 (2020-08-28)
New Features
- Added support for File features:
- ServiceClient::ListSharesSegment
- ServiceClient::SetProperties
- ServiceClient::GetProperties
- ShareClient::Create
- ShareClient::Delete
- ShareClient::CreateSnapshot
- ShareClient::GetProperties
- ShareClient::SetQuota
- ShareClient::SetMetadata
- ShareClient::GetAccessPolicy
- ShareClient::SetAccessPolicy
- ShareClient::GetStatistics
- ShareClient::CreatePermission
- ShareClient::GetPermission
- ShareClient::ListFilesAndDirectoriesSegment
- DirectoryClient::Create
- DirectoryClient::Delete
- DirectoryClient::GetProperties
- DirectoryClient::SetProperties
- DirectoryClient::SetMetadata
- DirectoryClient::ListFilesAndDirectoriesSegment
- DirectoryClient::ListHandlesSegment
- DirectoryClient::ForceCloseHandle
- DirectoryClient::ForceCloseAllHandles
- FileClient::Create
- FileClient::Delete
- FileClient::Download
- FileClient::DownloadTo
- FileClient::UploadFrom
- FileClient::StartCopy
- FileClient::AbortCopy
- FileClient::GetProperties
- FileClient::SetProperties
- FileClient::SetMetadata
- FileClient::UploadRange
- FileClient::ClearRange
- FileClient::GetRangeList
- FileClient::ListHandlesSegment
- FileClient::ForceCloseHandle
- FileClient::ForceCloseAllHandles
- FileClient::AcquireLease
- FileClient::ReleaseLease
- FileClient::ChangeLease
- FileClient::BreakLease