2019.10 12.0.0-preview.5
- [Breaking]
IPRange
is renamed toSasIPRange
. PR #5551 - Created new interface
CommonOptions
. This interface is for standard options that apply to all methods that invoke remote operations. This interface currently contains options that enable client-side tracing of the SDK. PR #5550 offset
parameter is optional indownloadToBuffer
method ofFileClient
. PR #5592- Async iterator with pagination support is added to list Handles -
listHandles
PR #5536 - [Breaking]
Models
is no longer exported in public API surface. Instead generated model types required by the public API are explicitly re-exported. PR #5532 - [Breaking] Cancelling an operation now throws a standardized error with the name
AbortError
. PR #5633 - [Breaking]
filePath
is onFileClient
is renamed topath
.dirPath
is added toDirectoryClient
is renamed topath
. PR #5613 - [Breaking]
body
field fromRestError
Object in core-http Library is removed, theresponse
property on the error will now have theparsedBody
&headers
along with raw body & headers that are already present. PRs #5670, #5437- Errors from the storage service can be seen in an extra field
details
with the expected error code. #5688
- Errors from the storage service can be seen in an extra field
- [Breaking]
progress
callback in the option bags of all the helper methods is renamed toonProgress
. PR #5676 - [Breaking] Type of the
permissions
attribute in the options bagFileSASSignatureValues
to be passed intogenerateFileSASQueryParameters
is changed toFileSASPermissions
from typestring
. PR #5626- Similarly,
AccountSASPermissions
forgenerateAccountSASQueryParameters
instead of typestring
. - Example - permissions attribute in
generateFileSASQueryParameters
permissions: FileSASPermissions.parse("racwd").toString()
changes toFileSASPermissions.parse("racwd")
- Similarly,
- [Breaking]
sourceModifiedAccessConditions
attribute inFileUploadRangeFromURLOptions
is renamed tosourceConditions
. PR #5682 - Renames for following Options interfaces. PR #5650
UploadStreamToAzureFileOptions
->FileUploadStreamOptions
,UploadToAzureFileOptions
->FileParallelUploadOptions
,DownloadFromAzureFileOptions
->FileDownloadToBufferOptions
- [Breaking] Appropriate attribute renames in all the interfaces PR #5610
- Example -
nextMarker
->continuationToken
,HTTPClient
->HttpClient
,permission
->permissions
,parallelism
->concurrency
- Example -
- [Breaking]
forceCloseHandlesSegment
is not exposed from the library in favour of the new methodforceCloseAllHandles
onFileClient
andDirectoryClient
. PR #5620 - [Breaking] IE11 needs
Object.assign
polyfill loaded. PR #5727