Skip to content

Releases: googleapis/nodejs-firestore

@google-cloud/firestore v0.14.0

10 May 16:19
84f56b4

Choose a tag to compare

release level

Added

  • (#173) Added new { mergeFields: ...[] } option for .set() calls that allows specifying the subset of fields you wish to merge.

Fixed

  • (#175, #188) All Protobuf files are now loaded from google-proto-files, which resolves a known issue for missing files such as google/api/annotations.proto.

Changed

  • (#185, #189) Updated all dependencies to ensure that GRPC pre-builds are available.
  • (#190) Improved startup performance for calls to new Firestore().

@google-cloud/firestore v0.13.1

27 Mar 20:36

Choose a tag to compare

release level

Fixes

  • (#161) Fixed issue in the update API that rejected some updates with deeply nested fields.

Changes

  • (#162) Improved error message for custom types.

@google-cloud/firestore v0.13.0

08 Mar 22:41
c95c08c

Choose a tag to compare

release level

Fixes

  • (#146) Improving error message for multiple conflicting fields

Updated dependencies

With this release this package started using gRPC v1.9.1.

@google-cloud/firestore v0.12.0

26 Feb 21:29
7c3bdaa

Choose a tag to compare

release level

  • [added] Public API types support equality checks via isEqual (#140)
  • [added] Support for reading multiple documents at once in transactions via Transaction.getAll() (#125)
  • [added] Added type exports to all public classes to support instanceof checks (#123)
  • [changed] set({}, {merge:true}) is now allowed (#144)
  • [changed] Document paths can be specified as strings in the Query.where(FieldPath.documentId(), ..., ...) API (#136)
  • [changed] Better error messages for users that mix types from @google-cloud/firestore and firebase-admin (#137)

@google-cloud/firestore v0.11.2

30 Jan 17:01
a16c3eb

Choose a tag to compare

release level

  • [fixed] Transactions that are retried return the result from the latest retry attempt (#110, #111)
  • [fixed] Accept DocumentReferences with newlines (#114)
  • [fixed] Addresses issue for nested updates with field transforms that causes missing field data (#119, firebase/firebase-admin-node#191)
  • [changed] Using indirect GRPC dependency from google-gax to reduce duplication (#113)

@google-cloud/firestore v0.11.1

13 Jan 08:49
7cdc1c5

Choose a tag to compare

release level

  • [fixed] Addresses an issue that sometimes prevents Google Cloud Functions from deserializing empty arrays (#103, #105)

@google-cloud/firestore v0.11.0

12 Jan 02:48
a986a6e

Choose a tag to compare

release level

  • [added] Query API accepts DocumentSnapshots for startAt(), startAfter(), endAt() and endBefore() (#100)
  • [changed] DocumentSnapshot.data() returns undefined for non-existing Documents. Added QueryDocumentSnapshot type that always returns document data for use in the Query API.
    (#95 ).
  • [fixed] Allow patch releases of GRPC dependency which reduces the size of node_modules (#92, #96).
  • [changed] Improved error messages for .doc() and .collection() when called with invalid paths (#90)

@google-cloud/firestore v0.10.2

12 Jan 22:55

Choose a tag to compare

release level

  • [fixed] Addressed an issue that sometimes prevented Google Cloud Functions from deserializing empty arrays (#103, #105)

@google-cloud/firestore v0.10.1

20 Dec 23:23
86f1a08

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

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.