Commit Graph
87 Commits
Author SHA1 Message Date
Takumi Muraishi ffedaed448 Fix typos (#12783) 2024-04-13 13:34:36 -07:00
Nick Cooke 46b7c0d27f [Release] Update changelogs for user defaults migration PRs (#12774) 2024-04-12 14:41:12 -04:00
Nick Cooke 09782225e9 [Database] Migrate to GoogleUtilities's storage container (#12753) 2024-04-11 18:03:27 -04:00
Andrew Heard 5797426f04 Upgrade clang-format to v18 (#12483) 2024-03-06 20:44:20 -05:00
Nick Cooke 7e21d23987 [NFC] Fix typos occured → occurred (#12267) 2024-01-12 06:59:06 -08:00
Andrew Heard 7db032cbfb Update async/await availability comments to "iOS 13+" (#12261) 2024-01-10 14:38:36 -05:00
Paul Beusterien 0fe8385fe6 Remove unnecessary compiler checks for Concurrency support (#12232) 2024-01-03 07:04:02 -08:00
Paul Beusterien 393d768eb4 Update CI to Xcode 15.1 (#12216) 2023-12-27 07:39:47 -08:00
Nick Cooke 4b26b31c1f [Firestore] Follow-up review items from #11954 (#11970) 2023-10-20 18:54:19 +00:00
Nick Cooke 85cfe574bb [Release] Update CHANGELOGs for 10.17.0 (#11963) 2023-10-18 14:26:29 -04:00
Andrew Heard 760d449145 [visionOS] Fix FirebaseDatabase build on Xcode 15.1 beta 1 (#11937) 2023-10-13 16:33:34 -04:00
Nick Cooke 2ee43e0b75 [Database] Consolidate Database and DatabaseSwift (#11807) 2023-10-13 14:53:03 -04: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
Paul Beusterien 455de9c017 More fixes for AppCheckInterop (#11813) 2023-09-15 11:35:51 -07:00
Andrew Heard 0bf46a3bca [Database] Replace deprecated NSKeyedUnarchiver method in FLevelDBStorageEngine (#11479)
Replaced use of the deprecated `unarchiveObjectWithData:` method with `unarchivedObjectOfClasses:fromData:error:`, available in iOS 11+ (above our minimum deployment target).
2023-06-26 13:57:47 -04:00
Andrew Heard 9460b8226e [Database] Remove outdated FLevelDBStorageEngineTests test (#11478)
The test `testExtremeDoublesAsServerCache` only applies to iOS < 11. Removed the test since our minimum deployment target is already iOS 11. This also resolves the test failure on visionOS.
2023-06-26 11:59:50 -04:00
Nick Cooke ffc697be0e [Functions] Fix typo in HTTPSCallableOptions initializer (#11318) 2023-05-23 07:43:08 -07:00
Nick Cooke 867697b8f3 [Infra] Upgrade to clang-format16 (#10973) 2023-03-20 12:47:43 -04:00
Nick Cooke 96d07fe973 [Infra] Favor SWIFTPM_MODULE_BUNDLE macro over C function across repo (#10625)
* [Infra] Favor SWIFTPM_MODULE_BUNDLE in RC unit tests

* Favor across repo
2022-12-29 18:23:29 -05:00
Paul Beusterien 8bbb85e9fb Fixed unused warnings building in release config (#10313) 2022-10-06 15:24:44 -07:00
Morgan Chen 7ad23807e5 add deprecation for watchOS (#10274)
* add deprecation for watchOS

* fix style script mangling link and run style

* rephrase deprecation message

* Add changelog
2022-09-27 16:00:50 -07:00
Iulian Onofrei 06fdcf02dc Database: Fix misleading documentation in childByAutoId (#10217) 2022-09-19 08:49:37 -07:00
Paul Beusterien 737700d885 Fix priority inversion issue exposed by Xcode 14 (#10144) 2022-08-26 11:04:43 -07:00
Paul Beusterien 3862a56dd3 Fix RTDB race condition (#9973) 2022-07-01 14:38:51 -07:00
Nick Cooke ced8b554a0 [Infra] Standardize CHANGELOG header format (#9777) 2022-05-10 17:54:58 -04:00
Paul Beusterien aefb2a469b Make RTDB integration tests runnable on a real target (#9688) 2022-04-22 14:27:20 -07:00
Jan WyszynskiandRyan Wilson 8a9e385eb4 Make getDataWithCompletionBlock snapshot nullable (#9655)
* Make getDataWithCompletionBlock snapshot nullable

* fix DatabaseAPITests

* update changelog

* fix changelog

* breaking change

* Capitalize Swift

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2022-04-19 20:27:31 -04:00
Paul Beusterien 3ef42c1ac4 Address v9, resolved, and obsolete TODO's (#9659) 2022-04-15 08:14:44 -07:00
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Ryan Wilson 73279db127 Enable async/await APIs for iOS 13, etc. (#9540)
* Enable async/await APIs for iOS 13, etc.

This bumps the required compiler version to 5.5.2 which was included in
Xcode 13.2, where backporting was first introduced.

This breaks less developers and enables developers who aren't using
these APIs to still compile using Xcode 13.0 and 13.1.

As far as I can tell, the only breakage this includes now is developers
who are using Xcode 13.0 or 13.1, targeting iOS 15 and using one of
these 7 APIs. It will result in a compiler error and they'll have to
either use the completion handler version or upgrade to Xcode 13.2+ to
fix the compilation error.

* Missed checks, CHANGELOG

* Fixed avialability, added watchOS for RTDB

* Moved to watchOS 7 for all async/await APIs to match platform support
2022-04-01 09:56:33 -04:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien a1cb5656fc Auth and Messaging Interop for Swift (#9314) 2022-03-23 06:08:13 -07:00
Paul Beusterien e748d16594 AppCheckInterop for Swift dependents (#9299) 2022-03-23 06:07:17 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Paul Beusterien 1b34c4c90b Remove unused 3P source from RTDB tests (#9217) 2022-01-18 12:19:19 -08:00
Paul Beusterien c7456c9f6f Release note for FNextPushId fix (#9192) 2022-01-10 16:32:12 -08:00
Morten Bek Ditlevsen f9b583963e Attempt at fixing issue with getting next and previous push id (#8817) 2022-01-10 16:16:52 -08:00
Paul Beusterien 00625a6d1a Fix RTDB crash from race (#9123) 2021-12-22 08:58:36 -08:00
Paul Beusterien f318406ed1 Fix CocoaPods license files for RTDB and Firestore (#9124) 2021-12-22 08:58:13 -08:00
Nick Cooke d6e7bb7d38 Update async-related directives in Swift build tests (#9063)
* Update directives in Swift build tests

* Fix CoreAPITests

* Fix CoreAPITests 2

* Fix installations and style
2021-12-09 14:30:43 -05:00
Paul Beusterien e33695557a Fix URL handling bug when path is a substring of host (#8880) 2021-11-01 09:55:14 -07:00
Paul Beusterien 62827f36b2 Fix DatabaseUnitSwift Xcode 13.0.0 build (#8837) 2021-10-20 15:18:41 -07:00
Paul Beusterien 33692eb578 Fix Remote Config Integration CI (#8774) 2021-10-11 07:38:51 -07:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Maksym Malyhin 4d518509ed Database: fix App Check token refresh (#8549)
* Database: fix App Check token refresh

* Changelog
2021-08-24 11:52:51 -04:00
Marina 97197178bd Fix getData crashing in offline (#8484)
Fixes #8357 

The issue was that `node` property of `FCacheNode` pokes one level deeper: (FCacheNode.m:66)

```
- (id<FNode>)node {
    return self.indexedNode.node;
}
```
2021-08-09 20:53:09 -07:00
Nick Cooke 540b7e8a9a Get Database Swift API Test building on Xcode13b4 (#8466)
* Test builds for Xcode13b4

* Fix comment mistake
2021-07-30 13:07:22 -04:00
Jesus Crespo 7633a59a18 Database API build tests (#8396)
* Add tests for Database and DatabaseQuery

* Add tests for DatabaseReference

* Add tests for DataEventType

* Add tests for DataSnapshot

* Add tests for MutableData

* Add tests for ServerValue

* Add tests for TransactionResult

* Fix CI for CocoaPods

* Fix CI for SPM and style

* Improve readability

* Fix CI for tvOS

* Refactor type checking

* Fix comments

Add unsurfaced parameter names and shorten async lines

* Fix switch conditional evaluates to a constant

* Fix type checking

* Shorten switch statement

* Add to SPM tests
2021-07-22 16:50:30 -05:00