Skip to content

Azure.Storage.Files.Shares_12.5.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 10 Nov 23:22
52fb9b7

12.5.0 (2020-11-10)

  • Includes all features from 12.5.0-preview.1
  • Fixed bug where ShareDirectoryClient.Exists(), .DeleteIfExists() and ShareFileClient.Exists(), .DeleteIfExists() would thrown an exception when the directory or file's parent directory didn't exist.
  • Renamed ShareClient.SetTier() -> ShareClient.SetProperties(). SetProperties() can be used to set both Share Tier and Share Quota.
  • Changed ShareDeleteOptions.IncludeSnapshots -> .ShareSnapshotsDeleteOption, and added option to also delete Share Snapshots that have been leased.
  • Added additional info to exception messages.
  • Removed ability to create a ShareLeaseClient for a Share or Share Snapshot. This feature has been rescheduled for future release.
  • Fixed bug where File Share SDK coudn't handle SASs with start and expiry time in format other than yyyy-MM-ddTHH:mm:ssZ.
  • Added ability to set Position on streams created with ShareFileClient.OpenRead().
  • Added CanGenerateSasUri property and GenerateSasUri() to ShareFileClient, ShareDirectoryClient and ShareClient.
  • Added CanGenerateSasUri property and GenerateAccountSasUri() to ShareServiceClient.
  • Changed default constructor for FileSmbProperties from internal to public.