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 -
[Breaking]
Models
is no longer exported in public API surface. Instead generated model types required by the public API are explicitly re-exported. In the case where convenience layer already defined a type with conflicting name, the model type is aliased withModel
suffix. PR #5567 -
[Breaking] Cancelling an operation now throws a standardized error with the name
AbortError
. PR #5633 -
[Breaking]
blobName
onAppendBlobClient
,BlobClient
,BlockBlobClient
andPageBlobClient
is renamed toname
. PR #5613 -
[Breaking] New
BlobBatchClient
allowing batched requests to the Azure Storage Blob service. PR #5634- Renamed
BatchRequest
toBlobBatch
, flattenedBatchDeleteRequest
andBatchSetTierRequest
intoBlobBatch
- Moved
submitBatch
code fromBlobServiceClient
into newBlobBatchClient
, created newdeleteBlobs
andsetBlobsAccessTier
helpers onBlobBatchClient
BlobBatchClient
containssetBlobsAccessTier
,submitBatch
anddeleteBlobs
helper methods.BlobBatch
represents an aggregated set of operations on blobs,delete
andsetAccessTier
functionalities are supported currently.
- Renamed
-
[Breaking] Flattened the conditions type
BlobRequestConditions
instead of current nested one. It replacesContainerAccessConditions
andBlobAccessConditions
.
In addition, various conditions fields are renamed into simplyconditions
exceptsourceModifiedAccessConditions
which is renamed tosourceConditions
.
This makes it more convenient to pass in conditional request options. PR #5672.An example:
{ blobAccessConditions: { modifiedAccessConditions: { ifMatch: uploadResponse.eTag } }
turns into
{ conditions: { ifMatch: uploadResponse.eTag }
-
[Breaking]
eTag
attribute is renamed toetag
. PR #5674 -
[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] Consolidated
PageRange
andClearRange
types. They now haveoffset
andcount
attributes as opposed to the olderstart
andend
attributes.
PR #5632 -
[Breaking] Type of the
permissions
attribute in the options bagBlobSASSignatureValues
to be passed intogenerateBlobSASQueryParameters
is changed toBlobSASPermissions
from typestring
. PR #5626- Similarly,
AccountSASPermissions
forgenerateAccountSASQueryParameters
instead of typestring
. - Example - permissions attribute in
generateBlobSASQueryParameters
permissions: BlobSASPermissions.parse("racwd").toString()
changes toBlobSASPermissions.parse("racwd")
- Similarly,
-
Renames for following Options interfaces. PR #5650
DownloadFromBlobOptions
->BlobDownloadToBufferOptions
,UploadStreamToBlockBlobOptions
->BlockBlobUploadStreamOptions
,UploadToBlockBlobOptions
->BlockBlobParallelUploadOptions
-
[Breaking] Appropriate attribute renames in all the interfaces. PRs #5580,#5630
- Example -
nextMarker
->continuationToken
,HTTPClient
->HttpClient
,permission
->permissions
,parallelism
->concurrency
- Example -
-
Bug fix - Name properties on clients now support the Emulator. PR #5557
- emulator url when the blobEndpoint is
http://127.0.0.1:10000/devstoreaccount1
supported - emulator connection string shorthands are supported
UseDevelopmentStorage=true
- (with proxyURI)
UseDevelopmentStorage=true;DevelopmentStorageProxyUri=proxyURI
- emulator url when the blobEndpoint is
-
[Breaking]
encrypted
attribute is removed fromBlobMetadata
interface. PR #5612 -
[Breaking] Return type of
downloadToBuffer
helper method onBlobClient
is changed toPromise<Buffer>
fromPromise<void>
PR #5624 -
[Breaking] IE11 needs
Object.assign
polyfill loaded. PR #5727