github Azure/azure-sdk-for-js @azure/storage-blob_12.0.0-preview.1

latest releases: @azure/communication-chat_1.5.0, @azure/arm-frontdoor_5.3.0, @azure/arm-cdn_9.1.0...
pre-release4 years ago

2019.07 Version 12.0.0-preview.1

  • [Breaking] Client types are renamed from *URL to *Client.
    BlobURL, BlockBlobURL, ContainerURL, ServiceURL, StorageURL to BlobClient, BlockBlobClient, ContainerClient, BlobServiceClient, StorageClient 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 the Aborter.timeout(<milliseconds>) functionality.
    • Aborter.none is the default value.
  • [Breaking] I- prefixes are removed from interface names
    • Example- IBlobDownloadOptions is updated to BlobDownloadOptions, the new names must to be used.
  • [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 to azsdk-js-storagefile/${SDK_VERSION}.
  • [Breaking] withPipeline method is removed.
  • Async iterators with pagination support are added for listing methods
    • listContainers(), listBlobsFlat() and listBlobsByHierarchy()
    • Please refer to the samples for async iterators in the samples folder.
  • [Breaking] Methods that list segments(listBlobFlatSegment() and listContainersSegment()) are no longer exposed in public api.
  • [Breaking] High level convenience functions are moved into clients as their instance member function.
    • uploadFileToBlockBlob(), uploadStreamToBlockBlob() and uploadBrowserDataToBlockBlob() -> BlockBlobClient.uploadFile(), BlockBlobClient.uploadStream() and BlockBlobClient.uploadBrowserData() respectively
    • downloadBlobToBuffer() -> BlobClient.downloadToBuffer()
  • [Breaking] StorageClient is no longer exposed. StorageClient.newPipeline() static method is moved to the top level exported function newPipeline().
  • [Breaking] TokenCredential has been renamed to RawTokenCredential to make way for the new @azure/identity library's TokenCredential interface.
  • [Breaking] Blob/Container member methods that manage leases are removed. A new type LeaseClient is added to manage leases.
  • 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 - AppendBlobClient, BlobClient, BlobServiceClient, BlockBlobClient, ContainerClient and PageBlocbClient
    • Connection string method is supported only in Node.js (not browsers).
  • 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 the samples/typescript folder.
  • Request and response headers are now logged at INFO level, with sensitive data redacted.
  • downloadToFile() is added to BlobClient.
  • Exported HttpRequestBody type to allow implementation of a customized HTTP client.

For release notes and more information please visit https://aka.ms/azure-sdk-preview1-js

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

NewReleases is sending notifications on new releases.