Releases: googleapis/nodejs-firestore
Releases · googleapis/nodejs-firestore
v1.0.0
01-29-2019 12:12 PST
This is the Firestore Node.js Client Library GA release.
v0.21.0
01-25-2019 12:21 PST
This release brings in google-gax update to 0.24.0 which had its dependency google-auth-library updated to 3.0.0^ that swaps out axios in favour of gaxios and addresses an issue using the library behind a proxy (#493).
Dependencies
- chore(deps): update dependency ts-node to v8 (#526)
- fix(deps): update dependency google-gax to ^0.24.0 (#529)
Documentation
Internal / Testing Changes
- chore: update year in the license headers. (#523)
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)
- fix: update grpc retry config (#464)
New Features
Dependencies
- fix(deps): update dependency google-gax to ^0.23.0 (#518)
Documentation
- fix(docs): remove unused long running operations types
- docs: elaborate on QuerySnapshot.forEach (#480)
- docs: update doc writetime (#475)
- docs: Fix example for writeTime (#474)
- chore: update license file (#473)
- docs: update readme badges (#470)
Internal / Testing Changes
- build: check broken links in generated docs (#511)
- chore(build): inject yoshi automation key (#492)
- chore: update nyc and eslint configs (#491)
- chore: fix publish.sh permission +x (#489)
- fix(build): fix Kokoro release script (#488)
- build: add Kokoro configs for autorelease (#487)
- chore: add synth.metadata (#485)
- chore: always nyc report before calling codecov (#482)
- chore: nyc ignore build/test by default (#479)
- chore(build): update the prettier config (#476)
- chore(deps): update dependency typescript to ~3.2.0 (#467)
- fix(build): fix system key decryption (#468)
- Adding array-contains to error message (#465)
v0.19.0
Breaking Changes
- (#433) Added validation that at least one argument is provided for
Query.startAt()
,Query.startAfter()
,Query.endAt()
andQuery.endAfter()
(#433) - (#443) Changed
getAll()
to require at least one argument.
Features
- (#443) Added support for
Firestore.getAll()
andTransaction.getAll()
to only return a subset of fields. A{fieldMask: [...]}
option can now be passed as the last argument.
Changed
v0.18.0
Breaking Changes
- (#401) Removed undocumented
GeoPoint.toString()
method to improve consistency among types.
Deprecations
- (#373) Deprecated
getCollections()
in favor oflistCollections()
.
Features
- (#368) Add support for
CollectionReference.listDocuments()
, which returns theDocumentReferences
for all documents in a collection, including missing documents that contain further subcollections.
Fixed
- (#375) Addressed an issue that dropped an HTTP header that is used for efficient routing.
Changed
- (#357) Updated all dependencies to their newest version.
v0.17.0
Breaking Changes
- Making QuerySnapshot.docChanges() a method to match the Firestore Web client (#324)
Implementation Changes
- Regenerate library with synth.py customizations (#345)
- contains some documentation and internal timeout changes
- Converting backoff.js to TypeScript (#328)
Dependencies
- chore(deps): update dependency nyc to v13 (#329)
- fix(deps): update dependency google-gax to ^0.19.0 (#325)
Documentation
- Fix DocumentReference.get() docs (#332)
Internal / Testing Changes
@google-cloud/firestore v0.16.1
Fixed
- (#318, firebase/firebase-admin-node#337) Addressed an issue that prevented empty GeoPoints from getting deserialized correctly.
- (#319, firebase/firebase-admin-node#338) Added a direct dependency on
protobufjs
, instead of relying ongoogle-gax
. - (#320, firebase/firebase-admin-node#336) Added validation that rejects the usage of
FieldPath.arrayUnion()
andFieldPath.arrayRemove()
inside of array elements. - (#321, #316) Removed dependency on
pkg-up
.
@google-cloud/firestore v0.16.0
Changed
- (#287) Added
FieldValue.arrayUnion()
andFieldValue.arrayRemove()
to atomically add and remove elements from an array field in a document. - (#270) Added
'array-contains'
query operator for use with.where()
to find documents where an array field contains a specific element.
Fixed
- (#293) Fixed an issue that prevented empty write batches from committing.