Skip to content

Commit

Permalink
Merge pull request #222 from hasonmsft/master
Browse files Browse the repository at this point in the history
Storage Client Library 1.3.2
  • Loading branch information
vinjiang authored Oct 28, 2016
2 parents d9d3f67 + d9cf981 commit da53d6c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 38 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
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.

2016.10 Version 1.3.2

BLOB
* Prevent a blockId from being generated with a decimal point.

2016.09 Version 1.3.1

ALL
Expand Down
2 changes: 1 addition & 1 deletion lib/common/util/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var Constants = {
/*
* Specifies the value to use for UserAgent header.
*/
USER_AGENT_PRODUCT_VERSION: '1.3.1',
USER_AGENT_PRODUCT_VERSION: '1.3.2',

/**
* The number of default concurrent requests for parallel operation.
Expand Down
2 changes: 1 addition & 1 deletion lib/services/blob/blobservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -3463,7 +3463,7 @@ BlobService.prototype.listBlocks = function (container, blob, blocklisttype, opt
* Generate a random block id prefix
*/
BlobService.prototype.generateBlockIdPrefix = function () {
var prefix = Math.random().toString(16);
var prefix = Math.floor(Math.random() * 0x100000000).toString(16);
return azureutil.zeroPaddingString(prefix, 8);
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azure-storage",
"author": "Microsoft Corporation",
"version": "1.3.1",
"version": "1.3.2",
"description": "Microsoft Azure Storage Client Library for Node.js",
"typings": "typings/azure-storage/azure-storage.d.ts",
"tags": [
Expand Down
4 changes: 2 additions & 2 deletions typings/azure-storage/azure-storage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5163,7 +5163,7 @@ declare module azurestorage {
function Binary(value: Buffer|string): EntityProperty<Buffer>;
function Boolean(value: boolean|string): EntityProperty<boolean>;
function String(value: string): EntityProperty<string>;
function Guid(value: UUID|string|Buffer): EntityProperty<UUID>;
function Guid(value: string|Buffer|any): EntityProperty<any>;
function Double(value: number|string): EntityProperty<number>;
function DateTime(value: Date|string): EntityProperty<Date>;
}
Expand Down Expand Up @@ -5340,7 +5340,7 @@ declare module azurestorage {
* @example
* var query = TableQuery.guidFilter('GuidField', QueryComparisons.EQUAL, guid.v1());
*/
guidFilter(propertyName: string, operation: string, value: UUID | string): string;
guidFilter(propertyName: string, operation: string, value: string | any): string;

/**
* Generates a property filter condition string for a 'binary' value.
Expand Down
24 changes: 0 additions & 24 deletions typings/globals/node-uuid/index.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions typings/globals/node-uuid/typings.json

This file was deleted.

1 change: 0 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/// <reference path="globals/node-uuid/index.d.ts" />
/// <reference path="globals/node/index.d.ts" />

0 comments on commit da53d6c

Please sign in to comment.