aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public
Commit message (Collapse)AuthorAge
* Expose array transforms and array contains queries. (#1514)Gravatar Michael Lehenbauer2018-07-10
| | | | | Also remove test code that was combining multiple array contains queries since those were disallowed in https://github.com/firebase/firebase-ios-sdk/commit/0ec836f9ca71b27fa54a11ae9e07e60b8c5cc002
* fix lint to run copybara (#1290)Gravatar zxu2018-05-17
| | | | | | * fix lint to run copybara * address changes
* Adding mergeFields support (#1141)Gravatar Sebastian Schmidt2018-05-02
|
* Move array transforms to internal header pending backend support. (#1139)Gravatar Michael Lehenbauer2018-04-20
|
* Add GetOptions for controlling offline get behaviour (#655)Gravatar rsgowman2018-04-18
| | | | Add option to allow the user to control where DocumentReference.getDocument() and CollectionReference.getDocuments() fetches from. By default, it fetches from the server (if possible) and falls back to the local cache. It's now possible to alternatively fetch from the local cache only, or to fetch from the server only (though in the server only case, latency compensation is still enabled).
* Replace the `SnapshotOptions` object with the behavior enum. (#1109)Gravatar Gil2018-04-16
| | | | | | | | | Instead of calling `get(field, SnapshotOptions.serverTimestampBehavior(.estimate))` call `get(field, serverTimestampBehavior: .estimate)`
* Replace `QueryListenOptions` with simple booleans (#1106)Gravatar Gil2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | * Replace `QueryListenOptions` with simple booleans Instead of calling addSnapshotListener( options:QueryListenOptions.includeQueryMetadataChanges() .includeDocumentMetadataChanges()) call addSnapshotListener(includeMetadataChanges:true) Also change `QuerySnapshot.documentChanges()` into a method which optionally takes `includeMetadataChanges:true`. By default even when listening to a query with `inlcudeMetadataChanges:true` metadata-only document changes are suppressed because they're confusing. * Revert QuerySnapshot.documentChanges back to a property Add usage.
* Replace the `SetOptions` object with a simple boolean. (#1098)Gravatar Gil2018-04-15
| | | | | | | | | Instead of calling `setData(["a": "b"], options: SetOptions.merge())` call `setData(["a": "b"], merge: true)`
* Replace `DocumentListenOptions` with a simple boolean. (#1099)Gravatar Gil2018-04-14
| | | | | | | | | | | | | | * Replace `DocumentListenOptions` with a simple boolean. Instead of calling `addSnapshotListener(options: DocumentListenOptions.includeMetadataChanges(true))` call `addSnapshotListener(includeMetadataChanges:true)` * Style
* Array Transforms public API and parsingGravatar Michael Lehenbauer2018-04-13
| | | | | This includes the new FIRFieldValue sentinels, the FSTUserDataConverter code to parse them into internal ArrayTransform operations for use in an FSTTransformMutation, and some sanity testing in FSTMutationTests. I still need to implement FSTTransformMutation support for local application and serialization (and then integration tests).
* Add a flag to control whether DocumentSnapshots return Dates or Timestamps ↵Gravatar Konstantin Varlamov2018-03-30
| | | | | | | | for timestamp fields (#831) * add a new property `timestampsInSnapshotsEnabled` to `FirestoreSettings`, `false` by default; * add a verbose warning message urging users to opt into the new behavior; * set `timestampsInSnapshotsEnabled` to true in the integration tests to reduce the verbose console spam during the test run and make sure the flag won't break anything once it's flipped.
* Make FSTTimestamp into a public Firestore class (#698)Gravatar Konstantin Varlamov2018-02-20
| | | | - FSTTimestamp is now FIRTimestamp, under Firestore/Source/{Public,API}. This is a temporary solution; eventually, FIRTimestamp is supposed to live somewhere under Firebase; - move most internal Timestamp methods to the public header (the only exception is ISOString).
* Update deprecation message for Firestore. (#758)Gravatar Ryan Wilson2018-02-08
| | | | | | * Update FIRFirestore.h * Provide full command to enable debugging.
* Expose network management (#566)Gravatar Greg Soltis2017-12-18
| | | | | | | | | | | | | | | | | | * Expose network management in public API * Clean up a few more references to the internal access of network management * Move test * Update comments * Swap _Nullable for nullable * Fix comment * Add tests, including swift * Styling
* Adding Swift build testGravatar Sebastian Schmidt2017-12-14
|
* Adding missing SnapshotOptions methodGravatar Sebastian Schmidt2017-12-13
|
* Adding missing word in commentGravatar Sebastian Schmidt2017-12-12
|
* Using 100 as line length for commentsGravatar Sebastian Schmidt2017-12-12
|
* MergeGravatar Sebastian Schmidt2017-12-12
|\
| * Merge branch 'firestore-api-changes' into mrschmidt-timestampsGravatar Sebastian Schmidt2017-12-12
| |\
* | | Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | |
| * | Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | |
| | * Revisit commit method in FIRWriteBatch (#541)Gravatar zxu2017-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * revisit FIRWriteBatch commit * make commitWithCompletion completion nullable; * add commit; * add unit test; * add swift build test for commit; * update CHANGELOG.
* | | Comment fixGravatar Sebastian Schmidt2017-12-10
| | |
* | | Clang formatGravatar Sebastian Schmidt2017-12-10
| | |
* | | Making DocumentSnapshot nullableGravatar Sebastian Schmidt2017-12-10
| |/ |/|
| * Adding default optionGravatar Sebastian Schmidt2017-12-08
| |
* | make FIRDocumentListenOptions.includeMetadataChanges private (#540)Gravatar zxu2017-12-08
| | | | | | | | | | | | | | | | * make FIRDocumentListenOptions.includeMetadataChanges private as discussed in Firestore API discussion, the name clashes creates confusion. Android SDK already not exposing the property; here change iOS SDK to match it. * update CHANGELOG
| * Addressing all review commentsGravatar Sebastian Schmidt2017-12-07
| |
* | Merge pull request #542 from firebase/masterGravatar Gil2017-12-07
|\ \ | | | | | | sync firestore-api-changes with master
* | | Implement NSPredicate-based query (#531)Gravatar zxu2017-12-07
| | | | | | | | | | | | | | | | | | * implement queryFilteredUsingPredicate in FIRQuery; * add unit test and integration test for queryFilteredUsingPredicate; * project change of adding the FIRQueryTests.m file; * refactoring queryFilteredUsingPredicate to split logic into two helpers;
| * | Add FirebaseFirestore.h to fix Firebase module in source build (#539)Gravatar Paul Beusterien2017-12-07
|/ /
| * Adding SnapshotOptions to deal with pending ServerTimestampsGravatar Sebastian Schmidt2017-12-05
|/
* add completion execution guarantees to firestore write ops (#481)Gravatar Morgan Chen2017-11-30
|
* FIRAppInternal.h is a published private header (#501)Gravatar Paul Beusterien2017-11-28
|
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)Gravatar Ryan Wilson2017-11-28
| | | | | | | | | | * Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was limited before that version (which is why the macro was introduced in the first place). * Fixed FIRMessaging header
* Adding NS_SWIFT_NAME for FIRListenerRegistration (#339)Gravatar Sebastian Schmidt2017-10-06
|
* Add an NS_SWIFT_NAME for FIRSnapshotMetadata (#334)Gravatar Gil2017-10-04
| | | | | Fixes b/67332554 Note that this is a breaking change for Swift users of the API.
* Release 4.3.0 (#327)Gravatar Gil2017-10-03
Initial release of Firestore at 0.8.0 Bump FirebaseCommunity to 0.1.3