Skip to content

Commit

Permalink
Merge pull request #392 from XiaoningLiu/softdelete20170729_2.8.0
Browse files Browse the repository at this point in the history
v2.8.0
  • Loading branch information
vinjiang authored Feb 6, 2018
2 parents d789db2 + 8a2439f commit 31a9878
Show file tree
Hide file tree
Showing 28 changed files with 7,254 additions and 4,494 deletions.
15 changes: 15 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
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.02 Version 2.8.0

ALL
* Updated storage service version to 2017-07-29.

BLOB
* Added support for Soft Delete feature.
* Fixed several blobuploader example issues.
* Fixed a compatibility issue for `getBlobToLocalFile` and `createReadStream` with Node.js v9.
* Fixed a bug that blob name will be wrongly trimmed to empty string when listing blobs.
* Fixed a bug when blob size > 32M, GetBlobStream returns root blob data instead of snapshot data.

FILE
* Fixed a compatibility issue for `getFileToLocalFile` and `createReadStream` with Node.js v9.

2017.12 Version 2.7.0

ALL
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Master [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=master)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=master&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=master)
* Dev [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=dev)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=dev&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=dev)

This project provides a Node.js package and a browser compatible [JavaScript Client Library](#azure-storage-javascript-client-library-for-browsers) that make it easy to consume and manage Microsoft Azure Storage Services.
This project provides a Node.js package and a browser compatible [JavaScript Client Library](#azure-storage-javascript-client-library-for-browsers) that makes it easy to consume and manage Microsoft Azure Storage Services.

> If you are looking for the Node.js SDK for other Azure services, visit [https://github.com/Azure/azure-sdk-for-node](https://github.com/Azure/azure-sdk-for-node).
Expand Down
4 changes: 4 additions & 0 deletions browser/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Note: This is the change log file for Azure Storage JavaScript Client Library.

2018.02 Version 0.2.8-preview.14

* Generated browser compatible JavaScript files based on Microsoft Azure Storage SDK for Node.js 2.8.0.

2017.12 Version 0.2.7-preview.13

* Generated browser compatible JavaScript files based on Microsoft Azure Storage SDK for Node.js 2.7.0.
Expand Down
2 changes: 1 addition & 1 deletion browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Compatibility with mobile browsers have not been fully validated, please open is

| Chrome | Firefox | Internet Explorer | Microsoft Edge |
|------------|----------|--------------------|-----------------|
| v62 | v57 | v11 | v41 |
| v64 | v58 | v11 | v41 |

## Generating a Custom Azure Storage JavaScript Client Library

Expand Down
2 changes: 1 addition & 1 deletion examples/blobuploader/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ app.get('/Display', function (req, res) {
app.get('/Download/:id', function (req, res) {
blobClient.getBlobProperties(containerName, req.params.id, function (err, blobInfo) {
if (err === null) {
res.header('content-type', blobInfo.contentType);
res.header('content-type', blobInfo.contentSettings.contentType);
res.header('content-disposition', 'attachment; filename=' + blobInfo.metadata.filename);
blobClient.getBlobToStream(containerName, req.params.id, res, function () { });
} else {
Expand Down
14 changes: 7 additions & 7 deletions examples/blobuploader/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "azurestorageblobuploadersample",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"start": "node ./bin/server.js"
},
"dependencies": {
"azure-storage": "",
"debug": "^2.2.0",
"ejs": "~2.3.3",
"express": "~4.13.1",
"express-ejs-layouts": "^1.1.0",
"formidable": "^1.0.17"
"debug": "^3.1.0",
"ejs": "~2.5.7",
"express": "~4.16.2",
"express-ejs-layouts": "^2.3.1",
"formidable": "^1.1.1"
}
}
}
Loading

0 comments on commit 31a9878

Please sign in to comment.