From 02d947055cc8dd805bfba939643ce90a55286280 Mon Sep 17 00:00:00 2001 From: Xiaoning Liu Date: Fri, 13 Apr 2018 20:28:51 +0800 Subject: [PATCH] Updated version number changelog and readme --- ChangeLog.md | 14 ++++++++++---- browser/ChangeLog.md | 9 +++++++++ browser/README.md | 12 +++++++++++- lib/common/util/constants.js | 2 +- package.json | 2 +- 5 files changed, 32 insertions(+), 7 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index d508f863..f679d8c6 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,11 +1,17 @@ Note: This is an Azure Storage only package. The all up Azure node sdk still has the old storage bits in there. In a future release, those storage bits will be removed and an npm dependency to this storage node sdk will be taken. This is a GA release and the changes described below indicate the changes from the Azure node SDK 0.9.8 available here - https://github.com/Azure/azure-sdk-for-node. +2018.04 Version 2.8.2 + ALL -* Fixed a TypeScript definition error that blobService.getUrl() misses snapshotId parameter. -* Fixed a README.MD mistake in the FileService example. -* Fixed an error in method comments of SharedKey.generateAccountSignedQueryString(). -* Improved JSDoc to clarify Node.js Writable and Readable stream. +* Improved JSDoc to clarify Node.js `Writable` and `Readable` stream. +* Updated CONTRIBUTION.md about the Node.js supported versions. + +BLOB +* Fixed a TypeScript definition error that `blobService.getUrl()` misses `snapshotId` parameter. + +FILE +* Fixed a README.MD mistake for `FileService` example. 2018.03 Version 2.8.1 diff --git a/browser/ChangeLog.md b/browser/ChangeLog.md index 76312fc8..25896653 100644 --- a/browser/ChangeLog.md +++ b/browser/ChangeLog.md @@ -1,5 +1,14 @@ Note: This is the change log file for Azure Storage JavaScript Client Library. +2018.04 Version 2.8.100+2.8.2 + +* Fixed a bug that retry policy will not retry for XHR error in browsers. +* Updated README.md under browser folder to make it more clear about the zip file downloading link. +* Updated github.io API reference title to include JavaScript. +* Updated local HTTP server requirements for IE11 and Chrome 56 in samples and documents. +* Added support for running UT/FT in browsers like Chrome based on Karma, with command `npm run jstest`. +* Generated browser compatible JavaScript files based on Microsoft Azure Storage SDK for Node.js 2.8.2. + 2018.03 Version 0.2.8-preview.15 * Supported UMD module standard. diff --git a/browser/README.md b/browser/README.md index fa061492..b7066011 100644 --- a/browser/README.md +++ b/browser/README.md @@ -20,7 +20,7 @@ We also provide samples to guide you quickly start with the Azure Storage JavaSc After generating the JavaScript Client Library, you can try the samples in browsers such as Chrome/Edge/Firefox directly. -**Note**: An HTTP server should be set to host the samples for IE11 and latest Chrome. +**Note**: An HTTP server should be set to host the samples for IE11 and Chrome (56 or newer versions). Or you can directly try with following online samples: - [sample-blob](https://dmrelease.blob.core.windows.net/azurestoragejssample/samples/sample-blob.html) @@ -40,6 +40,16 @@ Above JavaScript files are all [UMD compatible](https://github.com/umdjs/umd). Y Compatibility with mobile browsers have not been fully validated, please open issues when you get errors. +# Running Tests against Browsers + +Running tests against Chrome by default. The Storage Account should be configured with CORS support before running test. Please see above online samples about how to configure CORS rules for an account. + +``` +set AZURE_STORAGE_CONNECTION_STRING="valid storage connection string" +npm install +npm run jstest +``` + ## Generating a Custom Azure Storage JavaScript Client Library If you wish to customize the library and generate the Azure Storage JavaScript Client Library, you can follow the following steps. diff --git a/lib/common/util/constants.js b/lib/common/util/constants.js index 5bf44307..1609b967 100644 --- a/lib/common/util/constants.js +++ b/lib/common/util/constants.js @@ -37,7 +37,7 @@ var Constants = { * @const * @type {string} */ - USER_AGENT_PRODUCT_VERSION: '2.8.1', + USER_AGENT_PRODUCT_VERSION: '2.8.2', /** * The number of default concurrent requests for parallel operation. diff --git a/package.json b/package.json index 0f94d01a..a639fd33 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "azure-storage", "author": "Microsoft Corporation", - "version": "2.8.1", + "version": "2.8.2", "description": "Microsoft Azure Storage Client Library for Node.js", "typings": "typings/azure-storage/azure-storage.d.ts", "tags": [