diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d97682c7..de3aced3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,55 @@ [1]: https://www.npmjs.com/package/@google-cloud/firestore?activeTab=versions +## v0.20.0 + +01-16-2019 13:14 PST + +#### BREAKING: The `timestampsInSnapshots` default has changed to true. +The `timestampsInSnapshots` setting is now enabled by default so timestamp +fields read from a `DocumentSnapshot` will be returned as `Timestamp` objects +instead of `Date`. Any code expecting to receive a `Date` object must be +updated. + +#### DEPRECATED: `Firestore.v1beta1` replaced by `Firestore.v1` +If you are currently using `Firestore.v1beta1.FirestoreClient`, you must switch +to `Firestore.v1.FirestoreClient`. No other changes should be required as the +API is 100% identical. + +### Bug Fixes +- fix: getAll function signature to allow array destructuring ([#515](https://github.com/googleapis/nodejs-firestore/pull/515)) +- fix: update grpc retry config ([#464](https://github.com/googleapis/nodejs-firestore/pull/464)) + +### New Features +- feat: update to v1 protos ([#516](https://github.com/googleapis/nodejs-firestore/pull/516)) +- feat: add additional field transform types ([#521](https://github.com/googleapis/nodejs-firestore/pull/521)) + +### Dependencies +- fix(deps): update dependency google-gax to ^0.23.0 ([#518](https://github.com/googleapis/nodejs-firestore/pull/518)) + +### Documentation +- fix(docs): remove unused long running operations types +- docs: elaborate on QuerySnapshot.forEach ([#480](https://github.com/googleapis/nodejs-firestore/pull/480)) +- docs: update doc writetime ([#475](https://github.com/googleapis/nodejs-firestore/pull/475)) +- docs: Fix example for writeTime ([#474](https://github.com/googleapis/nodejs-firestore/pull/474)) +- chore: update license file ([#473](https://github.com/googleapis/nodejs-firestore/pull/473)) +- docs: update readme badges ([#470](https://github.com/googleapis/nodejs-firestore/pull/470)) + +### Internal / Testing Changes +- build: check broken links in generated docs ([#511](https://github.com/googleapis/nodejs-firestore/pull/511)) +- chore(build): inject yoshi automation key ([#492](https://github.com/googleapis/nodejs-firestore/pull/492)) +- chore: update nyc and eslint configs ([#491](https://github.com/googleapis/nodejs-firestore/pull/491)) +- chore: fix publish.sh permission +x ([#489](https://github.com/googleapis/nodejs-firestore/pull/489)) +- fix(build): fix Kokoro release script ([#488](https://github.com/googleapis/nodejs-firestore/pull/488)) +- build: add Kokoro configs for autorelease ([#487](https://github.com/googleapis/nodejs-firestore/pull/487)) +- chore: add synth.metadata ([#485](https://github.com/googleapis/nodejs-firestore/pull/485)) +- chore: always nyc report before calling codecov ([#482](https://github.com/googleapis/nodejs-firestore/pull/482)) +- chore: nyc ignore build/test by default ([#479](https://github.com/googleapis/nodejs-firestore/pull/479)) +- chore(build): update the prettier config ([#476](https://github.com/googleapis/nodejs-firestore/pull/476)) +- chore(deps): update dependency typescript to ~3.2.0 ([#467](https://github.com/googleapis/nodejs-firestore/pull/467)) +- fix(build): fix system key decryption ([#468](https://github.com/googleapis/nodejs-firestore/pull/468)) +- Adding array-contains to error message ([#465](https://github.com/googleapis/nodejs-firestore/pull/465)) + ## v0.17.0 ### Implementation Changes diff --git a/package.json b/package.json index ea48500c4..bb6fa31c4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/firestore", "description": "Firestore Client Library for Node.js", - "version": "0.19.0", + "version": "0.20.0", "license": "Apache-2.0", "author": "Google Inc.", "engines": { diff --git a/samples/package.json b/samples/package.json index e6e690be3..4f51be76d 100644 --- a/samples/package.json +++ b/samples/package.json @@ -12,7 +12,7 @@ "test": "mocha system-test/*.js --timeout 600000" }, "dependencies": { - "@google-cloud/firestore": "^0.19.0" + "@google-cloud/firestore": "^0.20.0" }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.0.0",