12.0.0-beta.3 (2023-07-11)
Features Added
TransferManager
new APIPauseAllRunningTransfersAsync
.- Added support for
TransferManager.GetTransfers
, to retrieve the list of transfers in theTransferManager
. - Added support for tracking progress of transfers. See
TransferOptions.ProgressHandler
andTransferOptions.ProgressHandlerOptions
. - Added
TransferManager.GetResumableTransfers
to get information about transfers that can be resumed. - Added support for
Transfermanager.ResumeTransferAsync
to resume a transfer. - Added support authorization using Azure Active Directory when using Service to Service Copy.
Breaking Changes
- [BREAKING CHANGE] Altered API signatures on
TransferManager
andDataTransfer
for pausing. - [BREAKING CHANGE]
StorageResouceContainer.GetParentStorageResourceContainer()
removed. - [BREAKING CHANGE] Updated
StorageResource.CompleteTransferAsync
to have an added overwrite parameter:StorageResource.CompleteTransferAsync(bool overwrite, CancellationToken cancellationToken = default)
. - [BREAKING CHANGE] Renamed
StorageResource
toStorageResourceSingle
andStorageResourceBase
toStorageResouce
. - [BREAKING CHANGE] Combined both
TransferManager.StartTransferAsync
methods into one that accepts single or container resources. All existing calls should continue to work due to inheritence. - [BREAKING CHANGE] Renamed
ErrorHandlingOptions
toErrorHandlingBehavior
. - [BREAKING CHANGE] Changed type of
StorageResource.CanProduceUri
tobool
. - [BREAKING CHANGE] Removed
TransferOptions.ResumeFromCheckpointId
. UseTransfermanager.ResumeTransferAsync
to resume a transfer instead.
Bugs Fixed
- Fix to prevent empty strings or null to be passed as paths for
LocalFileStorageResource
andLocalDirectoryStorageResourceContainer
. - Fixed
ErrorHandlingOptions.ContinueOnFailure
not be respected. - Fixed bug where resuming a transfer where the source and destination is a
StorageResourceContainer
would throw a null reference exception. - Fixed bug when downloading zero length
StorageResource
s in aStorageResourceContainer
will throw an exception.