31 KiB
Release History
12.3.0 (2020-11-10)
- Added
BlockBlobClient.uploadData(data: Buffer | Blob | ArrayBuffer | ArrayBufferView, options)for parallel uploading. It's avaiable in both Node.js and browsers. - Added new SAS permissions Move(m) and Execute(e) for Blob and Container. Also supports specifying an authorized object ID via
saoidand a correlation ID viascidfor user delegation SAS.
12.3.0-beta.1 (2020-10-13)
- Updated Azure Storage Service API version to 2020-02-10.
- Added support for Blob Last Access Time tracking.
- Added support for Blob Query Arrow output format.
- Added support for Container Soft Delete.
12.2.1 (2020-09-17)
- Bug fix - Fixes an issue where
BlockBlobClient.uploadStream()will give an "Invalid Verb" error when keep-alive is enabled. Fixed bug 11187.
12.2.0 (2020-09-08)
- Added RehydratePriority to BlobProperties and BlobItemProperties.
- Fixed
BlockBlobClient.uploadStream()to supportbufferSizelarger thanbuffer.constants.MAX_LENGTH. - Added support for Object Replication Service.
- Added custom domain support.
- Supported Append Blob Seal.
- Supported tags conditional operations.
- The Static Website Service now supports a DefaultIndexDocumentPath for a global HTTP 200 route within the static website. You can get it by
BlobServiceClient.getProperties()and set it viablobServiceClient.setProperties(). - Bug fix -
credentialparameter ofnewPipeline()function is now optional. If not specified,AnonymousCredentialis used. Fixes bug 9628. - Bug fix - high level upload functions
BlockBlobClient.uploadFile(),BlockBlobClient.uploadStream()andBlockBlobClient.uploadBrowserData()now support setting tier. Fixes bug 9062. - Optimized error semantic for
listBlobsByHierarchy(). UsinglistBlobsByHierarchy()with emptydelimiterwill now fail-fast. - Bug fix - Content-Length header is no more ignored. Fixes bugs 8903, 9300 and 10614.
12.2.0-preview.1 (2020.07)
- Updated Azure Storage Service API version to 2019-12-12.
- Supported quick query. Added a new API
BlockBlobClient.query(). - Supported blob versioning.
- Supported blob tags.
- Increased the maximum block size for Block Blob from 100MiB to 4000MiB(~4GB). And thereby supporting ~200TB maximum size for Block Blob.
- Added convenience method
createIfNotExistsforContainerClient,AppendBlobClientandPageBlobClient. - Added convenience method
deleteIfExistsforContainerClientandBlobClients.
12.1.2 (2020.05)
- Fix data corruption failure error issue #6411 when downloading compressed files. PR #7993
- Fix un-handled TypeError issue #8499 in Electron applications. PR #8568
- Updated to use
@opentelemetry/api0.6.1 via@azure/core-tracing. PR #7998 - Updated to use
typescript3.8.3. PR #8659
12.1.1 (2020.03)
- Bug fix - Blob SAS's
srfield is now properly set when generating SAS for a blob using a stored policy withsignedpermissions. For more details about Service SAS, please refer to link. - Fixed unexpected hang issue when uploading empty body. Fixed bug 6904.
12.1.0 (2020.02)
- Updated Azure Storage Service API version to 2019-07-07.
- Add support for Encryption Scope, which is similar to regular CPK, except the encryption key is provided by name.
- MD5 and CRC headers for Blob Copy: add
contentMD5andxMsContentCrc64toBlobCopyFromURLHeadersandsourceContentMD5toBlobSyncCopyFromURLOptions. - Add
getPageRangesDiffForManagedDiskstoPageBlobClient. - Fixed a bug where the package didn't work as expected when bundling web applications. PR #7298
12.0.2 (2020.01)
-
Bug fix - Name properties on clients now support more kinds of endpoints(IPv4/v6 hosts, single word domains). PR #6753
-
Service clients now share a single http client instance by default. PR #6657
Previously, a new http client was created for each service client if none was provided by the user. This could result in TCP port exhaustion under heavy usage with the keepAlive option enabled because each http client has its own persistent TCP connection. This change creates a single http client instance which is shared among all service clients by default.
12.0.1 (2019-12-04)
- Updated to use OpenTelemetry 0.2 via
@azure/core-tracing - Bug Fix - Convert empty prefixes (
"") toundefinedwhen passed as options to thelistContainers,listBlobsFlat, andlistBlobsByHierarchymethods to avoid sending an invalid request to the service. Fixes bug 5817. - Added a warning to the documentation of
downloadToBufferthat explains the limitations of Node.jsBuffersizes to around 2GB on 64-bit architectures and 1GB on 32-bit architectures. - Documented the behavior of
getPropertiesmethods with respect to metadata keys and their casing inconsistency when compared to the metadata keys returned through corresponding "list" methods with theincludeMetadataoption.
12.0.0 (2019.11)
- This release marks the general availability of the
@azure/storage-blobpackage. - Bug Fix - Previous versions of
@azure/storage-blobpreview library failed for React apps because of the usage offs.statmethod which is not available in browsers and due to the presence of some circular dependencies. Both of these issues are fixed in this new release. - [Breaking] The custom browser and retry policies that are specific to the Storage libraries have been
renamed to have the
Storageprefix. PR 5862. Below are the entities that now have the Storage prefix- BrowserPolicy
- BrowserPolicyFactory
- RetryPolicy
- RetryPolicyType
- RetryOptions
- RetryPolicyFactory
- [Breaking]
LeaseClientis renamed toBlobLeaseClient. The helper methodgetLeaseClienton bothBlobClientandContainerClientis renamed togetBlobLeaseClient. - [Breaking] The properties in the
StoragePipelineOptionsinterface have been updated as below:- The
proxyproperty of typeProxySettings | stringhas been renamed toproxyOptionsand will be of typeProxyOptions. If you have been passing url directly, split the value intohostandportthen pass it as a json object. - The
telemetryproperty of typeTelemetryOptionshas been renamed touserAgentOptionsof typeUserAgentOptions. - The
loggeris no longer a property available to configure. To enable logging, please see the Troubleshooting section of our readme. - The
UniqueRequestIdPolicyandKeepAlivePolicyare no longer exported from this library. The corresponding policies from the@azure/core-httplibrary are meant to be used instead.
- The
beginCopyFromURLis added to theBlobClient, it returns a poller that can be used to watch the status of a copy operation. It also supports cancelling a pending copy.- Updates to
BlockBlobClient.uploadStream- [Breaking]
maxBuffersattribute of is renamed tomaxConcurrency - Added default values for parameters, bufferSize =
8MBand maxConcurrency =5
- [Breaking]
- [Breaking] Bug Fix - The page object returned from
ContainerClient.listContainershad itscontainerItemsproperty set to an empty string instead of an empty array if the storage account has no blob containers. The issue is fixed in this new release. BlobClient.downloadToBuffer()helper method has a new overload where it is not required to pass theBuffer. Attributesoffsetandcountare optional, downloads the entire blob if they are not provided.- [Breaking] The default browser bundle has been removed from the npm package. Bundling your application with a bundler such as Webpack is the recommended approach to building a browser bundle. For details on how to do this, please refer to our bundling documentation.
12.0.0-preview.5 (2019.10)
-
[Breaking]
IPRangeis 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]
Modelsis 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 withModelsuffix. PR #5567 -
[Breaking] Cancelling an operation now throws a standardized error with the name
AbortError. PR #5633 -
[Breaking]
blobNameonAppendBlobClient,BlobClient,BlockBlobClientandPageBlobClientis renamed toname. PR #5613 -
[Breaking] New
BlobBatchClientallowing batched requests to the Azure Storage Blob service. PR #5634- Renamed
BatchRequesttoBlobBatch, flattenedBatchDeleteRequestandBatchSetTierRequestintoBlobBatch - Moved
submitBatchcode fromBlobServiceClientinto newBlobBatchClient, created newdeleteBlobsandsetBlobsAccessTierhelpers onBlobBatchClientBlobBatchClientcontainssetBlobsAccessTier,submitBatchanddeleteBlobshelper methods.BlobBatchrepresents an aggregated set of operations on blobs,deleteandsetAccessTierfunctionalities are supported currently.
- Renamed
-
[Breaking] Flattened the conditions type
BlobRequestConditionsinstead of current nested one. It replacesContainerAccessConditionsandBlobAccessConditions. In addition, various conditions fields are renamed into simplyconditionsexceptsourceModifiedAccessConditionswhich 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]
eTagattribute is renamed toetag. PR #5674 -
[Breaking]
bodyfield fromRestErrorObject in core-http Library is removed, theresponseproperty on the error will now have theparsedBody&headersalong with raw body & headers that are already present. PRs #5670, #5437- Errors from the storage service can be seen in an extra field
detailswith the expected error code. #5688
- Errors from the storage service can be seen in an extra field
-
[Breaking]
progresscallback in the option bags of all the helper methods is renamed toonProgress. PR #5676 -
[Breaking] Consolidated
PageRangeandClearRangetypes. They now haveoffsetandcountattributes as opposed to the olderstartandendattributes. PR #5632 -
[Breaking] Type of the
permissionsattribute in the options bagBlobSASSignatureValuesto be passed intogenerateBlobSASQueryParametersis changed toBlobSASPermissionsfrom typestring. PR #5626- Similarly,
AccountSASPermissionsforgenerateAccountSASQueryParametersinstead of typestring. - Example - permissions attribute in
generateBlobSASQueryParameterspermissions: 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/devstoreaccount1supported - emulator connection string shorthands are supported
UseDevelopmentStorage=true- (with proxyURI)
UseDevelopmentStorage=true;DevelopmentStorageProxyUri=proxyURI
- emulator url when the blobEndpoint is
-
[Breaking]
encryptedattribute is removed fromBlobMetadatainterface. PR #5612 -
[Breaking] Return type of
downloadToBufferhelper method onBlobClientis changed toPromise<Buffer>fromPromise<void>PR #5624 -
[Breaking] IE11 needs
Object.assignpolyfill loaded. PR #5727
12.0.0-preview.4 (2019.10)
- [Breaking] Replace string array with boolean flags to specify dataset to include when listing containers or blobs.
- For listing containers
Before this change the option is specified as
After this change:
blobServiceClient.listContainers({ include: "metadata" });blobServiceClient.listContainers({ includeMetadata: true }); - For listing blobs
Before this change the option is specified as
After this change:
containerClient.listBlobsFlat({ include: ["snapshots", "metadata", "uncommittedblobs", "copy", "deleted"] });containerClient.listBlobsFlat({ includeCopy: true, includeDeleted: true, includeMetadata: true, includeSnapshots: true, includeUncommitedBlobs: true });
- For listing containers
Before this change the option is specified as
- [Breaking]
BlobClient.setTier()is renamed toBlobClient.setAccessTier(). - [Breaking] Fixed typo -
chanageLease->changeLease, a method onLeaseClient. - Library tries to load the proxy settings from the environment variables like HTTP_PROXY if the proxy settings are not provided when clients like
BlobServiceClientorBlobClientare instantiated. - Added development connection string support to connect to the storage emulator Azurite - Extension for VS Code
- Development Connection String
DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;
- Shorthand notation is also supported
UseDevelopmentStorage=true(orUseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://myProxyUri)
- Development Connection String
- Added name properties on all the clients for convenience.
accountNameis added toAppendBlobClient,BlobClient,BlobServiceClient,BlockBlobClient,ContainerClientandPageBlobClient.containerNameis added toAppendBlobClient,BlobClient,BlockBlobClient,ContainerClientandPageBlobClient.blobNameis added toAppendBlobClient,BlobClient,BlockBlobClientandPageBlobClient.
- [Breaking]
Models.StorageServicePropertiesis renamed toModels.BlobServiceProperties - [Breaking]
Models.StorageServiceStatsis renamed toModels.BlobServiceStatistics - [Breaking]
UserDelegationKey.signedOidis renamed toUserDelegationKey.signedObjectId.UserDelegationKey.signedTidis renamed toUserDelegationKey.signedTenantId.
12.0.0-preview.3 (2019.09)
- [Breaking]
RawTokenCredentialis dropped. TokenCredential implementations can be found in the @azure/identity library for authentication. - Updated Azure Storage Service API version to 2019-02-02.
- A new API
BlobServiceClient.submitBatch()supports Blob Batch operation which allows multiple requests to be sent within a single request body. - Added support for customer provided encryption key.
- Added support for rehydrate priority with additional option to methods
BlobClient.startCopyFromURL()andBlobClient.setTier(). - APIs
BlobClient.startCopyFromURL(),BlockBlobClient.upload(),BlockBlobClient.commitBlockList()andPageBlobClient.create()now support set the blob tier within the API call. - Responses for all APIs now return x-ms-client-request-id through
clientRequestIdthat was passed in on the request from client-side. - Exposed options to accept CRC64 as a transactional data integrity mechanism for data transfer APIs.
- Added overloads of
generateBlobSASQueryParametersfunctions to generate user delegation SAS. expiryandstartinAccessPolicyare now optional inContainerClient.setAccessPolicyandContainerClient.getAccessPolicy.- Exported
HttpRequestBodytype for who wants to implement a customized HTTP client. - Fixed a bug of
BlobClient.downloadToBuffer()when provided offset is not 0. - Fixed a bug that
Abortercannot work during retry interval. - Fixed a bug that
Aborterthrows timeout error even though it succeeds ofBlockBlobClient.download(). - Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
- Export
RetryPolicyType. Aborterdoesn't requiredomas tsconfig lib requirement anymore forEventtype.- Service SAS generation now supports snapshot access control from 2018-11-09 in
generateBlobSASQueryParameters(). - Service SAS generation now supports snapshot access control from API version 2018-11-09 in
generateBlobSASQueryParameters(). - A new API
PageBlobClient.uploadPagesFromURL()allows pages in a page blob to be written using a range of another blob as a source. This permits synchronous server-side copies to be orchestrated for page blobs of any size. - A new API
AppendBlobClient.appendBlockFromURL()commits a new block of data to the end of an append blob. Method uses a range of another blob as a source. This permits synchronous server-side copies to be orchestrated for append blobs of any size. - A new API
BlobClient.syncCopyFromURL()allows a block blob to be copied synchronously using a URL as a source. This API has a maximum size of 256 MB and preserves metadata and block list. - A new API
BlobServiceClient.getUserDelegationKey()added to get a key that can be used to generate a user delegation SAS (shared access signature). - Updated HTTP client from axios to node-fetch in Node.js runtime.
- A new option
keepAliveOptionsadded to parameter ofnewPipeline()which controls keep-alive configurations. Keep-alive is enabled by default. - Pass through
options.abortSignalto the optionalabortSignalattribute in option bags instead of usingAbortSignal.noneas the default value whenoptions.abortSignalis not specified. - Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - typescript/proxyAuth.ts
- Connection strings for explicit storage endpoints are supported. - Configure Azure Storage connection strings
12.0.0-preview.2 (2019.08)
- [Breaking] Aborter class is no longer exposed from the package. Use the package @azure/abort-controller to pass an abort signal to any of the async operations.
AbortController.timeout(<milliseconds>)can be utitlized as an abort signal. - Generalized the credential parameter in client constructors to support
{SharedKeyCredential | AnonymousCredential | TokenCredential}credentials as a union type. - Storage service allows SAS connection string with SAS string and endpoints along with the Account connection string(account name, key and endpoint).
In this preview, SAS connection string support is added to the existing connection string client constructors and static methods.
- Account connection string example -
DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net - SAS connection string example -
BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString - SAS connection string is supported in both NodeJS and browser runtimes unlike the Account Connection String which is supported only in the NodeJS runtime.
- Account connection string example -
12.0.0-preview.1 (2019.07)
- [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.
abortSignalattrubute(optional) in the option-bag of respective module has to be utitlized for theAborter.timeout(<milliseconds>)functionality.Aborter.noneis the default value.
- [Breaking] I- prefixes are removed from interface names
- Example-
IBlobDownloadOptionsis updated toBlobDownloadOptions, 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-storagefile/${SDK_VERSION}.
- [Breaking] withPipeline method is removed.
- Async iterators with pagination support are added for listing methods
listContainers(),listBlobsFlat()andlistBlobsByHierarchy()- Please refer to the samples for async iterators in the
samplesfolder.
- [Breaking] Methods that list segments(
listBlobFlatSegment()andlistContainersSegment()) are no longer exposed in public api. - [Breaking] High level convenience functions are moved into clients as their instance member function.
uploadFileToBlockBlob(),uploadStreamToBlockBlob()anduploadBrowserDataToBlockBlob()->BlockBlobClient.uploadFile(),BlockBlobClient.uploadStream()andBlockBlobClient.uploadBrowserData()respectivelydownloadBlobToBuffer()->BlobClient.downloadToBuffer()
- [Breaking]
StorageClientis no longer exposed.StorageClient.newPipeline()static method is moved to the top level exported functionnewPipeline(). - [Breaking]
TokenCredentialhas been renamed toRawTokenCredentialto make way for the new@azure/identitylibrary'sTokenCredentialinterface. - [Breaking] Blob/Container member methods that manage leases are removed. A new type
LeaseClientis added to manage leases. - Updated dependency
@azure/ms-rest-jsto@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,ContainerClientandPageBlobClient - 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.tssample in thesamples/typescriptfolder.
- Please refer to the
- Request and response headers are now logged at INFO level, with sensitive data redacted.
downloadToFile()is added toBlobClient.- Exported
HttpRequestBodytype to allow implementation of a customized HTTP client.
For release notes and more information please visit https://aka.ms/azsdk/releases/july2019preview
10.5.0 (2019.09)
- Updated Azure Storage Service API version to 2019-02-02.
- A new API
ServiceURL.submitBatch()supports Blob Batch operation which allows multiple requests to be sent within a single request body. - Added support for customer provided encryption key.
- Added support for rehydrate priority with additional option to methods
BlobURL.startCopyFromURL()andBlobURL.setTier(). - APIs
BlobURL.startCopyFromURL(),BlockBlobURL.upload(),BlockBlobURL.commitBlockList()andPageBlobURL.create()now support set the blob tier within the API call. - Responses for all APIs now return x-ms-client-request-id through
clientRequestIdthat was passed in on the request from client-side. - Exposed options to accept CRC64 as a transactional data integrity mechanism for data transfer APIs.
10.4.1 (2019.08)
- Added overloads of
generateBlobSASQueryParametersfunctions to generate user delegation SAS. expiryandstartinAccessPolicyare now optional inContainerURL.setAccessPolicyandContainerURL.getAccessPolicy.
10.4.0 (2019.07)
- Updated Azure Storage Service API version to 2018-11-09.
- Improved comments for
BlockBlobURL.upload(). - Exported
HttpRequestBodytype for who wants to implement a customized HTTP client. - Fixed a bug of
downloadBlobToBuffer()anddownloadAzureFileToBuffer()when provided offset is not 0. - Fixed a bug that
Abortercannot work during retry interval. - Fixed a bug that
Aborterthrows timeout error even though it succeeds ofBlockBlobUrl.download(). - Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
- Export
RetryPolicyType. Aborterdoesn't requiredomas tsconfig lib requirement anymore forEventtype.- Service SAS generation now supports snapshot access control from 2018-11-09 in
generateBlobSASQueryParameters(). - Service SAS generation now supports snapshot access control from API version 2018-11-09 in
generateBlobSASQueryParameters(). - A new API
PageBlobURL.uploadPagesFromURL()allows pages in a page blob to be written using a range of another blob as a source. This permits synchronous server-side copies to be orchestrated for page blobs of any size. - A new API
AppendBlobURL.appendBlockFromURL()commits a new block of data to the end of an append blob. Method uses a range of another blob as a source. This permits synchronous server-side copies to be orchestrated for append blobs of any size. - A new API
BlobURL.syncCopyFromURL()allows a block blob to be copied synchronously using a URL as a source. This API has a maximum size of 256 MB and preserves metadata and block list. - A new API
ServiceURL.getUserDelegationKey()added to get a key that can be used to generate a user delegation SAS (shared access signature). - Updated HTTP client from axios to node-fetch in Node.js runtime.
- A new option
keepAliveOptionsadded to parameter ofStorageURL.newPipeline()which controls keep-alive configurations. Keep-alive is enabled by default.
10.3.0 (2018.12)
- [Breaking] Updated convenience layer methods enum type parameters into typescript union types, this will help reducing bundle footprint.
- [Breaking] Updated URL encoding strategy for
urlparameters ofnew XXXURL(url, pipeline)methods, such asnew BlobURL(url, pipeline).- URL will accept both encoded or non-encoded URL string. It will escape non-escaped special characters, like Chinese characters. However, if blob name includes
?or%,urlmust be encoded manually.
- URL will accept both encoded or non-encoded URL string. It will escape non-escaped special characters, like Chinese characters. However, if blob name includes
- [Breaking]
SASQueryParametersis not going to be exported in browser bundle, and will be exported in Node.js runtime. - [Breaking] IE11 needs
Array.prototype.includesandObject.keyspolyfills loaded. - Updated dependency
ms-rest-jsto@azure/ms-rest-js. - Fixed
Aborter.timeout()misleading scale description. - Added option
maxSingleShotSizeto customize concurrency upload threshold in bytes for highlevel uploading APIs, likeuploadBrowserDataToBlockBloboruploadFileToBlockBlob. - Removed default 60s server timeout value for retry options
tryTimeoutInMsto avoid large blob download stream unexcepted ending. - Fixed an issue that when body is string with special characters,
BlockBlobULR.uploadwill fail to upload.
10.2.0-preview (2018.11)
- [Breaking] Updated names of exported interfaces
IHTTPPipelineLogger&IHTTPClienttoIHttpPipelineLogger&IHttpClient. - [Breaking] For
setMetadata()andsetHTTPHeaders(),metadataandblobHTTPHeadersare moved fromoptionsinto top level parameter list. - Fixed bugs and typos in samples.
- Fixed a bug during generateAccountSASQueryParameters() that generated signature is not valid.
- Fixed a bug during generateBlobSASQueryParameters() that cache-control, content-type, content-disposition, content-encoding and content-language are not supported.
- Fixed a bug in SAS generation that start and expiry time format is not correct.
- Removed
FilefromuploadBrowserDataToBlockBlobparameter type list, becauseFileextendsBlobwhich is already in the list. - Fixed typos in
IRangecomments. - Removed useless
markerfield from option ofServiceURL.listContainersSegmentmethod. - Fixed a bug that
timeoutparameter should use second as unit instead of millisecond. - Added stream retry when
BlobURL.downloadresponse stream unexcepted ends.
10.1.0-preview (2018.09)
- Fixed sharedkey authentication error when blob names have spaces.
- Updated samples in readme and sample folder to fix undefined headers.
- Updated readme samples to make it runnable as copy/paste.
- More documentation around ACCOUNT_SAS and CORS in readme.md and contributing.md.
- Size of browser bundle is reduced from 229KB to 175KB (minified version). Thanks Brian Terlson & Rikki Gibson!
- Set
sideEffectsoption totruein package.json, which helps webpack4 for tree shaking. - Updated
browserandmoduleoption in package.json, webpack will try to load ES6 module. - Added prettier config file.
- Fixed typos and unused imports.
- [Breaking] Dropped built-in polyfills for
String, and following polyfills need to be loaded external for IE11 now:PromiseString.prototype.startsWithString.prototype.endsWithString.prototype.repeatString.prototype.includes
- [Breaking]
Aborter.Noneis renamed toAborter.nonefor JavaScript naming conventions.
10.0.0-preview (2018.09)
- Initial Release. API version 2018-03-28 supported. Please see the README for information on the new design.