Skip to content

Releases: googleapis/nodejs-firestore

v1.0.0

29 Jan 21:01
Compare
Choose a tag to compare

01-29-2019 12:12 PST

This is the Firestore Node.js Client Library GA release.

v0.21.0

25 Jan 20:32
Compare
Choose a tag to compare

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

  • build: ignore googleapis.com in doc link check (#527)
  • docs: fix import links in the jsdocs (#524)

Internal / Testing Changes

  • chore: update year in the license headers. (#523)

v0.20.0

16 Jan 23:16
43dfedf
Compare
Choose a tag to compare

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

  • feat: update to v1 protos (#516)
  • feat: add additional field transform types (#521)

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

13 Nov 22:17
6117f38
Compare
Choose a tag to compare

release level

Breaking Changes

  • (#433) Added validation that at least one argument is provided for Query.startAt(), Query.startAfter(), Query.endAt() and Query.endAfter() (#433)
  • (#443) Changed getAll() to require at least one argument.

Features

  • (#443) Added support for Firestore.getAll() and Transaction.getAll() to only return a subset of fields. A {fieldMask: [...]} option can now be passed as the last argument.

Changed

  • (#456) Updated grpc version to 1.16.0 (#456)
  • (#436, #451) Improved error messages to include the field path for fields that failed validation (#456)

v0.18.0

18 Oct 20:16
Compare
Choose a tag to compare

release level

Breaking Changes

  • (#401) Removed undocumented GeoPoint.toString() method to improve consistency among types.

Deprecations

  • (#373) Deprecated getCollections() in favor of listCollections().

Features

  • (#368) Add support for CollectionReference.listDocuments(), which returns the DocumentReferences 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

11 Sep 20:53
0c0d98d
Compare
Choose a tag to compare

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

  • Retry npm install in CI (#341)
  • make synth.py generate library to ./dev (#337)
  • Revert "Re-generate library using /synth.py (#331)" (#334)
  • Re-generate library using /synth.py (#331)

@google-cloud/firestore v0.16.1

15 Aug 17:49
067c897
Compare
Choose a tag to compare

release level

Fixed

@google-cloud/firestore v0.16.0

31 Jul 16:54
Compare
Choose a tag to compare

release level

Changed

  • (#287) Added FieldValue.arrayUnion() and FieldValue.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.

@google-cloud/firestore v0.15.4

18 Jul 18:20
4d265b7
Compare
Choose a tag to compare

release level

Fixed

  • (#277) Fixes regression that prevented the client from being used without Application Default Credentials.
  • (#278) Client can now be used in environments that don't specify a package.json.

@google-cloud/firestore v0.15.3

18 Jul 00:27
501b616
Compare
Choose a tag to compare

release level

Fixed

  • (#271) Updated firestore.d.ts to define the return type for Firestore.settings().