Skip to content

Releases: googleapis/nodejs-firestore

v4.6.1

03 Nov 20:32
7223281
Compare
Choose a tag to compare

Bug Fixes

  • create new batch for writes to the same doc (#1352) (bd5adc3)

v4.6.0

03 Nov 18:31
6fb360c
Compare
Choose a tag to compare

Features

  • add onWriteError() and onWriteResult() handlers to BulkWriter (#1315) (a173f4d)

Bug Fixes

  • retry transactions that fail with expired transaction IDs (#1347) (a18ab50)

v4.5.0

27 Oct 00:05
fd832e6
Compare
Choose a tag to compare

Features

  • add implicit ordering for startAt(DocumentReference) calls (#1328) (e9afa38)
  • add support for Partition API (#1320) (51961c3)

Bug Fixes

  • retry PartitionQuery for INTERNAL and DEADLINE_EXCEEDED (#1336) (fdf5462)
  • simplify BulkWriter logic (#1321) (b493baf)
  • speed up listDocuments pagination (#1344) (498301d)
  • Update getAll example in documentation (#1326) (721fce0)
  • update required field to implement NodeJS.Timeout (#1338) (6b7371b)
  • firestore/v1: give PartitionQuery retry/timeout config (#1334) (39a30c2)

v4.4.0

30 Sep 17:32
881ab5b
Compare
Choose a tag to compare

Features

  • add starting/max rates to BulkWriterOptions (#1305) (57dcf1c)

v4.3.0

22 Sep 23:32
ab4b24a
Compare
Choose a tag to compare

Features

Bug Fixes

  • add capacity logging to RateLimiter (#1287) (befe625)
  • allow setLogFunction(null) (#1304) (20b1226)
  • bulkWriter: writing to the same document does not create a new batch (#1298) (6243d62)
  • change typings for select() to return Query<DocumentData> (#1303) (b678857)
  • correct BulkWriter types in firestore.d.ts (#1284) (382128b)

v4.2.0

03 Aug 17:31
b8759ff
Compare
Choose a tag to compare

Features

  • allow Settings.host to be used when Settings.servicePath is set (#1275) (34d6728)

v4.1.2

28 Jul 23:51
c34970d
Compare
Choose a tag to compare

Bug Fixes

  • add Firestore.bulkWriter to firestore.d.ts (#1272) (5e7e627)

v4.1.1

10 Jul 01:33
b02925f
Compare
Choose a tag to compare

Bug Fixes

v4.1.0

08 Jul 22:01
e32198c
Compare
Choose a tag to compare

Features

  • Added Firestore.bulkWriter(), which performs large scale writes in parallel. By default, BulkWriter throttles writes according to the "500/50/5" rule and retries writes that fail due to contention. (#1252) (d0c6c4b)

v4.0.0

24 Jun 21:16
bab9d3a
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • drop Node 8 support (#1006)
  • 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 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 multiple versions of @grpc/grpc-js are installed (#1233)