Skip to content

Releases: googleapis/nodejs-firestore

@google-cloud/firestore v0.10.1

20 Dec 23:23
86f1a08
Compare
Choose a tag to compare

release level

  • [changed] onSnapshot streams are retried more aggressively (#82, firebase/firebase-admin-node#119).
  • [changed] Optimized request stream for document updates that just contain Server Timestamps (#74).
  • [fixed] DocumentReference.add() now enforces that the document doesn't yet exist (#73).
  • [fixed] Reverted GRPC Version to address "Stream Removed" error on Google Cloud Functions (grpc/grpc-node#130)

@google-cloud/firestore v0.10.0

16 Nov 22:41
6c1d55c
Compare
Choose a tag to compare

release level

  • Added retry logic to handle network failures for onSnapshot (#70, firebase/firebase-admin-node#119)
  • Added input validation:
    • update() rejects input that contains duplicate field definitions such as a.b and a (#57)
    • DocumentReferences passed to startAt(), startAfter(), endAt(), endAfter() need to be part of the query result set (#60)
    • update() validates that object keys are proper field path strings (#65)
    • update() and set() with {merge:true} no longer accept empty updates (#69)
    • FieldPath() rejects empty field names (#69)
  • Added Typescript Typings for getCollections() (#52, #62)
  • set() with {merge:true} supports field removal via Firestore.FieldValue.delete() (#69)

Refer to the nodejs-firestore API reference documentation for details.

@google-cloud/firestore v0.9.0

02 Nov 21:57
5aefc10
Compare
Choose a tag to compare

release level

  • Added input validation for empty and undefined document IDs. (#32, #44)
    • This prevents users from getting auto-id semantics when accidentally passing variables that are undefined.
  • Removed duplicate WriteResults for server timestamps (#45)
    • This is useful for WriteBatches as it allows for a 1-to-1 mapping between user input and update times.
  • Added a custom toString() implementation to GeoPoints (#48)
  • Added API JSON format as an additional network serialization format (#36, #41)
    • This allows for tighter integration with Google Cloud Functions.

Refer to the nodejs-firestore API reference documentation for details.

@google-cloud/firestore v0.8.2

06 Oct 17:30
Compare
Choose a tag to compare

release level

  • Fixed a type incompatible between Firestore and the Firebase Admin SDK. (#29)
    • This fixes a serialization issue that prevented users of the Admin SDK from persisting DocumentReferences.

Refer to the nodejs-firestore API reference documentation for details.

@google-cloud/firestore v0.8.1

03 Oct 21:43
Compare
Choose a tag to compare

release level

  • Updated bun dependency to 0.0.12. (#24)
    • This fixes a problem installing with yarn.

Refer to the nodejs-firestore API reference documentation for details.

@google-cloud/firestore v0.8.0

03 Oct 16:27
Compare
Choose a tag to compare

release level

Google Cloud Firestore is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud Platform. Like Firebase Realtime Database, it keeps your data in sync across client apps through realtime listeners and offers offline support for mobile and web so you can build responsive apps that work regardless of network latency or Internet connectivity. Cloud Firestore also offers seamless integration with other Firebase and Google Cloud Platform products, including Cloud Functions.