2019.07 Version 12.0.0-preview.1
-
[Breaking] Client types are renamed from *URL to *Client.
- ServiceURL, ShareURL, DirectoryURL and FileURL to FileServiceClient, ShareClient, DirectoryClient and FileClient respectively.
-
[Breaking] Aborter parameters are now moved into option bags.
abortSignal
attrubute(optional) in the option-bag of respective module has to be utitlized for theAborter.timeout(<milliseconds>)
functionality.Aborter.none
is the default value.
-
[Breaking] I- prefixes are removed from interface names.
- Example-
IDirectoryCreateOptions
is updated toDirectoryCreateOptions
, the new names must to be used.
- Example-
-
[Breaking] The static methods to create client types are removed. The functionality is moved into new instance methods added to the parent clients.
-
[Breaking] The telemetry strings have been updated.
Azure-Storage/${SDK_VERSION}
is updated toazsdk-js-storageblob/${SDK_VERSION}
.
-
[Breaking]
withPipeline()
method is removed. -
Async iterators with pagination support are added for listing methods
listFilesAndDirectories()
andlistShares()
- Please refer to the samples for async iterators in the
samples
folder.
-
[Breaking] Methods that list segments(
listFilesAndDirectoriesSegment()
andlistSharesSegment()
) are no longer exposed in public api. -
[Breaking] High level convenience functions are moved into clients as their instance member function.
uploadFileToAzureFile()
,uploadStreamToAzureFile()
,downloadAzureFileToBuffer()
anduploadBrowserDataToAzureFile()
->FileClient.uploadFile()
,
FileClient.uploadStream()
,FileClient.downloadToBuffer()
andFileClient.uploadBrowserData()
respectively.
-
[Breaking]
StorageClient
is no longer exposed.StorageClient.newPipeline()
static method is moved to the top level exported functionnewPipeline()
. -
Updated dependency
@azure/ms-rest-js
to@azure/core-http
. -
Constructor overloads added into client types so they can be constructed from a url and a pipeline/credential and connection string.
- Constructors with overloads -
FileServiceClient
andShareClient
- Connection string method is supported only in Node.js (not browsers).
- Constructors with overloads -
-
Creation/Deletion of child resources are duplicated to parent client type.
-
HTTP proxy support is added (Node.js only).
- Please refer to the
proxyAuth.ts
sample in thesamples/typescript
folder.
- Please refer to the
-
Request and response headers are now logged at INFO level, with sensitive data redacted.
-
downloadToFile()
is added toFileClient
.
For release notes and more information please visit https://aka.ms/azure-sdk-preview1-js