|
1 | 1 | # 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 |
2 | 7 | - [changed] Snapshot listeners (with the `includeMetadataChanges` option |
3 | 8 | enabled) now receive an event with `snapshot.metadata.fromCache` set to |
4 | 9 | `true` if the SDK loses its connection to the backend. A new event with |
5 | 10 | `snapshot.metadata.fromCache` set to false will be raised once the |
6 | 11 | 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 |
8 | 13 | 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 |
12 | 19 | of undefined-checks in your code. |
13 | | -- [added] Added `isEqual` API to `GeoPoint`, `Blob`, `SnapshotMetadata`, |
| 20 | +- [added] Added `isEqual` API to `GeoPoint`, `Blob`, `SnapshotMetadata`, |
14 | 21 | `DocumentSnapshot`, `QuerySnapshot`, `CollectionReference`, `FieldValue` |
15 | 22 | and `FieldPath`. |
16 | 23 | - [changed] A "Could not reach Firestore backend." message will be |
|
0 commit comments