Skip to content

Commit 3fd2391

Browse files
authored
Reference updated Carthage docs and backport CHANGELOG (#2291)
* Carthage cert change * Backport CHANGELOG updates from cl/230001317
1 parent fee9614 commit 3fd2391

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

Firestore/CHANGELOG.md

+17-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
# Unreleased
22

33
# v1.0.0
4-
- [changed] The `areTimestampsInSnapshotsEnabled` setting is now enabled by
5-
default so timestamp fields read from a FIRDocumentSnapshot will be returned
6-
as FIRTimestamp objects instead of NSDate. Any code expecting to receive an
7-
NSDate object must be updated.
8-
- [changed] `Transaction.getDocument()` has been changed to return a non-nil
9-
`DocumentSnapshot` with `exists` equal to `false` if the document does not
10-
exist (instead of returning a nil DocumentSnapshot). Code that was previously
11-
doing `if (snapshot) { ... }` must be changed to
12-
`if (snapshot.exists) { ... }`.
4+
- [changed] **Breaking change:** The `areTimestampsInSnapshotsEnabled` setting
5+
is now enabled by default. Timestamp fields that read from a
6+
`FIRDocumentSnapshot` will be returned as `FIRTimestamp` objects instead of
7+
`NSDate` objects. Update any code that expects to recive a `NSDate` object.
8+
See [the reference
9+
documentation](https://firebase.google.com/docs/reference/ios/firebasefirestore/api/reference/Classes/FIRFirestoreSettings#/c:objc(cs)FIRFirestoreSettings(py)timestampsInSnapshotsEnabled)
10+
for more details.
11+
- [changed] **Breaking change:** `FIRTransaction.getDocument()` has been changed
12+
to return a non-nil `FIRDocumentSnapshot` with `exists` equal to `false` if
13+
the document does not exist (instead of returning a nil
14+
`FIRDocumentSnapshot`). Code that includes `if (snapshot) { ... }` must be
15+
changed to `if (snapshot.exists) { ... }`.
1316
- [fixed] Fixed a crash that could happen when the app is shut down after
1417
a write has been sent to the server but before it has been received on
1518
a listener (#2237).
19+
- [changed] Firestore no longer bundles a copy of the gRPC certificates, now
20+
that the gRPC-C++ CocoaPod includes them. CocoaPods users should be updated
21+
automatically. Carthage users should follow the [updated
22+
instructions](https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md)
23+
to get `gRPCCertificates.bundle` from the correct location.
1624

1725
# v0.16.1
1826
- [fixed] Offline persistence now properly records schema downgrades. This is a

0 commit comments

Comments
 (0)