Commit Graph
208 Commits
Author SHA1 Message Date
Andrew Heard afca2896b9 [Core] Add FIRGetLoggerLevel function (#12065) 2023-11-07 15:57:49 -05:00
Andrew Heard 79692e9c60 [visionOS] Fix FirebaseCore build and tests on Xcode 15.1 beta 1 (#11927) 2023-10-11 18:25:25 -04:00
Andrew Heard 0e183e007a [visionOS] Fix Sessions SDK build on Xcode 15 beta 6 (#11666)
In Xcode 15 beta 6, `#if os(iOS)` no longer evaluates to true when building for visionOS.

Note: `TARGET_OS_IOS` continues to be defined so Objective-C code is unchanged.
2023-08-09 14:02:59 -04:00
Nick Cooke d4beb349ad [Core] Fix API misnomer within FIRApp.m (#11648) 2023-08-04 15:24:17 -04:00
Nick Cooke 4084532975 [CoreInternal] Add regression test for fix in #11611 (#11613) 2023-07-26 12:38:47 -04:00
Benedek Kozma 2cdbbb7e18 Fix HeartbeatsPayload using incorrect year format (#11611) 2023-07-26 10:39:05 -04:00
Andrew Heard e7400722fa [visionOS] Replace TARGET_OS_XR with TARGET_OS_VISION (#11603)
In Xcode 15 beta 5, TARGET_OS_XR was replaced with TARGET_OS_VISION in ObjC and os(xrOS) was replaced with os(visionOS) in Swift.
2023-07-25 20:52:07 -04:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Nick Cooke cc3ed01f70 [Docs] s/workaround/work around/ in 10.12.0 release note (#11511) 2023-07-06 09:06:30 -07:00
Nick Cooke 857f6b7c47 [Docs] Add a release note w.r.t. Xcode 15 Beta 1 support (#11510) 2023-07-06 11:14:09 -04:00
Nick Cooke 96d7226cc0 [Release] Chandelog note about keychain access (#11496) 2023-06-29 18:06:03 -04:00
Andrew Heard 3ed321fbfc [App Check] Fix JSON key ordering in HeartbeatsPayload (#11482)
Key ordering from `JSONEncoder` is not guaranteed, resulting in test failures when output is compared directly.

Added the `sortedKeys` output formatting option in debug builds to fix non-deterministic test results while avoiding unnecessary sorting costs in release builds.
2023-06-27 11:43:14 -04:00
Paul Beusterien f7fcc7ddc0 Update Changelogs for 10.11.0 (#11409) 2023-06-06 14:40:24 -07:00
Nick Cooke 1e040186a6 [Infra] Remove HeartbeatLoggingTestUtils.podspec (#11370)
* [Infra] Remove HeartbeatLoggingTestUtils.podspec

* Review
2023-06-01 13:31:39 -04:00
Morgan Chen 3805752456 Add better warning for misspelled files (#11317)
* Add better warning for misspelled files

* style

* add changelog

* Update FIRApp.m
2023-05-23 14:15:46 -07:00
Nick Cooke ffc697be0e [Functions] Fix typo in HTTPSCallableOptions initializer (#11318) 2023-05-23 07:43:08 -07:00
Paul Beusterien 19ed78928f Require Xcode 14.1 for Firebase 10.10+ (#11192) 2023-04-27 08:14:49 -07:00
Nick Cooke 3bd6364152 [Release] Enable macCatalyst support for Firestore targets (#11121)
* [Release] Update Package.swift for 10.8.1 release

* Update changelog entry for 10.8.1 Package.swift
2023-04-13 13:15:24 -04:00
Andrew Heard 98e218b686 [SPM] Require Xcode 13.3+ (Swift 5.6) (#11046)
Increased swift-tools-version to 5.6 in Package.swift to declare that that the Swift 5.6 toolchain (included in Xcode 13.3) is the minimum version required to build the Firebase package.

Replaced uses of initializers / methods / enums that were deprecated in SPM 5.6.

Note: Xcode 13.3.1+ has been the minimum supported since Firebase 9.0 but this enforces Xcode 13.3+ in Package.swift. However, this does not enforce Xcode 13.3.1 specifically since the Swift toolchain version did not change between Xcode 13.3 and 13.3.1.
2023-04-04 16:54:44 -04:00
Paul Beusterien a446367de9 Address Xcode 14.3 build warnings and a few typos (#11063) 2023-04-03 10:24:35 -07:00
Nick Cooke 2617e60dd6 [FirebaseCore] Add comment to notify future-us about potential side effects of code change (#11041) 2023-03-29 18:03:34 -04:00
Paul Beusterien cec5be5045 Clean up mix of OCMock V2 and V3 syntax (#11032) 2023-03-28 13:53:11 -04:00
Nick Cooke 1f3befad87 [FirebaseCore] Use optional instead of error (#10906)
* [FirebaseCore] Use optional instead of error

* Revert debugging change

* Fix typo
2023-03-07 13:43:42 -05:00
Charlotte Liang fabe88f628 Remove unused methods in FIROptions (#10712) 2023-01-19 13:07:15 -08:00
Paul Beusterien 1fa2b4f31e Deprecate androidClientID and trackingID (#10520) 2022-12-15 09:52:24 -08:00
Paul Beusterien 7196035727 Firebase Options Documentation (#10510) 2022-11-22 15:35:18 -08:00
Paul Beusterien 09ae075003 Enable GTMSessionFetcher 3.x (#10467) 2022-11-08 09:53:52 -08:00
Andrew Heard dac715d89e Add changelog entry for bitcode removal in 10.1.0 (#10373)
Added an entry explaining the removal of bitcode in the Firebase 10.1.0 (M123) release. Based on #10340 from @paulb777.
2022-10-19 10:39:23 -04:00
Paul Beusterien 5fc7749555 Discontinue bitcode inclusion (#9962) 2022-10-11 10:09:49 -07:00
Sam Edson 07768839d9 [Sessions] Update Sessions User Agent for Optimization (#10335) 2022-10-10 15:50:05 -04:00
Sam Edson e04cb62ebb Initial commit of Firebase Sessions SDK (#10285) 2022-10-03 15:41:12 -04:00
Nick Cooke 71972ab0e8 [Firebase 10] Revamp FIRLogger for Swift use (#10286)
* [Firebase 10] Revamp FIRLogger for Swift use

* Fix test impl and only run firebasepod.yml

* re-enable actions

* Implement logger

* Global TAP

* Revert .pbxproj

* Call directly to GULs

* Review

* Undo API breaks

* [skip ci] Avoid NS_SWIFT_NAME due to macro collisions
This fixes the warning that broke the Auth x watchOS job.

* [skip ci] Revert Gemfile
2022-09-28 22:13:47 -04:00
8866b22f89 Firestore: Make @DocumentID value setter private (#10167)
* Firestore: Make @DocumentID value setter private

Updated the `DocumentID` Swift property wrapper's `value` property to be private(set) since it is ignored in the methods that write to Firestore.

* Make initializer private

* Fix formatting

* Fix tests

Made the setter internally accessible and imported FirebaseFirestoreSwift with @testable.

* Add a changelog entry and formatting fixes

* Documentation fixes

* [skip ci] Add runtime warnings to `@DocumentID` setter and initializer (#10275)

* [Firestore] Mark `@DocumentID` setter deprecated and add log statement in init

* Fix typo in import

* Update CHANGELOG

* Review and remove deprecation

* Review and add FIRLogWarningSwift

* Add FirebaseCorExtension to Firestore's Podfile

* [skip ci] Fix merged comment

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2022-09-28 01:42:30 -04:00
Nick Cooke f233d5b6a5 [Cleanup] Follow-up to #10259 (#10262)
* [Cleanup] Follow-up to 10259

* [skip ci] Resolve TODO

In an effort to resolve this TODO, I marked the protocol as @optional to clean
up some of the duplicate test code. While it cleaned up the test code, it did
clutter up the actual usage of the API so I decided against doing so.
2022-09-26 19:04:16 -04:00
Nick Cooke 43c62f0526 [Infra] Remove CoreDiagnostics library and references (#10259)
* [Infra] Remove CoreDiagnostics library and references

* Style localize_podfile.swift

* Add GDT to SharedTestUtils

* Update GoogleUtilities.cmake config

* Run all CI

* Update GoogleUtilities.cmake config (2)

* Resolve FIRApp.m TODO

* [skip ci] Revert Gemfile
2022-09-26 00:03:55 -04:00
af1201c8a3 [Firebase 10] Bump versions for 10.0.0 (#10244)
* [Firebase 10] Bump 9.X versions to 10.0.0

* Bump min. GTMSessionFetcher dep version to 2.1

* Bump min. GDT dep version to 9.2

* Bump min. GULs dep version to 7.8

* Fix unintentional nanopb replace

* Fix unintentional nanopb replace (2)

* Fix unintentional nanopb replace (3)

* Fix unintentional nanopb replace (4)

* Fix unintentional nanopb replace (4)

* Trigger all CI

* Bump FirebaseCombineSwift to 10

* Fix FirebaseStorage.podspec
I'm not sure what happened here. I had committed it during the rebase but guess not?

* Fix unintentional nanopb replace (5)

* Disable two tests to unblock staging

* Fix and re-enable FIROptions tests

* Update deployment targets in Firebase.podspec

* Add CHANGELOG entry for GTMSessionFetcher

* Fix AppCheck iOS availability

* Fix inadvertent API change (#10245)

* Docs update for Extensions and putFile (#10248)

* App google domain support (#10249)

Adding new 1p domain "app.google" support in FDL SDK.

* Remote Config Dynamic Property Wrapper (#10155)

* Separate GoogleUtilities Carthage build (#10250)

* Public count (#10246)

* Public Count

* Swift Test Commit

* Swift Format

* No extra whitespace

* Hopefully formatted.

* Change log and feedback.

* Revert "Public count (#10246)" (#10252)

This reverts commit 8aae6bee27.

* Make Firestore use FirebaseDataEncoder and FirebaseDataDecoder (re-implementation of #8858) (#9465)

* Bump tvOS minimum support version to 12.0

* [skip ci] Revert Gemfile

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Eldhose M Babu <eldhosembabu@google.com>
Co-authored-by: Charlotte Liang <chliang@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
2022-09-24 07:06:20 -04:00
Paul Beusterien 67ed968e66 StorageAuthorizer to Swift (#10117) 2022-09-21 16:32:13 -07:00
Nick Cooke 6e0fda7a24 [Firebase 10] Update minimum supported versions across Firebase (#10233)
* Bump Package.swift minimum support versions

* Update iOS minimum versions

* Bump Crashlytics to min. support iOS 11

* Bump macOS support from 10.12 to 10.13

* Bump tvOS support from 10 to 11

* Add CHANGELOG entry

* Improve CHANGELOG entry

* Fix CI

* Improve CHANGELOG entry (2)

* Improve CHANGELOG entry (3)

* Update FirePerf test app deployment target

* Update Mac test apps's deployment target

* Update iOS test apps's deployment target

* Update release tooling project's iOS deployment target

* Misc platform min support bumps

* Update FBSDK API usage to FBSDK 13.0+

* Fix Auth dep on FBSDK
2022-09-21 16:48:11 -04:00
Nick Cooke cc3384c9d5 [v9.6.0] Update CHANGELOGs for macOS keychain fix (#10181)
* [v9.6.0] Update CHANGELOGs for macOS keychain fix

* Review [skip ci]
2022-09-07 10:30:40 -04:00
Nick Cooke f2e44defd3 [CoreInternal] Add explicit generics typing for Array.Index usage (2) (#10176) 2022-09-06 17:06:25 -07:00
Nick Cooke 398a87169d [Core] Support watchOS lifecycle notifications (#10112)
* [Core] Support watchOS lifecycle notifications

* Rework for so version is checked in runtime
2022-08-30 13:25:22 -04:00
Paul Beusterien e09c378dbc Reenable any GTMSessionFetcher 2.x dependency (#10131) 2022-08-23 12:57:55 -07:00
Paul Beusterien 35a7b078f1 Limit dependency GTMSessionFetcher version update to < 2.1.0 to avoid a new deprecation warning (#10123) 2022-08-22 11:25:14 -07:00
Paul Beusterien 879d0b4733 Fix module name for Promises and Protobuf (#10073) 2022-08-09 08:07:42 -07:00
Charlotte Liang ef9dcd4da9 update release note for 9.4.1 (#10084) 2022-08-09 07:07:07 -07:00
Nick Cooke cc44ad52a5 [Core] Exclude lifecycle-dependent tests from watchOS (#10085) 2022-08-08 20:08:25 -04:00
Nick Cooke 7ea72745e8 [CoreInternal] Add explicit generics typing for Array.Index usage (#10075) 2022-08-05 13:25:38 -07:00
Nick Cooke 134b269394 [Infra] Move Firebase user agent tests to sepearate file (#10070)
* [Infra] Move Firebase user agent tests to sepearate file

* Add the LLC
2022-08-04 15:40:02 -04:00
Nick Cooke aaeb5f43fc [FirebaseCoreInternal] Guard against invalid indexing into RingBuffer type (#10032)
* [FirebaseCoreInternal] Refactor RingBuffer indexing code

* Add unit tests for pop API

* Some more refactoring

* Add bandaid for improper bounds

* Review

* Review 2

* Prevent duplicate dailies

* CHANGELOG

* Use guard statement instead

* Collect more info
2022-07-22 14:29:11 -04:00
Paul Beusterien 2264982f76 Remove GoogleSignInSwift from binary distros (#9948) 2022-06-25 06:36:03 -07:00