Commit Graph
850 Commits
Author SHA1 Message Date
Nick Cooke ec8ca54b3e [Infra] Use full paths when importing public Core header (#13288) 2024-07-16 14:04:48 -04:00
cherylEnkidu 3de44b7ab7 Move Timestamp class from Firestore to Firebase Core (#13221) 2024-07-12 16:19:35 -04:00
Nick Cooke cf1b9419ea [Firestore] Remove FirestoreSwift (#13085) 2024-06-06 17:16:04 -04:00
Paul Beusterien 7d7cbad7bd [v11] Update minimum platform versions for 11.0.0 (#13066) 2024-06-05 07:39:36 -07:00
Mila 3cc143b8e7 Move MIEQ to composite index tests (#12416) 2024-03-29 10:19:39 -04:00
wu-hui ab606e002e Upgrade cmake build to grpc 162 (#12417) 2024-03-21 13:29:06 -04:00
Mila 07b7669175 Snapshot listener source from cache (#12370) 2024-03-11 14:53:11 -04:00
Nick Cooke 641e6f8f55 [NFC] Fix typos: XCode -> Xcode (#12294) 2024-01-17 18:08:15 +00:00
Denver Coneybeare a8264f08ca Firestore: Add test that verifies aggregate query error message when missing index (#12189) 2023-12-15 10:42:48 -05:00
Denver Coneybeare 5fba1e7738 Firestore: Increase clock skew tolerance in FIRServerTimestampTests.mm (#12190) 2023-12-13 01:05:14 +00:00
wu-hui 8ed02e9418 Add new firestore-nightly workflow (#12180) 2023-12-08 07:27:30 -05:00
Mila e8cd98f135 Fix docs unnecessarily undergo limbo resolution while resuming query bug (#12044) 2023-11-22 09:57:07 -05:00
Mila 8881200e68 Move sum&avg composite index tests to FIRCompositeIndexQueryTests.mm (#11985) 2023-10-25 15:26:15 -04:00
Mila 8d66bdcfed Add MIEQ negative test cases (#11934) 2023-10-23 12:08:06 -04:00
Nick Cooke 4b26b31c1f [Firestore] Follow-up review items from #11954 (#11970) 2023-10-20 18:54:19 +00:00
Mila 33cf8158c7 Testing composite index queries against production (#11865) 2023-10-20 10:15:30 -04:00
Nick Cooke 992dd55adc [Firestore] Consolidate Firestore and FirestoreSwift (Post-Rollback) (#11954) 2023-10-19 19:52:20 -04:00
Mark Duckworth 54d4d703b6 sum avg (#11650) 2023-10-16 21:10:30 -06:00
Andrew HeardandNick Cooke f3a14c249e Add FirebaseAppCheckInterop umbrella header (#11860)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2023-10-11 18:39:18 -04:00
Ehsan 84c8bd0e0e Clean up and update OR query tests. (#11826) 2023-10-02 10:29:18 -07:00
Mila f3c7db7845 Multiple inequality support (#11626) 2023-09-13 17:10:35 -04:00
Mila afbfb2718a thread safe memoization (#11781) 2023-09-13 12:24:45 -04:00
Mila a08f405428 Add test cases for existence filter with updated, removed, added documents (#11782) 2023-09-08 11:40:30 -04:00
Denver Coneybeare 0e3f78bf35 Firestore: FIRQueryTests.mm: Add test testBloomFilterShouldCorrectlyEncodeComplexUnicodeCharacters (#11679) 2023-09-07 16:05:50 -04:00
cherylEnkiduandNick Cooke 065a5bbc74 Public Auto Persistent Index Creation API (#11757)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2023-09-05 17:49:43 -04:00
cherylEnkidu c39ef8172b Add option to allow SDK create cache indexes automatically to improve query execution locally (#11596) 2023-08-29 11:26:19 -04:00
Denver Coneybeare 7a59c55eba Firestore: FIRQueryTests.mm: Replace SortedStringsNotIn() custom function (#11649) 2023-08-15 10:44:14 -04:00
Denver Coneybeare a4ee260014 Firestore: Convert testing_hooks_util.h/cc from C++ to Objective-C in FSTTestingHooks.h/mm (#11639) 2023-08-03 17:00:59 -04:00
wu-hui 54f1b1b33c Setup integration tests against named db (#11638)
* Make tests work against named db

* setup jobs
2023-08-02 13:14:26 -04:00
Denver Coneybeare 78b2feaeb7 Firestore: FIRQueryTests.mm: Use a different Firestore instance to delete documents (#11615) 2023-08-01 12:30:04 -04:00
Denver Coneybeare 013d86980f Firestore: Disable bloom filter integration tests when using Firestore emulator (#11555) 2023-07-18 09:50:32 -04:00
Mila 3f5972f920 Firestore: Optimize local cache sync when resuming a query that had docs deleted (#11457) 2023-06-20 12:10:39 -04:00
Tom Andersen f2194c8a3c Allow initializing FIRLocalCacheSettings with unlimited size. (#11405)
* Allow initializing FIRLocalCacheSettings with unlimited size.

* Add changelog.

* Add test

* Fix bug

* Add import

* Add import

* Exercise db with CacheSizeUnlimited

* Fix
2023-06-07 19:53:52 -04:00
wu-hui 8066d190fc Suppress warning from boringssl (#11281)
* Suppress warning from boringssl

* Try out target exclusion

* Skip a failed tsan test

* Add todo
2023-05-18 19:32:56 -04:00
Mark Duckworth 52ebbbf19d Sum and average (#11108)
This is implementation but not public release of sum and average. The sum/avg API is not made public. There are no API changes in this PR.
2023-05-12 13:56:16 -06:00
Denver Coneybeare cead23010b Sync spec tests with changes from https://github.com/firebase/firebase-js-sdk/pull/7285 (#11245) 2023-05-08 18:10:21 -04:00
Tom Andersen f669bcf947 Add equality operator on aggregate query. (#11200)
* Add equality operator on aggregate query.

* Revert file not to have been included in previous commit.

* Add AggregateQuery tests

* Pretty

* Copyright

* Undo

* Improve aggregate query tests.

* Pretty

* Add test to Xcode
2023-05-08 11:43:04 -04:00
Denver Coneybeare a00925f7eb FIRQueryTests.mm: improve the test that resumes a query with existence filter to actually validate the existence filter (#11209) 2023-05-05 14:58:26 -04:00
Denver Coneybeare 0c58855437 Firestore: FIRQueryTests.mm: add a test that resumes a query with existence filter (#10974) 2023-05-02 11:32:33 -04:00
Tom Andersen bb89505e46 Add TARGET_BACKEND environment variable. #no-changelog (#11182)
* Add TARGET_BACKEND environment variable.

* Add TARGET_BACKEND environment variable.
2023-04-27 16:21:15 -04:00
Denver Coneybeare a50209c3ac Firestore Spec Tests: Port JS PR 7257 (use strings for targetPurpose) (#11191) 2023-04-26 14:54:14 -04:00
Denver Coneybeare 36ac6fe33d Firestore Spec Tests: Port JS PR 7229 (optimized query resumption using bloom filter) (#11185) 2023-04-26 14:30:04 -04:00
Denver Coneybeare 82f253406e Firestore Spec Tests: Port JS PR 7021 (bundle the readTime and resumeToken) (#11183) 2023-04-26 14:22:48 -04:00
wu-hui 15a38d32c8 Lru Memory GC (#10905)
Adds LRU gc for memory cache.
2023-04-18 13:00:05 -04:00
wu-hui 7c8becdbba New Cache Config API (#11057) 2023-04-13 20:52:14 -04:00
Mila 3d077ea661 Validate QueryPurpose in spec test (#10954) 2023-03-16 15:00:41 -07:00
cherylEnkidu b2383a9d3c Reorganize OR query test (#10902)
* Reorganize OR query test

* Address comments

* Change message
2023-03-14 22:48:51 -04:00
cherylEnkiduandEhsan Nasiri c0e6ac1cf2 Add Public API for Or Query (#10352)
* Add Public API for Or Query

* Add Or query swift tests

* Add Swift tests for IN

* Adding back FIRFirestore+Internal as include file

* Add Documentation

* Address feedback

* Update the changelog.

---------

Co-authored-by: Ehsan Nasiri <ehsann@google.com>
2023-03-06 09:43:06 -08:00
cherylEnkidu 6d9f33435a Remove some query restrictions and add integration tests (#10449)
* Adding test

* Remove more restrictions
2023-02-17 11:18:34 -05:00
cherylEnkidu 10295bad6b Fix double free bug inside IN Filter (#10535) 2022-11-30 12:52:59 -08:00