From 3f8a70c3a92ea347e96d1a420eec19107c5d0087 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2020 17:28:11 +0000 Subject: [PATCH 1/6] updated CHANGELOG.md [ci skip] --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b09304d9..faebdf65d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ [1]: https://www.npmjs.com/package/@google-cloud/firestore?activeTab=versions +## [4.0.0](https://www.github.com/googleapis/nodejs-firestore/compare/v3.8.6...v4.0.0) (2020-06-24) + + +### ⚠ BREAKING CHANGES + +* Drop Node 8 support (#1006) + +### Features + +* Drop Node 8 support ([#1006](https://www.github.com/googleapis/nodejs-firestore/issues/1006)) ([56355f1](https://www.github.com/googleapis/nodejs-firestore/commit/56355f1c83b055fdbd3ed47e069df813696a1fc0)), closes [#937](https://www.github.com/googleapis/nodejs-firestore/issues/937) [#965](https://www.github.com/googleapis/nodejs-firestore/issues/965) [#1013](https://www.github.com/googleapis/nodejs-firestore/issues/1013) [#1019](https://www.github.com/googleapis/nodejs-firestore/issues/1019) [#1014](https://www.github.com/googleapis/nodejs-firestore/issues/1014) [#1016](https://www.github.com/googleapis/nodejs-firestore/issues/1016) [#1043](https://www.github.com/googleapis/nodejs-firestore/issues/1043) [#1044](https://www.github.com/googleapis/nodejs-firestore/issues/1044) [#1045](https://www.github.com/googleapis/nodejs-firestore/issues/1045) [#1055](https://www.github.com/googleapis/nodejs-firestore/issues/1055) [#1059](https://www.github.com/googleapis/nodejs-firestore/issues/1059) [#1065](https://www.github.com/googleapis/nodejs-firestore/issues/1065) [#1066](https://www.github.com/googleapis/nodejs-firestore/issues/1066) [#1067](https://www.github.com/googleapis/nodejs-firestore/issues/1067) [#1068](https://www.github.com/googleapis/nodejs-firestore/issues/1068) [#1070](https://www.github.com/googleapis/nodejs-firestore/issues/1070) [#1071](https://www.github.com/googleapis/nodejs-firestore/issues/1071) [#1078](https://www.github.com/googleapis/nodejs-firestore/issues/1078) [#1087](https://www.github.com/googleapis/nodejs-firestore/issues/1087) [#1085](https://www.github.com/googleapis/nodejs-firestore/issues/1085) [#1092](https://www.github.com/googleapis/nodejs-firestore/issues/1092) [#1100](https://www.github.com/googleapis/nodejs-firestore/issues/1100) [#1110](https://www.github.com/googleapis/nodejs-firestore/issues/1110) [#1112](https://www.github.com/googleapis/nodejs-firestore/issues/1112) [#1117](https://www.github.com/googleapis/nodejs-firestore/issues/1117) [#1218](https://www.github.com/googleapis/nodejs-firestore/issues/1218) [#1229](https://www.github.com/googleapis/nodejs-firestore/issues/1229) [#1228](https://www.github.com/googleapis/nodejs-firestore/issues/1228) + ### [3.8.6](https://www.github.com/googleapis/nodejs-firestore/compare/v3.8.5...v3.8.6) (2020-06-19) From 1b376c1b42a45b6a940abb73dadcb192ad0c38c3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2020 17:28:13 +0000 Subject: [PATCH 2/6] updated package.json [ci skip] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8c3b4abd0..b2b366ffb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/firestore", "description": "Firestore Client Library for Node.js", - "version": "3.8.6", + "version": "4.0.0", "license": "Apache-2.0", "author": "Google Inc.", "engines": { From 5f27f79c454d65b3c5cb95635cb977a169e1a619 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2020 17:28:14 +0000 Subject: [PATCH 3/6] updated samples/package.json --- samples/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/package.json b/samples/package.json index e130e6dc4..1e82ea9e2 100644 --- a/samples/package.json +++ b/samples/package.json @@ -11,7 +11,7 @@ "test": "mocha --timeout 600000" }, "dependencies": { - "@google-cloud/firestore": "^3.8.6" + "@google-cloud/firestore": "^4.0.0" }, "devDependencies": { "chai": "^4.2.0", From b6bb3426959e56d6267546164ab11c869cc1b0d3 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 24 Jun 2020 13:55:01 -0700 Subject: [PATCH 4/6] Update CHANGELOG.md --- CHANGELOG.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index faebdf65d..c92bf2e9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,18 @@ ### ⚠ BREAKING CHANGES -* Drop Node 8 support (#1006) +* drop Node 8 support (#1006) +* the `FirestoreDataConverter` is now called with a `QueryDocumentSnapshot` instead of `DocumentData` (#965) ### Features -* Drop Node 8 support ([#1006](https://www.github.com/googleapis/nodejs-firestore/issues/1006)) ([56355f1](https://www.github.com/googleapis/nodejs-firestore/commit/56355f1c83b055fdbd3ed47e069df813696a1fc0)), closes [#937](https://www.github.com/googleapis/nodejs-firestore/issues/937) [#965](https://www.github.com/googleapis/nodejs-firestore/issues/965) [#1013](https://www.github.com/googleapis/nodejs-firestore/issues/1013) [#1019](https://www.github.com/googleapis/nodejs-firestore/issues/1019) [#1014](https://www.github.com/googleapis/nodejs-firestore/issues/1014) [#1016](https://www.github.com/googleapis/nodejs-firestore/issues/1016) [#1043](https://www.github.com/googleapis/nodejs-firestore/issues/1043) [#1044](https://www.github.com/googleapis/nodejs-firestore/issues/1044) [#1045](https://www.github.com/googleapis/nodejs-firestore/issues/1045) [#1055](https://www.github.com/googleapis/nodejs-firestore/issues/1055) [#1059](https://www.github.com/googleapis/nodejs-firestore/issues/1059) [#1065](https://www.github.com/googleapis/nodejs-firestore/issues/1065) [#1066](https://www.github.com/googleapis/nodejs-firestore/issues/1066) [#1067](https://www.github.com/googleapis/nodejs-firestore/issues/1067) [#1068](https://www.github.com/googleapis/nodejs-firestore/issues/1068) [#1070](https://www.github.com/googleapis/nodejs-firestore/issues/1070) [#1071](https://www.github.com/googleapis/nodejs-firestore/issues/1071) [#1078](https://www.github.com/googleapis/nodejs-firestore/issues/1078) [#1087](https://www.github.com/googleapis/nodejs-firestore/issues/1087) [#1085](https://www.github.com/googleapis/nodejs-firestore/issues/1085) [#1092](https://www.github.com/googleapis/nodejs-firestore/issues/1092) [#1100](https://www.github.com/googleapis/nodejs-firestore/issues/1100) [#1110](https://www.github.com/googleapis/nodejs-firestore/issues/1110) [#1112](https://www.github.com/googleapis/nodejs-firestore/issues/1112) [#1117](https://www.github.com/googleapis/nodejs-firestore/issues/1117) [#1218](https://www.github.com/googleapis/nodejs-firestore/issues/1218) [#1229](https://www.github.com/googleapis/nodejs-firestore/issues/1229) [#1228](https://www.github.com/googleapis/nodejs-firestore/issues/1228) +* add support for serialization to BigInt `(via settings({useBigInt: true})` (#1016) +* add support for set() with SetOptions when using `FirestoreDataConverte` (#1087) +* retry CommitRequests that fail with UNAVAILABLE (#1235) + +### Bug Fix +- remove fallback code that periodically invoked CommitRequests inside Transactions on GCF (#1112) + ### [3.8.6](https://www.github.com/googleapis/nodejs-firestore/compare/v3.8.5...v3.8.6) (2020-06-19) From 9cf4667d573a6c0956f379ffd16b60499a92760e Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 24 Jun 2020 14:01:11 -0700 Subject: [PATCH 5/6] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c92bf2e9c..7db82c0e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ### Bug Fix - remove fallback code that periodically invoked CommitRequests inside Transactions on GCF (#1112) +- fixes an error that prevented Firestore from connecting to the Emulator if more than one version of `@grpc/grpc-js` was installed (#1233) ### [3.8.6](https://www.github.com/googleapis/nodejs-firestore/compare/v3.8.5...v3.8.6) (2020-06-19) From a5582ce047b4b734e442461833cad8b5d3b21f4e Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 24 Jun 2020 14:02:57 -0700 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7db82c0e1..5bb68093e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,17 +10,17 @@ ### ⚠ BREAKING CHANGES * drop Node 8 support (#1006) -* the `FirestoreDataConverter` is now called with a `QueryDocumentSnapshot` instead of `DocumentData` (#965) +* `FirestoreDataConverter.fromFirestore()` is now called with a `QueryDocumentSnapshot` instead of `DocumentData` (#965) ### Features * add support for serialization to BigInt `(via settings({useBigInt: true})` (#1016) -* add support for set() with SetOptions when using `FirestoreDataConverte` (#1087) +* add support for set() with SetOptions when using `FirestoreDataConverter` (#1087) * retry CommitRequests that fail with UNAVAILABLE (#1235) ### Bug Fix - remove fallback code that periodically invoked CommitRequests inside Transactions on GCF (#1112) -- fixes an error that prevented Firestore from connecting to the Emulator if more than one version of `@grpc/grpc-js` was installed (#1233) +- fixes an error that prevented Firestore from connecting to the Emulator if multiple versions of `@grpc/grpc-js` are installed (#1233) ### [3.8.6](https://www.github.com/googleapis/nodejs-firestore/compare/v3.8.5...v3.8.6) (2020-06-19)