github Azure/azure-sdk-for-net Azure.Storage.DataMovement_12.0.0-beta.3

latest releases: Microsoft.Azure.Batch_16.3.1, Azure.Messaging.EventGrid_4.26.0, Azure.Communication.Chat_1.3.1...
pre-release14 months ago

12.0.0-beta.3 (2023-07-11)

Features Added

  • TransferManager new API PauseAllRunningTransfersAsync.
  • Added support for TransferManager.GetTransfers, to retrieve the list of transfers in the TransferManager.
  • Added support for tracking progress of transfers. See TransferOptions.ProgressHandler and TransferOptions.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 and DataTransfer 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 to StorageResourceSingle and StorageResourceBase to StorageResouce.
  • [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 to ErrorHandlingBehavior.
  • [BREAKING CHANGE] Changed type of StorageResource.CanProduceUri to bool.
  • [BREAKING CHANGE] Removed TransferOptions.ResumeFromCheckpointId. Use Transfermanager.ResumeTransferAsync to resume a transfer instead.

Bugs Fixed

  • Fix to prevent empty strings or null to be passed as paths for LocalFileStorageResource and LocalDirectoryStorageResourceContainer.
  • 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 StorageResources in a StorageResourceContainer will throw an exception.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.