Releases: googleapis/nodejs-firestore
Releases · googleapis/nodejs-firestore
@google-cloud/firestore v0.15.2
Changed
- (#241, #244) Dropped support for Node 4.
- (#220, #226, #257) Added new
Timestamp
type that support nanosecond precision.
Operations that previously returned ISO 8601 formatted Strings returnTimestamps
, andTimestamps
can be returned fromDocumentSnapshots
by callingfirestore.settings()
with{timestampsInSnapshots: true}
. - (#228) Added a new request tag to all Firestore logs, which allows us to correlate log lines from a single operation.
Fixed
@google-cloud/firestore v0.14.1
@google-cloud/firestore v0.14.0
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 asgoogle/api/annotations.proto
.
Changed
@google-cloud/firestore v0.13.1
@google-cloud/firestore v0.13.0
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
- [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
andfirebase-admin
(#137)
@google-cloud/firestore v0.11.2
- [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
@google-cloud/firestore v0.11.0
- [added] Query API accepts DocumentSnapshots for
startAt()
,startAfter()
,endAt()
andendBefore()
(#100) - [changed]
DocumentSnapshot.data()
returnsundefined
for non-existing Documents. AddedQueryDocumentSnapshot
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)