UNPKG

45.4 kBMarkdownView Raw
1# @firebase/firestore
2
3## 2.3.9
4
5### Patch Changes
6
7- [`b51be1da3`](https://github.com/firebase/firebase-js-sdk/commit/b51be1da318a8f79ff159bcb8be9797d192519fd) [#5166](https://github.com/firebase/firebase-js-sdk/pull/5166) (fixes [#4076](https://github.com/firebase/firebase-js-sdk/issues/4076)) - The SDK no longer accesses IndexedDB during a page unload event on Safari 14. This aims to reduce the occurrence of an IndexedDB bug in Safari (https://bugs.webkit.org/show_bug.cgi?id=226547).
8
9* [`2cd9d7c39`](https://github.com/firebase/firebase-js-sdk/commit/2cd9d7c394dd0c84f285fbcfa4b0a5d79509451f) [#5147](https://github.com/firebase/firebase-js-sdk/pull/5147) (fixes [#5047](https://github.com/firebase/firebase-js-sdk/issues/5047)) - Fixed an issue that prevented Timestamps from being used via `update()` when connected to the Emulator
10
11## 2.3.8
12
13### Patch Changes
14
15- Updated dependencies [[`85f73abb5`](https://github.com/firebase/firebase-js-sdk/commit/85f73abb5c5dd5625c82b874adbfbb4acd1d70d7), [`56a6a9d4a`](https://github.com/firebase/firebase-js-sdk/commit/56a6a9d4af2766154584a0f66d3c4d8024d74ba5)]:
16 - @firebase/webchannel-wrapper@0.5.1
17 - @firebase/component@0.5.4
18
19## 2.3.7
20
21### Patch Changes
22
23- Updated dependencies [[`725ab4684`](https://github.com/firebase/firebase-js-sdk/commit/725ab4684ef0999a12f71e704c204a00fb030e5d)]:
24 - @firebase/component@0.5.3
25
26## 2.3.6
27
28### Patch Changes
29
30- [`1d54447ca`](https://github.com/firebase/firebase-js-sdk/commit/1d54447ca928ab50228600858978bb3b341c0507) [#5010](https://github.com/firebase/firebase-js-sdk/pull/5010) - Fixes a regression that prevented Firestore from detecting Auth during its initial initialization, which could cause some writes to not be send.
31 [4971](https://github.com/firebase/firebase-js-sdk/pull/4971) didn't actually fix it.
32
33## 2.3.5
34
35### Patch Changes
36
37- [`4c4b6aed9`](https://github.com/firebase/firebase-js-sdk/commit/4c4b6aed9757c9a7e75fb698a15e53274f93880b) [#4971](https://github.com/firebase/firebase-js-sdk/pull/4971) - Fixes a regression that prevented Firestore from detecting Auth during its initial initialization, which could cause some writes to not be send.
38
39- Updated dependencies [[`4c4b6aed9`](https://github.com/firebase/firebase-js-sdk/commit/4c4b6aed9757c9a7e75fb698a15e53274f93880b)]:
40 - @firebase/component@0.5.2
41
42## 2.3.4
43
44### Patch Changes
45
46- Updated dependencies [[`10fb5b87f`](https://github.com/firebase/firebase-js-sdk/commit/10fb5b87faecf3aa79e15545b21de99af3e51a71)]:
47 - @firebase/webchannel-wrapper@0.5.0
48
49## 2.3.3
50
51### Patch Changes
52
53- Updated dependencies [[`5fbc5fb01`](https://github.com/firebase/firebase-js-sdk/commit/5fbc5fb0140d7da980fd7ebbfbae810f8c64ae19)]:
54 - @firebase/component@0.5.1
55
56## 2.3.2
57
58### Patch Changes
59
60- [`169174520`](https://github.com/firebase/firebase-js-sdk/commit/169174520f6451f5741fd50e8957d4097895e97a) [#4929](https://github.com/firebase/firebase-js-sdk/pull/4929) - Added a warning message when the host settings are overridden without `{merge: true}`.
61
62## 2.3.1
63
64### Patch Changes
65
66- [`96a47097f`](https://github.com/firebase/firebase-js-sdk/commit/96a47097f36fa33f16b3f63b8cc72d256710e528) [#4886](https://github.com/firebase/firebase-js-sdk/pull/4886) - Use 'pagehide' for page termination by default.
67
68## 2.3.0
69
70### Minor Changes
71
72- [`97f61e6f3`](https://github.com/firebase/firebase-js-sdk/commit/97f61e6f3d24e5b4c92ed248bb531233a94b9eaf) [#4837](https://github.com/firebase/firebase-js-sdk/pull/4837) (fixes [#4715](https://github.com/firebase/firebase-js-sdk/issues/4715)) - Add mockUserToken support for Firestore.
73
74### Patch Changes
75
76- Updated dependencies [[`c34ac7a92`](https://github.com/firebase/firebase-js-sdk/commit/c34ac7a92a616915f38d192654db7770d81747ae), [`97f61e6f3`](https://github.com/firebase/firebase-js-sdk/commit/97f61e6f3d24e5b4c92ed248bb531233a94b9eaf), [`ac4ad08a2`](https://github.com/firebase/firebase-js-sdk/commit/ac4ad08a284397ec966e991dd388bb1fba857467)]:
77 - @firebase/component@0.5.0
78 - @firebase/firestore-types@2.3.0
79 - @firebase/util@1.1.0
80
81## 2.2.5
82
83### Patch Changes
84
85- [`633463e2a`](https://github.com/firebase/firebase-js-sdk/commit/633463e2abfdef7dbb6d9bf5275df21d6a01fcb6) [#4788](https://github.com/firebase/firebase-js-sdk/pull/4788) - Ensure that errors get wrapped in FirestoreError
86
87* [`c65883680`](https://github.com/firebase/firebase-js-sdk/commit/c658836806e0a5fef11fa61cd68f98960567f31b) [#4810](https://github.com/firebase/firebase-js-sdk/pull/4810) (fixes [#4795](https://github.com/firebase/firebase-js-sdk/issues/4795)) - Don't send empty X-Firebase-GMPID header when AppId is not set in FirebaseOptions
88
89## 2.2.4
90
91### Patch Changes
92
93- [`6db185be5`](https://github.com/firebase/firebase-js-sdk/commit/6db185be5ed297ba2a8b6c0a098319131da7b552) [#4745](https://github.com/firebase/firebase-js-sdk/pull/4745) - Fixed a bug where decimal inputs to `Timestamp.fromMillis()` calculated incorrectly due to floating point precision loss
94
95- Updated dependencies [[`7354a0ed4`](https://github.com/firebase/firebase-js-sdk/commit/7354a0ed438f4e3df6577e4927e8c8f8f1fbbfda)]:
96 - @firebase/util@1.0.0
97 - @firebase/component@0.4.1
98
99## 2.2.3
100
101### Patch Changes
102
103- Updated dependencies [[`f24d8961b`](https://github.com/firebase/firebase-js-sdk/commit/f24d8961b3b87821413297688803fc85113086b3)]:
104 - @firebase/component@0.4.0
105
106## 2.2.2
107
108### Patch Changes
109
110- [`4cb0945c6`](https://github.com/firebase/firebase-js-sdk/commit/4cb0945c6e7d9ba729d34f893942f039443346aa) [#3888](https://github.com/firebase/firebase-js-sdk/pull/3888) - Added new internal HTTP header to all network requests.
111
112- Updated dependencies [[`de5f90501`](https://github.com/firebase/firebase-js-sdk/commit/de5f9050137acc9ed1490082e5aa429b5de3cb2a)]:
113 - @firebase/util@0.4.1
114 - @firebase/component@0.3.1
115
116## 2.2.1
117
118### Patch Changes
119
120- [`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3) [#4595](https://github.com/firebase/firebase-js-sdk/pull/4595) - Component facotry now takes an options object. And added `Provider.initialize()` that can be used to pass an options object to the component factory.
121
122- Updated dependencies [[`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3)]:
123 - @firebase/component@0.3.0
124
125## 2.2.0
126
127### Minor Changes
128
129- [`b6080a857`](https://github.com/firebase/firebase-js-sdk/commit/b6080a857b1b56e10db041e6357acd69154e31fb) [#4577](https://github.com/firebase/firebase-js-sdk/pull/4577) - Added support to remove a FirestoreDataConverter on a Firestore reference by calling `withConverter(null)`
130
131### Patch Changes
132
133- Updated dependencies [[`ec95df3d0`](https://github.com/firebase/firebase-js-sdk/commit/ec95df3d07e5f091f2a7f7327e46417f64d04b4e), [`b6080a857`](https://github.com/firebase/firebase-js-sdk/commit/b6080a857b1b56e10db041e6357acd69154e31fb)]:
134 - @firebase/util@0.4.0
135 - @firebase/firestore-types@2.2.0
136 - @firebase/component@0.2.1
137
138## 2.1.7
139
140### Patch Changes
141
142- Updated dependencies [[`6afe42613`](https://github.com/firebase/firebase-js-sdk/commit/6afe42613ed3d7a842d378dc1a09a795811db2ac)]:
143 - @firebase/component@0.2.0
144
145## 2.1.6
146
147### Patch Changes
148
149- [`a718518e9`](https://github.com/firebase/firebase-js-sdk/commit/a718518e935931709669ea2e88f9711143655e61) [#4395](https://github.com/firebase/firebase-js-sdk/pull/4395) - Fixes a bug where local cache inconsistencies were unnecessarily being resolved.
150
151* [`3d0cd6f33`](https://github.com/firebase/firebase-js-sdk/commit/3d0cd6f33127e75e15aec9b6589eea360827df7a) [#4382](https://github.com/firebase/firebase-js-sdk/pull/4382) - Fix the path to the react native build for the Firestore memory build
152
153## 2.1.5
154
155### Patch Changes
156
157- [`9533688b1`](https://github.com/firebase/firebase-js-sdk/commit/9533688b1e39e58a550ec0527a0363270d73c5b5) [#4347](https://github.com/firebase/firebase-js-sdk/pull/4347) (fixes [#1392](https://github.com/firebase/firebase-js-sdk/issues/1392)) - handle `ignoreUndefinedProperties` in `set({ merge: true })`. Previously this would behave as if the undefined value were `FieldValue.delete()`, which wasn't intended.
158
159## 2.1.4
160
161### Patch Changes
162
163- [`749c7f3d9`](https://github.com/firebase/firebase-js-sdk/commit/749c7f3d985f978cd2a204cbc28c3fff09458b5b) [#4298](https://github.com/firebase/firebase-js-sdk/pull/4298) (fixes [#4258](https://github.com/firebase/firebase-js-sdk/issues/4258)) - Firestore classes like DocumentReference and Query can now be serialized to JSON (#4258)
164
165## 2.1.3
166
167### Patch Changes
168
169- [`6ac66baa0`](https://github.com/firebase/firebase-js-sdk/commit/6ac66baa0e7ac8dd90a6d6136a020cdd54710df5) [#4284](https://github.com/firebase/firebase-js-sdk/pull/4284) (fixes [#4278](https://github.com/firebase/firebase-js-sdk/issues/4278)) - Fixes FirestoreDataConverter.fromFirestore() being called with an incorrect "snapshot" object.
170
171## 2.1.2
172
173### Patch Changes
174
175- [`6069b1d6c`](https://github.com/firebase/firebase-js-sdk/commit/6069b1d6c521d05dde821f21bcc7e02913180ae5) [#4262](https://github.com/firebase/firebase-js-sdk/pull/4262) (fixes [#4253](https://github.com/firebase/firebase-js-sdk/issues/4253)) - Updated an outdated error message to include '!=' and 'not-in' as an inequalities.
176
177* [`ba59a0f90`](https://github.com/firebase/firebase-js-sdk/commit/ba59a0f909a1eb59d23b887bba30b6f86d63c931) [#4233](https://github.com/firebase/firebase-js-sdk/pull/4233) (fixes [#4226](https://github.com/firebase/firebase-js-sdk/issues/4226)) - Fixes an issue in the Transaction API that caused the SDK to return invalid DocumentReferences through `DocumentSnapshot.data()` calls.
178
179## 2.1.1
180
181### Patch Changes
182
183- [`44b5251d0`](https://github.com/firebase/firebase-js-sdk/commit/44b5251d0527d1aa768959765ff04093a04dd8ab) [#4189](https://github.com/firebase/firebase-js-sdk/pull/4189) (fixes [#4175](https://github.com/firebase/firebase-js-sdk/issues/4175)) - Fixes an issue that prevented the SDK from automatically retrieving custom User claims.
184
185## 2.1.0
186
187### Minor Changes
188
189- [`b662f8c0a`](https://github.com/firebase/firebase-js-sdk/commit/b662f8c0a9890cbdcf53cce7fe01c2a8a52d3d2d) [#4168](https://github.com/firebase/firebase-js-sdk/pull/4168) - Release Firestore Bundles (pre-packaged Firestore data). For NPM users, this can
190 be enabled via an additional import: 'firebase/firestore/bundle'. For CDN usage,
191 it is enabled by default.
192
193* [`1b5407372`](https://github.com/firebase/firebase-js-sdk/commit/1b54073726db8cefd994492d0cfba7c5f619f14b) [#4153](https://github.com/firebase/firebase-js-sdk/pull/4153) - A write to a document that contains FieldValue transforms is no longer split up into two separate operations. This reduces the number of writes the backend performs and allows each WriteBatch to hold 500 writes regardless of how many FieldValue transformations are attached.
194
195### Patch Changes
196
197- Updated dependencies [[`b662f8c0a`](https://github.com/firebase/firebase-js-sdk/commit/b662f8c0a9890cbdcf53cce7fe01c2a8a52d3d2d)]:
198 - @firebase/firestore-types@2.1.0
199
200## 2.0.5
201
202### Patch Changes
203
204- [`1849b0d0f`](https://github.com/firebase/firebase-js-sdk/commit/1849b0d0f0bbca56e50bea01979d20ada58040dc) [#4148](https://github.com/firebase/firebase-js-sdk/pull/4148) - Fixed a bug that prevented usage of FieldPaths with multiple special characters.
205
206* [`8993f16b8`](https://github.com/firebase/firebase-js-sdk/commit/8993f16b81b4b386f2ac5195950235a6a43ed9bc) [#4136](https://github.com/firebase/firebase-js-sdk/pull/4136) (fixes [#4125](https://github.com/firebase/firebase-js-sdk/issues/4125)) - Fixes an issue that returned invalid `DocumentReference`s in `QuerySnapshot`s.
207
208## 2.0.4
209
210### Patch Changes
211
212- [`9822e125c`](https://github.com/firebase/firebase-js-sdk/commit/9822e125c399ae7271d4a9077f82b184a44526e4) [#4078](https://github.com/firebase/firebase-js-sdk/pull/4078) - Fix an issue that prevented `experimentalAutoDetectLongPolling` from working correctly.
213
214- Updated dependencies [[`9822e125c`](https://github.com/firebase/firebase-js-sdk/commit/9822e125c399ae7271d4a9077f82b184a44526e4)]:
215 - @firebase/webchannel-wrapper@0.4.1
216
217## 2.0.3
218
219### Patch Changes
220
221- [`6c6c49ad6`](https://github.com/firebase/firebase-js-sdk/commit/6c6c49ad6b3c3d66e9ecb8397c4ac39bea256e80) [#4053](https://github.com/firebase/firebase-js-sdk/pull/4053) - Internal changes for the upcoming modular API.
222
223* [`e0bf3f70b`](https://github.com/firebase/firebase-js-sdk/commit/e0bf3f70bf82f3587e60ab4484fe37d01cea0051) [#4080](https://github.com/firebase/firebase-js-sdk/pull/4080) (fixes [#4071](https://github.com/firebase/firebase-js-sdk/issues/4071)) - Fixes a regression introduced in v8.0.2 that returned invalid values for `DocumentChange.newIndex`.
224
225## 2.0.2
226
227### Patch Changes
228
229- [`d2adf4e3e`](https://github.com/firebase/firebase-js-sdk/commit/d2adf4e3e69da3a4312828137f9721ea84b87fe2) [#4051](https://github.com/firebase/firebase-js-sdk/pull/4051) - Fixed an issue that caused `DocumentReference`s in `DocumentSnapshot`s to be returned with the custom converter of the original `DocumentReference`.
230
231* [`6dffdf2eb`](https://github.com/firebase/firebase-js-sdk/commit/6dffdf2eb1323ec9047af4ed78302a68f7dacce3) [#3594](https://github.com/firebase/firebase-js-sdk/pull/3594) - Merge bundle loading implementation without exposing public API
232
233- [`484e90a1d`](https://github.com/firebase/firebase-js-sdk/commit/484e90a1d8f63e04268ff5bce4e3e0873c56c8e1) [#4043](https://github.com/firebase/firebase-js-sdk/pull/4043) - Internal changes to support upcoming modular API.
234
235## 2.0.1
236
237### Patch Changes
238
239- [`007ddd1eb`](https://github.com/firebase/firebase-js-sdk/commit/007ddd1eb6be0a66df7b1c3264d8dff8857d8399) [#4030](https://github.com/firebase/firebase-js-sdk/pull/4030) - Internal changes to support upcoming modular API.
240
241- Updated dependencies [[`9cf727fcc`](https://github.com/firebase/firebase-js-sdk/commit/9cf727fcc3d049551b16ae0698ac33dc2fe45ada)]:
242 - @firebase/util@0.3.4
243 - @firebase/component@0.1.21
244
245## 2.0.0
246
247### Major Changes
248
249- [`8939aeca0`](https://github.com/firebase/firebase-js-sdk/commit/8939aeca02921f9eacf1badb1068de22f670293e) [#3944](https://github.com/firebase/firebase-js-sdk/pull/3944) - Removed the undocumented `Firestore.logLevel` property.
250
251* [`344bd8856`](https://github.com/firebase/firebase-js-sdk/commit/344bd88566e2c42fd7ee92f28bb0f784629b48ee) [#3943](https://github.com/firebase/firebase-js-sdk/pull/3943) - Removed depreacted `experimentalTabSynchronization` settings. To enable multi-tab sychronization, use `synchronizeTabs` instead.
252
253- [`4b540f91d`](https://github.com/firebase/firebase-js-sdk/commit/4b540f91dbad217e8ec04b382b4c724308cb3df1) [#3939](https://github.com/firebase/firebase-js-sdk/pull/3939) - This releases removes all input validation. Please use our TypeScript types to validate API usage.
254
255* [`ffef32e38`](https://github.com/firebase/firebase-js-sdk/commit/ffef32e3837d3ee1098129b237e7a6e2e738182d) [#3897](https://github.com/firebase/firebase-js-sdk/pull/3897) (fixes [#3879](https://github.com/firebase/firebase-js-sdk/issues/3879)) - Removed the `timestampsInSnapshots` option from `FirestoreSettings`. Now, Firestore always returns `Timestamp` values for all timestamp values.
256
257### Minor Changes
258
259- [`79b049375`](https://github.com/firebase/firebase-js-sdk/commit/79b04937537b90422e051086112f6b43c2880cdb) [#3909](https://github.com/firebase/firebase-js-sdk/pull/3909) - Add a useEmulator(host, port) method to Firestore
260
261* [`9719635fe`](https://github.com/firebase/firebase-js-sdk/commit/9719635fe2ecbb5b981076ce4807d0df775b8332) [#3960](https://github.com/firebase/firebase-js-sdk/pull/3960) - Removed excess validation of null and NaN values in query filters. This more closely aligns the SDK with the Firestore backend, which has always accepted null and NaN for all operators, even though this isn't necessarily useful.
262
263### Patch Changes
264
265- [`a5768b0aa`](https://github.com/firebase/firebase-js-sdk/commit/a5768b0aa7d7ce732279931aa436e988c9f36487) [#3932](https://github.com/firebase/firebase-js-sdk/pull/3932) - Point browser field to esm build. Now you need to use default import instead of namespace import to import firebase.
266
267 Before this change
268
269 ```
270 import * as firebase from 'firebase/app';
271 ```
272
273 After this change
274
275 ```
276 import firebase from 'firebase/app';
277 ```
278
279- Updated dependencies [[`a5768b0aa`](https://github.com/firebase/firebase-js-sdk/commit/a5768b0aa7d7ce732279931aa436e988c9f36487), [`79b049375`](https://github.com/firebase/firebase-js-sdk/commit/79b04937537b90422e051086112f6b43c2880cdb), [`ffef32e38`](https://github.com/firebase/firebase-js-sdk/commit/ffef32e3837d3ee1098129b237e7a6e2e738182d), [`7d916d905`](https://github.com/firebase/firebase-js-sdk/commit/7d916d905ba16816ac8ac7c8748c83831ff614ce)]:
280 - @firebase/component@0.1.20
281 - @firebase/util@0.3.3
282 - @firebase/firestore-types@2.0.0
283
284## 1.18.0
285
286### Minor Changes
287
288- [`4f997bce1`](https://github.com/firebase/firebase-js-sdk/commit/4f997bce102be272b76836b6bcba96ea7de857bc) [#3724](https://github.com/firebase/firebase-js-sdk/pull/3724) - Adds a new `experimentalAutoDetectLongPolling` to FirestoreSettings. When
289 enabled, the SDK's underlying transport (WebChannel) automatically detects if
290 long-polling should be used. This is very similar to
291 `experimentalForceLongPolling`, but only uses long-polling if required.
292
293### Patch Changes
294
295- [`2bea0a367`](https://github.com/firebase/firebase-js-sdk/commit/2bea0a367da8de06bae29e1459b7cbe3cdfde540) [#3919](https://github.com/firebase/firebase-js-sdk/pull/3919) - Fixed a potential issue in our internal queue that could have allowed API calls to be executed out of order.
296
297- Updated dependencies [[`4f997bce1`](https://github.com/firebase/firebase-js-sdk/commit/4f997bce102be272b76836b6bcba96ea7de857bc)]:
298 - @firebase/firestore-types@1.14.0
299 - @firebase/webchannel-wrapper@0.4.0
300
301## 1.17.3
302
303### Patch Changes
304
305- [`a10c18f89`](https://github.com/firebase/firebase-js-sdk/commit/a10c18f8996fc35942779f5fea5690ae5d102bb0) [#3871](https://github.com/firebase/firebase-js-sdk/pull/3871) - The SDK now include more information in the error message for failed IndexedDB transactions.
306
307## 1.17.2
308
309### Patch Changes
310
311- [`2be43eadf`](https://github.com/firebase/firebase-js-sdk/commit/2be43eadf756e45da7ad3ae7ba104ac5f0e557fa) [#3864](https://github.com/firebase/firebase-js-sdk/pull/3864) - Internal changes to support upcoming modular API.
312
313## 1.17.1
314
315### Patch Changes
316
317- [`4dc8817c3`](https://github.com/firebase/firebase-js-sdk/commit/4dc8817c3faf172152a5b1e7778d0ce844510f97) [#3821](https://github.com/firebase/firebase-js-sdk/pull/3821) - Fixes an issue that prevents `waitForPendingWrites()` from resolving in background tabs when multi-tab is used (https://github.com/firebase/firebase-js-sdk/issues/3816).
318
319* [`16c6ba979`](https://github.com/firebase/firebase-js-sdk/commit/16c6ba9793681f1695f855f22a19a618ceface5f) [#3820](https://github.com/firebase/firebase-js-sdk/pull/3820) (fixes [#3814](https://github.com/firebase/firebase-js-sdk/issues/3814)) - Fixes a "Comparison with -0" lint warning for customers that build from source.
320
321## 1.17.0
322
323### Minor Changes
324
325- [`f9004177e`](https://github.com/firebase/firebase-js-sdk/commit/f9004177e76f00fc484d30c0c0e7b1bc2da033f9) [#3772](https://github.com/firebase/firebase-js-sdk/pull/3772) - [feature] Added `not-in` and `!=` query operators for use with `.where()`. `not-in` finds documents where a specified field’s value is not in a specified array. `!=` finds documents where a specified field's value does not equal the specified value. Neither query operator will match documents where the specified field is not present.
326
327* [`a8ff3dbaa`](https://github.com/firebase/firebase-js-sdk/commit/a8ff3dbaacd06371e6652a6d639ef2d9bead612b) [#3418](https://github.com/firebase/firebase-js-sdk/pull/3418) - Use FirestoreError instead of Error in onSnapshot\*() error callbacks.
328
329### Patch Changes
330
331- [`e81c429ae`](https://github.com/firebase/firebase-js-sdk/commit/e81c429aec43cd4467089bfed68eafafba6e8ee2) [#3755](https://github.com/firebase/firebase-js-sdk/pull/3755) (fixes [#3742](https://github.com/firebase/firebase-js-sdk/issues/3742)) - Fixed a bug where CollectionReference.add() called FirestoreDataConverter.toFirestore() twice intead of once (#3742).
332
333- Updated dependencies [[`f9004177e`](https://github.com/firebase/firebase-js-sdk/commit/f9004177e76f00fc484d30c0c0e7b1bc2da033f9), [`a8ff3dbaa`](https://github.com/firebase/firebase-js-sdk/commit/a8ff3dbaacd06371e6652a6d639ef2d9bead612b)]:
334 - @firebase/firestore-types@1.13.0
335
336## 1.16.7
337
338### Patch Changes
339
340- [`249d40cb6`](https://github.com/firebase/firebase-js-sdk/commit/249d40cb692366f686a50c06c44ec81e4cae23d7) [#3700](https://github.com/firebase/firebase-js-sdk/pull/3700) - Fixes a bug that caused the client to not raise snapshots from cache if a user change happened while the network connection was disabled.
341
342- Updated dependencies [[`da1c7df79`](https://github.com/firebase/firebase-js-sdk/commit/da1c7df7982b08bbef82fcc8d93255f3e2d23cca), [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290)]:
343 - @firebase/component@0.1.19
344 - @firebase/util@0.3.2
345
346## 1.16.6
347
348### Patch Changes
349
350- [`61b4cd31b`](https://github.com/firebase/firebase-js-sdk/commit/61b4cd31b961c90354be38b18af5fbea9da8d5a3) [#3464](https://github.com/firebase/firebase-js-sdk/pull/3464) (fixes [#3354](https://github.com/firebase/firebase-js-sdk/issues/3354)) - feat: Added `merge` option to `firestore.settings()`, which merges the provided settings with
351 settings from a previous call. This allows adding settings on top of the settings that were applied
352 by `@firebase/testing`.
353- Updated dependencies [[`61b4cd31b`](https://github.com/firebase/firebase-js-sdk/commit/61b4cd31b961c90354be38b18af5fbea9da8d5a3)]:
354 - @firebase/firestore-types@1.12.1
355
356## 1.16.5
357
358### Patch Changes
359
360- [`960093d5b`](https://github.com/firebase/firebase-js-sdk/commit/960093d5b3ada866709c1a51b4ca175c3a01f1f3) [#3575](https://github.com/firebase/firebase-js-sdk/pull/3575) (fixes [#2755](https://github.com/firebase/firebase-js-sdk/issues/2755)) - `terminate()` can now be retried if it fails with an IndexedDB exception.
361
362* [`b97c7e758`](https://github.com/firebase/firebase-js-sdk/commit/b97c7e758b1e2a370cb72a7aac14c17a54531a36) [#3487](https://github.com/firebase/firebase-js-sdk/pull/3487) - Enable fallback for auto-generated identifiers in environments that support `crypto` but not `crypto.getRandomValues`.
363
364## 1.16.4
365
366### Patch Changes
367
368- [`36be62a8`](https://github.com/firebase/firebase-js-sdk/commit/36be62a85c3cc47c15c9a59f20cdfcd7d0a72ad9) [#3535](https://github.com/firebase/firebase-js-sdk/pull/3535) (fixes [#3495](https://github.com/firebase/firebase-js-sdk/issues/3495)) - The SDK no longer crashes with the error "The database connection is closing". Instead, the individual operations that cause this error may be rejected.
369
370* [`68995c24`](https://github.com/firebase/firebase-js-sdk/commit/68995c2422a479d42b9c972bab3da4d544b9f002) [#3586](https://github.com/firebase/firebase-js-sdk/pull/3586) - Fixed a bug that caused slow retries for IndexedDB operations even when a webpage re-entered the foreground.
371
372* Updated dependencies [[`d4ca3da0`](https://github.com/firebase/firebase-js-sdk/commit/d4ca3da0a59fcea1261ba69d7eb663bba38d3089)]:
373 - @firebase/util@0.3.1
374 - @firebase/component@0.1.18
375
376## 1.16.3
377
378### Patch Changes
379
380- Updated dependencies [[`7f0860a4`](https://github.com/firebase/firebase-js-sdk/commit/7f0860a4ced76da8492ae44d2267a2f1cc58eccb)]:
381 - @firebase/webchannel-wrapper@0.3.0
382
383## 1.16.2
384
385### Patch Changes
386
387- Updated dependencies [[`a87676b8`](https://github.com/firebase/firebase-js-sdk/commit/a87676b84b78ccc2f057a22eb947a5d13402949c)]:
388 - @firebase/util@0.3.0
389 - @firebase/component@0.1.17
390
391## 1.16.1
392
393### Patch Changes
394
395- [`5a355360`](https://github.com/firebase/firebase-js-sdk/commit/5a3553609da893d45f7fe1897387f72eaedf2fe0) [#3162](https://github.com/firebase/firebase-js-sdk/pull/3162) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - The SDK no longer crashes if an IndexedDB failure occurs when unsubscribing from a Query.
396
397* [`9a9a81fe`](https://github.com/firebase/firebase-js-sdk/commit/9a9a81fe4f001f23e9fe1db054c2e7159fca3ae3) [#3279](https://github.com/firebase/firebase-js-sdk/pull/3279) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - [fixed] Removed a delay that may have prevented Firestore from immediately
398 reestablishing a network connection if a connectivity change occurred while
399 the app was in the background.
400
401## 1.16.0
402
403### Minor Changes
404
405- [`39ca8ecf`](https://github.com/firebase/firebase-js-sdk/commit/39ca8ecf940472159d0bc58212f34a70146da60c) [#3254](https://github.com/firebase/firebase-js-sdk/pull/3254) Thanks [@thebrianchen](https://github.com/thebrianchen)! - Added support for `set()` with merge options when using `FirestoreDataConverter`.
406
407* [`877c060c`](https://github.com/firebase/firebase-js-sdk/commit/877c060c47bb29a8efbd2b96d35d3334fd9d9a98) [#3251](https://github.com/firebase/firebase-js-sdk/pull/3251) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - Re-adding the ReactNative bundle, which allows Firestore to be used without `btoa`/`atob` Polyfills.
408
409### Patch Changes
410
411- [`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e) [#3297](https://github.com/firebase/firebase-js-sdk/pull/3297) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependency typescript to v3.9.5
412
413* [`e90304c8`](https://github.com/firebase/firebase-js-sdk/commit/e90304c8ac4341d8b23b55da784eb21348b04025) [#3309](https://github.com/firebase/firebase-js-sdk/pull/3309) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - Removed internal wrapper around our public API that was meant to prevent incorrect SDK usage for JavaScript users, but caused our SDK to stop working in IE11.
414
415* Updated dependencies [[`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e), [`39ca8ecf`](https://github.com/firebase/firebase-js-sdk/commit/39ca8ecf940472159d0bc58212f34a70146da60c)]:
416 - @firebase/component@0.1.16
417 - @firebase/logger@0.2.6
418 - @firebase/firestore-types@1.12.0
419* [fixed] Fixed an issue that may have prevented the client from connecting
420 to the backend immediately after a user signed in.
421
422## 1.15.0
423
424- [feature] Added an `experimentalForceOwningTab` setting that can be used to
425 enable persistence in environments without LocalStorage, which allows
426 persistence to be used in Web Workers (#983).
427- [changed] All known failure cases for Indexed-related crashes have now been
428 addressed. Instead of crashing the client, IndexedDB failures will result
429 in rejected operations (e.g. rejected Writes or errored Query listeners).
430 If these rejections surface in your app, you can retry these operations
431 when IndexedDB access is restored.
432 IndexedDB failures that occur due to background work are automatically
433 retried.
434
435 If you continue to see Indexed-related crashes, we appreciate feedback
436 (https://github.com/firebase/firebase-js-sdk/issues/2755).
437
438## 1.14.6
439
440- [fixed] Fixed an issue that could cause Firestore to temporarily go
441 offline when a Window visibility event occurred.
442- [feature] Added support for calling `FirebaseFiresore.settings` with
443 `{ ignoreUndefinedProperties: true }`. When set, Firestore ignores
444 undefined properties inside objects rather than rejecting the API call.
445
446## 1.14.4
447
448- [fixed] Fixed a regression introduced in v7.14.2 that incorrectly applied
449 a `FieldValue.increment` in combination with `set({...}, {merge: true})`.
450
451## 1.14.3
452
453- [fixed] Firestore now rejects `onSnapshot()` listeners if they cannot be
454 registered in IndexedDB. Previously, these errors crashed the client.
455
456## 1.14.2
457
458- [fixed] Firestore now rejects write operations if they cannot be persisted
459 in IndexedDB. Previously, these errors crashed the client.
460- [fixed] Fixed a source of IndexedDB-related crashes for tabs that receive
461 multi-tab notifications while the file system is locked.
462
463## 1.10.2
464
465- [fixed] Temporarily reverted the use of window.crypto to generate document
466 IDs to address compatibility issues with IE 11, WebWorkers, and React Native.
467- [changed] Firestore now limits the number of concurrent document lookups it
468 will perform when resolving inconsistencies in the local cache (#2683).
469- [changed] Changed the in-memory representation of Firestore documents to
470 reduce memory allocations and improve performance. Calls to
471 `DocumentSnapshot.getData()` and `DocumentSnapshot.toObject()` will see
472 the biggest improvement.
473
474## 1.10.1
475
476- [fixed] Fixed an issue where the number value `-0.0` would lose its sign when
477 stored in Firestore.
478
479## 1.10.0
480
481- [feature] Implemented `Timestamp.valueOf()` so that `Timestamp` objects can be
482 compared for relative ordering using the JavaScript arithmetic comparison
483 operators (#2632).
484- [fixed] Fixed an issue where auth credentials were not respected in Cordova
485 environments (#2626).
486- [fixed] Fixed a performance regression introduced by the addition of
487 `Query.limitToLast(n: number)` in Firestore 1.7.0 (Firebase 7.3.0) (#2620).
488- [fixed] Fixed an issue where `CollectionReference.add()` would reject
489 custom types when using `withConverter()` (#2606).
490
491## 1.9.3
492
493- [fixed] Fixed an issue where auth credentials were not respected in some
494 Firefox or Chrome extensions. (#1491)
495- [changed] Firestore previously required that every document read in a
496 transaction must also be written. This requirement has been removed, and
497 you can now read a document in transaction without writing to it.
498
499## 1.9.2
500
501- [fixed] Fixed an issue where auth credentials were not respected in certain
502 browser environments (Electron 7, IE11 in trusted zone, UWP apps). (#1491)
503
504## 1.9.0
505
506- [feature] Added support for storing and retrieving custom types in Firestore.
507 Added support for strongly typed collections, documents, and
508 queries. You can now use `withConverter()` to supply a custom data
509 converter that will convert between Firestore data and your custom type.
510
511## 1.8.0
512
513- [changed] Improved the performance of repeatedly executed queries when
514 persistence is enabled. Recently executed queries should see dramatic
515 improvements. This benefit is reduced if changes accumulate while the query
516 is inactive. Queries that use the `limit()` API may not always benefit,
517 depending on the accumulated changes.
518
519## 1.7.0
520
521- [changed] The client can now recover if certain periodic IndexedDB operations
522 fail.
523- [feature] Added `in` and `array-contains-any` query operators for use with
524 `.where()`. `in` finds documents where a specified field’s value is IN a
525 specified array. `array-contains-any` finds documents where a specified field
526 is an array and contains ANY element of a specified array.
527- [feature] Added `Query.limitToLast(n: number)` , which returns the last
528 `n` documents as the result.
529
530## 1.6.3
531
532- [changed] Improved iOS 13 support by eliminating an additional crash in our
533 IndexedDB persistence layer.
534
535## 1.6.2
536
537- [changed] Fixed a crash on iOS 13 that occurred when persistence was enabled
538 in a background tab (#2232).
539- [fixed] Fixed an issue in the interaction with the Firestore Emulator that
540 caused requests with timestamps to fail.
541
542## 1.6.0
543
544- [feature] Added a `Firestore.onSnapshotsInSync()` method that notifies you
545 when all your snapshot listeners are in sync with each other.
546- [fixed] Fixed a regression that caused queries with nested field filters to
547 crash the client if the field was not present in the local copy of the
548 document.
549
550## 1.5.0
551
552- [feature] Added a `Firestore.waitForPendingWrites()` method that
553 allows users to wait until all pending writes are acknowledged by the
554 Firestore backend.
555- [feature] Added a `Firestore.terminate()` method which terminates
556 the instance, releasing any held resources. Once it completes, you can
557 optionally call `Firestore.clearPersistence()` to wipe persisted Firestore
558 data from disk.
559- [changed] Improved performance for queries with filters that only return a
560 small subset of the documents in a collection.
561- [fixed] Fixed a race condition between authenticating and initializing
562 Firestore that could result in initial writes to the database being dropped.
563
564## 1.4.10
565
566- [changed] Transactions now perform exponential backoff before retrying.
567 This means transactions on highly contended documents are more likely to
568 succeed.
569
570## 1.4.6
571
572- [changed] Transactions are now more flexible. Some sequences of operations
573 that were previously incorrectly disallowed are now allowed. For example,
574 after reading a document that doesn't exist, you can now set it multiple
575 times successfully in a transaction.
576
577## 1.4.5
578
579- [fixed] Fixed an issue where query results were temporarily missing
580 documents that previously had not matched but had been updated to now
581 match the query (https://github.com/firebase/firebase-android-sdk/issues/155).
582
583## 1.4.4
584
585- [fixed] Fixed an internal assertion that was triggered when an update
586 with a `FieldValue.serverTimestamp()` and an update with a
587 `FieldValue.increment()` were pending for the same document.
588
589## 1.4.0
590
591- [changed] Added logging and a custom error message to help users hitting
592 https://bugs.webkit.org/show_bug.cgi?id=197050 (a bug in iOS 12.2 causing
593 the SDK to potentially crash when persistence is enabled).
594- [fixed] Fixed an issue for environments missing `window.addEventListener`,
595 such as in React Native with Expo (#1824).
596
597## 1.3.5
598
599- [feature] Added `clearPersistence()`, which clears the persistent storage
600 including pending writes and cached documents. This is intended to help
601 write reliable tests (#449).
602
603## 1.3.3
604
605- [changed] Firestore now recovers more quickly after network connectivity
606 changes (airplane mode, Wi-Fi availability, etc.).
607
608## 1.3.0
609
610- [changed] Deprecated the `experimentalTabSynchronization` setting in favor of
611 `synchronizeTabs`. If you use multi-tab synchronization, it is recommended
612 that you update your call to `enablePersistence()`. Firestore logs an error
613 if you continue to use `experimentalTabSynchronization`.
614- [feature] You can now query across all collections in your database with a
615 given collection ID using the `FirebaseFirestore.collectionGroup()` method.
616
617## 1.1.4
618
619- [feature] Added an `experimentalForceLongPolling` setting that that can be
620 used to work around proxies that prevent the Firestore client from connecting
621 to the Firestore backend.
622
623## 1.1.1
624
625- [changed] Increased a connection timeout that could lead to large writes
626 perputually retrying without ever succeeding (#1447).
627- [fixed] Fixed an issue with IndexedDb persistence that triggered an internal
628 assert for Queries that use nested DocumentReferences in where() clauses
629 (#1524, #1596).
630- [fixed] Fixed an issue where transactions in a Node.JS app could be sent
631 without auth credentials, leading to Permission Denied errors.
632
633## 1.1.0
634
635- [feature] Added `FieldValue.increment()`, which can be used in `update()`
636 and `set(..., {merge:true})` to increment or decrement numeric field
637 values safely without transactions.
638- [changed] Prepared the persistence layer to support collection group queries.
639 While this feature is not yet available, all schema changes are included
640 in this release. Once you upgrade, you will not be able to use an older version
641 of the Firestore SDK with persistence enabled.
642
643## 1.0.5
644
645- [changed] Improved performance when querying over documents that contain
646 subcollections.
647
648## 1.0.4
649
650- [fixed] Fixed an uncaught promise error occurring when `enablePersistence()`
651 was called in a second tab (#1531).
652
653## 1.0.0
654
655- [changed] The `timestampsInSnapshots` setting is now enabled by default.
656 Timestamp fields that read from a `DocumentSnapshot` are now returned as
657 `Timestamp` objects instead of `Date` objects. This is a breaking change;
658 developers must update any code that expects to receive a `Date` object. See
659 https://firebase.google.com/docs/reference/js/firebase.firestore.Settings#~timestampsInSnapshots
660 for more details.
661- [fixed] Fixed a crash that could happen when the app is shut down after
662 a write has been sent to the server but before it has been received on
663 a listener.
664
665## 0.9.2
666
667- [fixed] Fixed a regression introduced in 5.7.0 that caused apps using
668 experimentalTabSynchronization to hit an exception for "Failed to obtain
669 primary lease for action 'Collect garbage'".
670
671## 0.9.1
672
673- [changed] Added a custom error for schema downgrades.
674
675## 0.9.0
676
677- [changed] Removed eval()-based fallback for JSON parsing, allowing SDK to
678 be used in environments that prohibit eval().
679- [feature] Added a garbage collection process to on-disk persistence that
680 removes older documents. This is enabled automatically if persistence is
681 enabled, and the SDK will attempt to periodically clean up older, unused
682 documents once the on-disk cache passes a threshold size (default: 40 MB).
683 This threshold can be configured by changing the setting `cacheSizeBytes` in
684 the settings passed to `Firestore.settings()`. It must be set to a minimum of
685 1 MB. The garbage collection process can be disabled entirely by setting
686 `cacheSizeBytes` to `CACHE_SIZE_UNLIMITED`.
687
688## 0.8.3
689
690- [fixed] Fixed an issue that prevented query synchronization between multiple
691 tabs.
692
693## 0.8.2
694
695- [fixed] Fixed an issue where native ES6 module loading was not working.
696
697## 0.8.1
698
699- [fixed] Fixed an issue where typings are created in the wrong location.
700
701## 0.8.0
702
703- [feature] Access to offline persistence is no longer limited to a single tab.
704 You can opt into this new experimental mode by invoking `enablePersistence()`
705 with `{experimentalTabSynchronization: true}`. All tabs accessing persistence
706 must use the same setting for this flag.
707- [fixed] Fixed an issue where the first `get()` call made after being offline
708 could incorrectly return cached data without attempting to reach the backend.
709- [changed] Changed `get()` to only make one attempt to reach the backend before
710 returning cached data, potentially reducing delays while offline.
711- [fixed] Fixed an issue that caused Firebase to drop empty objects from calls
712 to `set(..., { merge: true })`.
713- [changed] Improved argument validation for several API methods.
714
715## 0.7.3
716
717- [changed] Changed the internal handling for locally updated documents that
718 haven't yet been read back from Firestore. This can lead to slight behavior
719 changes and may affect the `SnapshotMetadata.hasPendingWrites` metadata flag.
720- [changed] Eliminated superfluous update events for locally cached documents
721 that are known to lag behind the server version. Instead, we buffer these
722 events until the client has caught up with the server.
723
724## 0.7.2
725
726- [fixed] Fixed a regression that prevented use of Firestore on ReactNative's
727 Expo platform (#1138).
728
729## 0.7.0
730
731- [fixed] Fixed `get({source: 'cache'})` to be able to return nonexistent
732 documents from cache.
733- [changed] Prepared the persistence layer to allow shared access from multiple
734 tabs. While this feature is not yet available, all schema changes are included
735 in this release. Once you upgrade, you will not be able to use an older version
736 of the Firestore SDK with persistence enabled.
737- [fixed] Fixed an issue where changes to custom authentication claims did not
738 take effect until you did a full sign-out and sign-in.
739 (firebase/firebase-ios-sdk#1499)
740
741## 0.6.1
742
743- [changed] Improved how Firestore handles idle queries to reduce the cost of
744 re-listening within 30 minutes.
745- [changed] Improved offline performance with many outstanding writes.
746
747## 0.6.0
748
749- [fixed] Fixed an issue where queries returned fewer results than they should,
750 caused by documents that were cached as deleted when they should not have
751 been (firebase/firebase-ios-sdk#1548). Because some cache data is cleared,
752 clients might use extra bandwidth the first time they launch with this
753 version of the SDK.
754- [feature] Added `firebase.firestore.FieldValue.arrayUnion()` and
755 `firebase.firestore.FieldValue.arrayRemove()` to atomically add and remove
756 elements from an array field in a document.
757- [feature] Added `'array-contains'` query operator for use with `.where()` to
758 find documents where an array field contains a specific element.
759
760## 0.5.0
761
762- [changed] Merged the `includeQueryMetadataChanges` and
763 `includeDocumentMetadataChanges` options passed to `Query.onSnapshot()` into
764 a single `includeMetadataChanges` option.
765- [changed] `QuerySnapshot.docChanges()` is now a method that optionally takes
766 an `includeMetadataChanges` option. By default, even when listening to a query
767 with `{ includeMetadataChanges:true }`, metadata-only document changes are
768 suppressed in `docChanges()`.
769- [feature] Added new `{ mergeFields: (string|FieldPath)[] }` option to `set()`
770 which allows merging of a reduced subset of fields.
771
772## 0.4.1
773
774- [fixed] Fixed a regression in Firebase JS release 4.13.0 regarding the
775 loading of proto files, causing Node.JS support to break.
776
777## 0.4.0
778
779- [feature] Added a new `Timestamp` class to represent timestamp fields,
780 currently supporting up to microsecond precision. It can be passed to API
781 methods anywhere a JS Date object is currently accepted. To make
782 `DocumentSnapshot`s read timestamp fields back as `Timestamp`s instead of
783 Dates, you can set the newly added flag `timestampsInSnapshots` in
784 `FirestoreSettings` to `true`. Note that the current behavior
785 (`DocumentSnapshot`s returning JS Date objects) will be removed in a future
786 release. `Timestamp` supports higher precision than JS Date.
787- [feature] Added ability to control whether DocumentReference.get() and
788 Query.get() should fetch from server only, (by passing { source: 'server' }),
789 cache only (by passing { source: 'cache' }), or attempt server and fall back
790 to the cache (which was the only option previously, and is now the default).
791
792## 0.3.7
793
794- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could
795 cause get() requests made while offline to be delayed by up to 10
796 seconds (rather than returning from cache immediately).
797
798# 0.3.6
799
800- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could
801 cause a crash if a user signs out while the client is offline, resulting in
802 an error of "Attempted to schedule multiple operations with timer id
803 listen_stream_connection_backoff".
804
805## 0.3.5
806
807- [changed] If the SDK's attempt to connect to the Cloud Firestore backend
808 neither succeeds nor fails within 10 seconds, the SDK will consider itself
809 "offline", causing get() calls to resolve with cached results, rather than
810 continuing to wait.
811- [fixed] Fixed a potential race condition after calling `enableNetwork()` that
812 could result in a "Mutation batchIDs must be acknowledged in order" assertion
813 crash.
814
815## 0.3.2
816
817- [fixed] Fixed a regression in Firebase JS release 4.9.0 that could in certain
818 cases result in an "OnlineState should not affect limbo documents." assertion
819 crash when the client loses its network connection.
820
821## 0.3.1
822
823- [changed] Snapshot listeners (with the `includeMetadataChanges` option
824 enabled) now receive an event with `snapshot.metadata.fromCache` set to
825 `true` if the SDK loses its connection to the backend. A new event with
826 `snapshot.metadata.fromCache` set to false will be raised once the
827 connection is restored and the query is in sync with the backend again.
828- [feature] Added `SnapshotOptions` API to control how DocumentSnapshots
829 return unresolved server timestamps.
830- [feature] Added `disableNetwork()` and `enableNetwork()` methods to
831 `Firestore` class, allowing for explicit network management.
832- [changed] For non-existing documents, `DocumentSnapshot.data()` now returns
833 `undefined` instead of throwing an exception. A new
834 `QueryDocumentSnapshot` class is introduced for Queries to reduce the number
835 of undefined-checks in your code.
836- [added] Added `isEqual` API to `GeoPoint`, `Blob`, `SnapshotMetadata`,
837 `DocumentSnapshot`, `QuerySnapshot`, `CollectionReference`, `FieldValue`
838 and `FieldPath`.
839- [changed] A "Could not reach Firestore backend." message will be
840 logged when the initial connection to the Firestore backend fails.
841- [changed] A "Using maximum backoff delay to prevent overloading the
842 backend." message will be logged when we get a resource-exhausted
843 error from the backend.
844
845## v0.2.1
846
847- [feature] Added Node.js support for Cloud Firestore (with the exception of
848 the offline persistence feature).
849- [changed] Webchannel requests use \$httpHeaders URL parameter rather than
850 normal HTTP headers to avoid an extra CORS preflight request when initiating
851 streams / RPCs.
852
853## v0.1.4
854
855- [changed] Network streams are automatically closed after 60 seconds of
856 idleness.
857- [changed] We no longer log 'RPC failed' messages for expected failures.
858
859## v0.1.2
860
861- [changed] We now support `FieldValue.delete()` sentinels in `set()` calls
862 with `{merge:true}`.
863- [fixed] Fixed validation of nested arrays to allow indirect nesting
864
865## v0.1.1
866
867- [fixed] Fixed an issue causing exceptions when trying to use
868 `firebase.firestore.FieldPath.documentId()` in an `orderBy()` or `where()`
869 clause in a query.
870
871## v0.1.0
872
873- Initial public release.
874
\No newline at end of file