Commit Graph
156 Commits
Author SHA1 Message Date
Ryan Wilson 0bdc148728 Fix typos in CHANGELOG [skip-ci] (#9758) 2022-05-03 18:23:07 -04:00
Ryan Wilson 84de6acda6 Categorize changes based on distribution mechanism (#9749)
* Categorize changes based on distribution mechanism

[skip ci]

* Added instructions to migrate away from beta libs

* Mentions of Functions and Storage changes
2022-05-03 09:22:30 -04:00
Nick Cooke 0fe05a8cda [skip ci] Correct Swift API in FIROptions.h doc (#9733) 2022-05-01 11:33:20 -04:00
Nick Cooke 502780e497 [FirebaseCoreInternal] Sanitize app ID used in file system resource (#9683)
* Sanitize file name and resolve TODOs

* Add integration test
2022-04-21 17:28:28 -04:00
Paul Beusterien 3ef42c1ac4 Address v9, resolved, and obsolete TODO's (#9659) 2022-04-15 08:14:44 -07:00
Paul Beusterien 1793deb8b7 Update C++/Obj C++ support for Firebase 9 (#9644) 2022-04-13 14:28:53 -07:00
Paul Beusterien 5d0cd61018 Bump zip minimum versions (#9633) 2022-04-12 07:02:35 -07:00
Nick Cooke 15578eec94 Remove heartbeat trigger on configure (#9625) 2022-04-11 11:11:24 -04:00
Nick Cooke 40a2a35c1a [Heartbeat Logging] Add logging within FirebaseCore (#9586)
* Rework approach

* Fix CI
2022-04-07 10:51:47 -04:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Nick Cooke c9fabb509e [Heartbeat Logging] Migrate Messaging from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9568)
* Integrate Messaging with FIRHeartbeatLogger

* Fix CI

* Resolve TODO

* [skip ci] Remove etra space

* Review

* Fix CI after review
2022-04-05 18:07:48 -04:00
Paul Beusterien 6b1f0666d6 Style after rebase conflict resolution 2022-04-04 13:30:34 -07:00
Paul Beusterien 0c8536e35e Port Storage unit tests to Swift for corresponding Swift ports (#9521) 2022-04-04 13:28:54 -07:00
Paul Beusterien 1ed4d69b4e Make all Storage APIs available via Swift (#9443) 2022-04-04 13:28:14 -07:00
Peter Friese c5bdde98f0 Register Combine modules with Swift component system (#9562) 2022-04-04 16:38:36 +02:00
Nick Cooke 6472d7c8e0 [Heartbeat Logging] Migrate Firestore from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9555)
* Integrate Firestore with FIRHeartbeatLogger

* [skip ci] Review

* [skip ci] Review
2022-04-01 16:00:28 -04: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 fd1c0f6a3c [v9, Infra] Fix FirebaseCore CMake build error for Firestore CI (#9537)
* Fix FirebaseCore CMake build

* Clarify comment

* Run Firestore CI on **CMakeLists.txt changes

* Review

* No need to ifdef out in FIRApp.m
2022-03-30 16:51:23 -04:00
Nick Cooke 3d4b0f429e [Heartbeat Logging] Migrate AppCheck from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9530)
* Integrate AppCheck with FIRHeartbeatLogger

* Fix comment typo

* Fix CI

* [will revert] debug why HeartbeatLoggingTestUtils.podspec is linted?

* Revert "[will revert] debug why HeartbeatLoggingTestUtils.podspec is linted?"

This reverts commit 25a79874d8.

* Change visibility of shim class

* Fix CI

* [skip ci] Review
2022-03-30 16:18:41 -04:00
Nick Cooke a9278f108b [Heartbeat Logging] Add heartbeat logger to FIRApp and manage FIRHeartbeatLogger instances (#9506)
* Add FIRHeartbeat property to FIRApp

* Remove comment and kick off CI?
2022-03-28 11:36:02 -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
Ryan Wilson e002709d2c Mark ObjC typedefs as unavailable in Swift. (#9387)
* Mark ObjC typedefs as unavailable in Swift.

This is part of the larger Swift API improvements effort. These reduce
visibility in autocomplete, and we've mostly migrated away from them
already. This hides the unused type from the API surface to avoid
cluttering the list of types avialable.

* Revert FDL Test

* Fix CombineSwift tests

* Fixed Firestore tests

* Revert unneeded changes for FDL internal headers.
2022-03-23 06:08:14 -07:00
Paul Beusterien 2d6980f360 Include Swift extensions in zip and Carthage (#9471) 2022-03-23 06:08:14 -07:00
Yakov Manshin 220a20fbf2 [#9291] Removed FIRAppAssociationRegistration (#9388) 2022-03-23 06:08:14 -07:00
Paul Beusterien 6f8dfde3b7 [HeartbeatLogging] Add to FirebaseCoreInternal umbrella and don't use
path for public header
2022-03-23 06:08:14 -07:00
Nick Cooke 913629de76 [Heartbeat Logging] Adjust imports after rebase onto v9 branch 2022-03-23 06:08:14 -07:00
Nick Cooke 08e9f7f5b0 [Heartbeat Logging] Update FirebaseCore dependents for heartbeat logging changes (#9436)
* Set swift_version to 5.3 for core dependents

* Fix Firestore Cmake build

* s/Cmake/CMake
2022-03-23 06:08:14 -07:00
Nick Cooke af89df6e04 [Heartbeat Logging] Refinements to how HeartbeatsPayloads are converted into header strings (#9419)
* Return an empty payload rather than an empty string

* Fix unfinished comment

* Review
2022-03-23 06:08:14 -07:00
Nick Cooke dd56dfbc62 [Heartbeat Logging] Add ObjC interop API and Firebase Core integration (#9117)
* Add FIRHeartbeatLogger and unit tests

* Add XCTest module

* Fix warnings

* Exclude files from module import rule

* Add swift_version to FirebaseStorage.podspec

* Update FirebaseStorage.podspec

* Update FirebaseCore.podspec

* Debug storage GHA

* Create separate testing utils target

* Revert "Debug storage GHA"

This reverts commit 962567e180.

* WIP Reorganizing for cocoapods

* Copy some spec config from OCMock

* Fix build issue

* Fix tests

* Add env var to only use testing spec for pod lib lint

* Add new heartbeat-unit test spec

* Bump Core dependency to 8.11

* Test

* Revert "Test"

This reverts commit 23cddd0b17.

* Refactor podspec

* Revert "Refactor podspec"

This reverts commit 71d87fb5d0.

* Testing to see if file is tested

* Revert "Testing to see if file is tested"

This reverts commit 618903a1ed.

* Revert "Revert "Refactor podspec""

This reverts commit ac42b40b06.

* catalyst testing needs env var too

* Remove outdated comment

* Review

* Style

* Review 2

* Fix tvOS CI
2022-03-23 06:08:14 -07:00
Ryan Wilson 190af8a873 Working component system. (#9310)
* Working component system.

* Removed outdated code, temp enabled tests.

* Revert GHA change
2022-03-23 06:08:13 -07:00
Paul Beusterien 6361347a22 Podspecs for CoreInternal and AppCheckInterop (#9300) 2022-03-23 06:08:03 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Ryan Wilson 9151fa6bb5 Update Core's docs to be Swift first. (#9458) 2022-03-15 17:49:36 -04:00
elenadoty 3c60fbd0d0 update docs to reference swift > objc (#9279) 2022-02-02 14:24:27 -05:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Paul Beusterien 4377c7c574 FirebaseOptions docs: Swift and Analytics exception (#9207) 2022-01-13 15:07:19 -08:00
Narlei Moreira 5822a5a495 [Security] Change APIKey documentation (#9088) 2022-01-06 09:37:07 -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
Nick Cooke 08686f0488 Update CHANGELOG for 8.10.0 (#9033) 2021-11-30 12:11:15 -05:00
Ryan Wilson 59cb44b894 Fix Analytics SwiftPM platform availability. (#9032)
* Fix Analytics SwiftPM platform availability.

For some reason this still works in a project, but Xcode gets confused
and doesn't autocomplete the module appropriately. This should fix it
for tvOS and macOS.

Also cleaned up a few references to Analytics only being available on
iOS.

* Clearer comment about availability

* Changelog

* Review changes

* Added a missing word in CHANGELOG
2021-11-30 11:05:32 -05:00
Peter Friese 03e174c4b7 Add Combine to changelog (#8933) 2021-11-05 08:22:25 +01:00
Paul Beusterien 6aa2492365 Remove FIRApp warning for macOS and tvOS (#8841) 2021-10-21 07:49:08 -07:00
Paul Beusterien 97f22a69fd Fix tvos deployment target and 8.9.0 release note update (#8836) 2021-10-20 12:14:46 -07:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Paul Beusterien da2ec8a8ef Update GDT CocoaPods deps (#8736) 2021-10-01 12:00:49 -07:00
Paul Beusterien 5bbc73cb77 Force GoogleUtilities and GDT update for SPM (#8728) (#8735) 2021-10-01 11:26:23 -07:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Nick Cooke 214e653033 Bump GoogleAppMeasurement dependency to 8.3.1 (#8377) (#8378)
* Bump GoogleAppMeasurement dependency to 8.3.1

* CHANGELOG
2021-07-12 15:10:20 -04:00
Nick Cooke df0718fa75 Core API build tests (#8352)
* Core API build tests

* Fix CI
2021-07-09 09:44:07 -04:00
Nick Cooke 89f237ae78 Swift first exception messages (#8295)
* Swift first exception messages

* Review

* Minor edit

* Minor edit 2
2021-06-25 11:25:23 -04:00