|
1 | 1 | # Unreleased
|
2 |
| -- [changed] Merged the `includeQueryMetadataChanges` and |
3 |
| - `includeDocumentMetadataChanges` options passed to `Query.onSnapshot()` into |
| 2 | +- [changed] Merged the `includeQueryMetadataChanges` and |
| 3 | + `includeDocumentMetadataChanges` options passed to `Query.onSnapshot()` into |
4 | 4 | a single `includeMetadataChanges` option.
|
5 | 5 | - [changed] `QuerySnapshot.docChanges()` is now a method that optionally takes
|
6 | 6 | an `includeMetadataChanges` option. By default, even when listening to a query
|
7 |
| - with `{ includeMetadataChanges:true }`, metadata-only document changes are |
8 |
| - suppressed in `docChanges()`. |
9 |
| -- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could |
10 |
| - cause get() requests made while offline to be delayed by up to 10 |
11 |
| - seconds (rather than returning from cache immediately). |
| 7 | + with `{ includeMetadataChanges:true }`, metadata-only document changes are |
| 8 | + suppressed in `docChanges()`. |
| 9 | +- [feature] Added new `{ mergeFields: (string|FieldPath)[] }` option to `set()` |
| 10 | + which allows merging of a reduced subset of fields. |
| 11 | + |
| 12 | +# 0.4.1 |
| 13 | +- [fixed] Fixed a regression in Firebase JS release 4.13.0 regarding the |
| 14 | + loading of proto files, causing Node.JS support to break. |
| 15 | + |
| 16 | +# 0.4.0 |
12 | 17 | - [feature] Added a new `Timestamp` class to represent timestamp fields,
|
13 | 18 | currently supporting up to microsecond precision. It can be passed to API
|
14 | 19 | methods anywhere a JS Date object is currently accepted. To make
|
|
21 | 26 | Query.get() should fetch from server only, (by passing { source: 'server' }),
|
22 | 27 | cache only (by passing { source: 'cache' }), or attempt server and fall back
|
23 | 28 | to the cache (which was the only option previously, and is now the default).
|
24 |
| -- [feature] Added new `{ mergeFields: (string|FieldPath)[] }` option to `set()` |
25 |
| - which allows merging of a reduced subset of fields. |
| 29 | + |
| 30 | +# 0.3.7 |
| 31 | +- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could |
| 32 | + cause get() requests made while offline to be delayed by up to 10 |
| 33 | + seconds (rather than returning from cache immediately). |
26 | 34 |
|
27 | 35 | # 0.3.6
|
28 | 36 | - [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could
|
|
0 commit comments