Skip to content

Commit fcc77c2

Browse files
authored
Add changelog entry for my last PR (oops) and also add enable/disableNetwork() which we missed last release. (#472)
1 parent fca1076 commit fcc77c2

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

packages/firestore/CHANGELOG.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
# Unreleased
2+
- [fixed] Fixed a regression in Firebase JS release 4.9.0 that could in certain
3+
cases result in an "OnlineState should not affect limbo documents." assertion
4+
crash when the client loses its network connection.
5+
6+
# 0.3.1
27
- [changed] Snapshot listeners (with the `includeMetadataChanges` option
38
enabled) now receive an event with `snapshot.metadata.fromCache` set to
49
`true` if the SDK loses its connection to the backend. A new event with
510
`snapshot.metadata.fromCache` set to false will be raised once the
611
connection is restored and the query is in sync with the backend again.
7-
- [added] Added `SnapshotOptions` API to control how DocumentSnapshots
12+
- [feature] Added `SnapshotOptions` API to control how DocumentSnapshots
813
return unresolved server timestamps.
9-
- [changed] For non-existing documents, `DocumentSnapshot.data()` now returns
10-
`undefined` instead of throwing an exception. A new
11-
`QueryDocumentSnapshot` class is introduced for Queries to reduce the number
14+
- [feature] Added `disableNetwork()` and `enableNetwork()` methods to
15+
`Firestore` class, allowing for explicit network management.
16+
- [changed] For non-existing documents, `DocumentSnapshot.data()` now returns
17+
`undefined` instead of throwing an exception. A new
18+
`QueryDocumentSnapshot` class is introduced for Queries to reduce the number
1219
of undefined-checks in your code.
13-
- [added] Added `isEqual` API to `GeoPoint`, `Blob`, `SnapshotMetadata`,
20+
- [added] Added `isEqual` API to `GeoPoint`, `Blob`, `SnapshotMetadata`,
1421
`DocumentSnapshot`, `QuerySnapshot`, `CollectionReference`, `FieldValue`
1522
and `FieldPath`.
1623
- [changed] A "Could not reach Firestore backend." message will be

0 commit comments

Comments
 (0)