aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-04-16 13:50:11 -0700
committerGravatar GitHub <noreply@github.com>2018-04-16 13:50:11 -0700
commita25d05487435d397f3b8cd399ee8355eae497f0d (patch)
tree323b23f9ad4849093f2dbb53c8ebece59f0bd870 /Firestore/CHANGELOG.md
parent0ac71f294ffedc8c6a3fb93e18253ee25624ec00 (diff)
Replace the `SnapshotOptions` object with the behavior enum. (#1109)
Instead of calling `get(field, SnapshotOptions.serverTimestampBehavior(.estimate))` call `get(field, serverTimestampBehavior: .estimate)`
Diffstat (limited to 'Firestore/CHANGELOG.md')
-rw-r--r--Firestore/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/Firestore/CHANGELOG.md b/Firestore/CHANGELOG.md
index 4761a62..e17cf56 100644
--- a/Firestore/CHANGELOG.md
+++ b/Firestore/CHANGELOG.md
@@ -16,6 +16,10 @@
- [changed] Replaced the `SetOptions` object with a simple boolean. Instead of
calling `setData(["a": "b"], options: SetOptions.merge())` call
`setData(["a": "b"], merge: true)`.
+- [changed] Replaced the `SnapshotOptions` object with direct use of the
+ `FIRServerTimestampBehavior` on `DocumentSnapshot`. Instead of calling
+ `data(SnapshotOptions.serverTimestampBehavior(.estimate))` call
+ `data(serverTimestampBehavior: .estimate)`. Changed `get` similarly.
# v0.11.0
- [fixed] Fixed a regression in the Firebase iOS SDK release 4.11.0 that could