documentdb
Advanced tools
Comparing version 1.2.2 to 1.4.0
@@ -0,1 +1,14 @@ | ||
## Changes in 1.4.0 : ## | ||
- Implement Upsert. New upsertXXX methods on documentClient. | ||
## Changes in 1.3.0 : ## | ||
- Skipped to bring version numbers in alignment with other SDKs | ||
## Changes in 1.2.2 : ## | ||
- Split Q promises wrapper to new repository | ||
- Update to package file for npm registry | ||
## Changes in 1.2.1 : ## | ||
@@ -2,0 +15,0 @@ |
@@ -120,8 +120,12 @@ //---------------------------------------------------------------------------- | ||
// Index progress headers | ||
IndexTransformationProgress: "x-ms-documentdb-collection-index-transformation-progress" | ||
IndexTransformationProgress: "x-ms-documentdb-collection-index-transformation-progress", | ||
LazyIndexingProgress: "x-ms-documentdb-collection-lazy-indexing-progress", | ||
// Upsert header | ||
IsUpsert: "x-ms-documentdb-is-upsert" | ||
}, | ||
CurrentVersion: "2015-06-03", | ||
CurrentVersion: "2015-08-06", | ||
UserAgent: "documentdb-nodejs-sdk-1.2.1", | ||
UserAgent: "documentdb-nodejs-sdk-1.4.0", | ||
@@ -128,0 +132,0 @@ DefaultPrecisions: { |
@@ -158,2 +158,3 @@ //---------------------------------------------------------------------------- | ||
that.resHeaders = headers; | ||
that.resources = that.resources.concat(resources); | ||
@@ -164,3 +165,3 @@ that._toArrayImplementation(callback); | ||
this._state = this._states.ended; | ||
callback(undefined, this.resources); | ||
callback(undefined, this.resources, this.resHeaders); | ||
} | ||
@@ -181,3 +182,3 @@ }, | ||
// if the callback explicitly returned false, the loop gets stopped. | ||
if (callback(undefined, that.resources[that.currentIndex++]) === false) { | ||
if (callback(undefined, that.resources[that.currentIndex++], headers) === false) { | ||
return undefined; | ||
@@ -184,0 +185,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "1.2.2", | ||
"version": "1.4.0", | ||
"author": "Microsoft Corporation", | ||
@@ -15,0 +15,0 @@ "main": "./index.js", |
@@ -56,2 +56,2 @@ <html> | ||
##Community | ||
- [DoQmentDB](https://github.com/a8m/doqmentdb) - A Promise-based DocumentDB client for MongoDB users | ||
- [DoQmentDB](https://github.com/a8m/doqmentdb) - A Promise-based DocumentDB client for MongoDB users |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
309861
5274
57