Commit Graph
52 Commits
Author SHA1 Message Date
Paul Beusterien 199d1c1299 Version 9.0 (#9595) 2022-04-07 07:35:31 -07:00
Nick Cooke ef636bd28f [v9] Remove GHA workflows that test with --use-libraries (#9463)
* Remove `--use-libraries` workflows

* [Will Revert] Run only the cron workflows

* Add ENABLE_TESTING_SEARCH_PATHS flag

* Add blank swift file to statically link Swift lib

* Link in swift for ABTesting, Crashlytics, and FIS test specs

* [skip ci] Revert "Link in swift for ABTesting, Crashlytics, and FIS test specs"

This reverts commit 95e4a492a8.

* [skip ci] Revert "Add blank swift file to statically link Swift lib"

This reverts commit 43555ecf88.

* [skip ci] Revert "Add ENABLE_TESTING_SEARCH_PATHS flag"

This reverts commit e551fbee1a.

* Bump macOS test version in ABTesting, CSH, and FIS specs

* Ignore warings in FIS tests

* Ignore messaging warnings in cron jobs

* [skip ci] Revert "[Will Revert] Run only the cron workflows"

This reverts commit b39eaee5bd.

* [skip ci] Revert "Ignore messaging warnings in cron jobs"

This reverts commit 8a3faabe99.

* Add `@unknown default` case for FCM's Swift enum build tests

* [skip ci] Fix typo
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
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Paul Beusterien 64c81c0d27 Update versions for Release 8.15.0 (#9507) 2022-03-23 05:47:17 -07:00
Nick Cooke e5152af430 Update versions for Release 8.14.0 (#9432) 2022-03-08 20:48:46 -05:00
Ryan Wilson 8dae747fc3 Update versions for Release 8.13.0 (#9359) 2022-02-18 09:10:48 -05:00
Paul Beusterien 19e0e8cde1 Update versions for Release 8.12.0 (#9230) 2022-01-20 11:19:57 -08:00
Paul Beusterien 0feef36e60 Update versions for Release 8.11.0 (#9122) 2021-12-21 17:11:41 -08:00
Nick Cooke a58bf1a0f5 Update versions for Release 8.10.0 (#8978) 2021-11-16 21:55:35 -08:00
Paul Beusterien dc366f2e20 Update versions for Release 8.9.0 (#8764) 2021-10-07 19:09:40 -07:00
Ryan Wilson b08b358ca3 Prepare for Firebase 8.8 release (#8686)
* Update versions for Release 8.8.0

* CHANGELOG updates
2021-09-22 14:02:10 -04:00
Paul Beusterien 31f17405df Update versions for Release 8.7.0 (#8576) 2021-08-25 20:40:39 -07:00
Nick Cooke 2b589482dd Update versions for Release 8.6.0 (#8502) 2021-08-06 11:55:32 -04:00
Maksym Malyhin 0730063ea5 M101 versions update (#8444)
* Update versions for Release 8.5.0

* Bump Analytics version
2021-07-28 09:35:01 -04:00
Ryan Wilson 5268705b8e Update versions for Release 8.4.0 (#8384) 2021-07-14 09:09:47 -04:00
Nick Cooke 635283b5f5 Bump deps for 8.3.0 (#8315) 2021-06-28 20:32:09 -07:00
Ryan Wilson f5b4fa3bb1 Update versions for Release 8.2.0 (#8267) 2021-06-17 08:42:45 -04:00
Maksym Malyhin 32eb97c771 Update versions for Release 8.1.0 (#8152) 2021-05-25 23:48:56 -04:00
Paul Beusterien 9027bbbaac Version 8.0.0 (#7944) 2021-04-23 13:49:36 -07:00
Ryan Wilson 64dea4a8d5 Update versions for Release 7.11.0 2021-04-14 10:34:12 -04:00
Paul Beusterien e73fdb6b83 Update versions for Release 7.10.0 2021-03-31 07:22:34 -07:00
Paul Beusterien 5ed1003d84 Consistent podspec minimum version management (#7748) 2021-03-18 12:22:16 -07:00
b752c4a730 Merge release 7.9.0 (#7742)
* Update versions for Release 7.9.0

* Fix pod lib lint for watchOS + add CI test (#7740)

* Fix pod lib lint for watchOS

* Add watchOS build test.

* Code review feedback

* Typo and formatting

* Typo and formatting

* fix typo

* Add missing test util files to tests targets

Co-authored-by: Maksym Malyhin <mmaksym@google.com>

* Resolve new SPM package install warning (#7741)

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-03-17 22:43:44 -04:00
Ryan Wilson 774db3ca4b Update versions for Release 7.8.0 (#7655) 2021-03-04 16:48:29 -05:00
Paul Beusterien ead5ff0bc7 Update versions for Release 7.7.0 2021-02-18 10:51:11 -08:00
Chen Liang 80a45125a0 Enable watchOS for Remote Config and ABTesting (#7481) 2021-02-12 11:41:35 -08:00
Maksym Malyhinandelenadoty f4a7b1a7ca Merging the 7.6.0 release into master (#7488)
* Update versions for Release 7.6.0

* Cherry-pick change to fix binary image race condition. (#7477)

* Cherry-pick change to fix binary image race condition.

* Change log

Co-authored-by: elenadoty <elenadoty@google.com>
2021-02-09 13:46:46 -05:00
Ryan WilsonandAllen Vicencio f0c7057402 Merging the 7.5.0 release into master (#7394)
* Update versions for Release 7.5.0

* Update SwiftPM for M88 7.5 (#7382)

* Update Analytics podspec to RC1 (#7385) (#7390)

Co-authored-by: Allen Vicencio <allenvic@google.com>

Co-authored-by: Allen Vicencio <allenvic@google.com>
2021-01-28 09:30:24 -05:00
Paul Beusterien 14d31eb9e3 Update versions for Release 7.4.0 2021-01-07 13:14:47 -08:00
Gran dc05755db8 Add test coverage to podspecs. (#7228) 2020-12-30 12:50:32 -08:00
Paul Beusterien 7134db831f Update versions for Release 7.3.0 2020-12-04 07:48:50 -08:00
Ryan Wilson 594fd8d426 Merge release 7.2.0 (#7077) 2020-12-02 15:56:17 -08:00
2c8ed61b87 Merge release 7.1.0 (#6944)
* Update versions for Release 7.1.0

* 7.1.0 update version of close source podspecs

* Release 7.1.0 cherry picks (#6917)

* FCM: Fix crash on iOS 14 when multiple app delegate completion methods are called (#6863)

* Fix crash on iOS 14 when multiple completion methods are called

* Fixed lint

* Addressed the PR comments & implemented unit tests

* Reverted auto-extracted method

* Re-organized tests

* Added completion handler for FIRAuth

* Manifest: GDT 8.0.1

* Update Changelogs for 7.1.0 (#6913)

* Changelogs

Co-authored-by: Mike Gerasimenko <github@gerasimenko.me>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>

* Bump GDT podspec version to 8.0.1

* 7.1.0 SPM Analytics (#6933)

* Carthage update 7.1.0 (#6943)

Co-authored-by: Mike Gerasimenko <github@gerasimenko.me>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-11-11 09:25:42 -05:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Paul Beusterien 12c9e3fef0 Stop using CocoaPods private headers (#6572) 2020-10-02 09:11:21 -07:00
Paul Beusterien 3ca4e99c0e Stop requiring pods to be static frameworks (#6557) 2020-09-28 14:08:16 -07:00
Paul Beusterien a39b515f3a Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Paul Beusterien 9a24e538a2 Update podspec dependencies for 6.30.0 (#6203) 2020-08-04 12:27:12 -07:00
Paul Beusterien 781f214a66 ABT - new public header structure (#6168) 2020-07-31 07:21:21 -07:00
Paul Beusterien 2660d49c7d ABTesting - Repo-relative imports and SwiftPM (#6013) 2020-07-09 15:48:47 -07:00
christibbsandPaul Beusterien 9b484519f2 Remove Protobuf from the ABT SDK (#5890)
* Remove Protobuf dependency, add struct-ish class that mimics ABTExperimentPayload

* Remove a lot of the compiler errors, but not all of them. We need to figure out how RC serializes the NSData objects passed to FIRExperimentController in updateExperimentsWithServiceOrigin:

* Add ABTExperimentPayload class that replaces generated proto, refactor classes that depend on it

* Add unit testing class for ABTExperimentPayload

* Updates to ABTExperimentPayload API, tests for ABTConditionalUserPropertyTest, add tests for ABTExperimentPayload

* Update podspec to pull in testing resources

* Add utility class for parsing test files. Use it in ABTExperimentPayloadTests

* Fix FIRExperimentController tests

* Better documentation

* Run scripts/styles.sh

* Fix whitespace

* Remove protobuf imports

* Bump pod spec version for ABT SDK, depend on new ABT SDK in RC. Fix up RemoteConfigExperiment to use new ABTExperimentPayload object

* scripts/style.sh

* Update In-app messaging to use new ABTExperimentPayload class, which involves extending the ABTExperimentPayload initializer to accept different values for overflowPolicy and experimentStartTime

* Delete test payload

* Revert scripts/check_imports.swift

* Better initialization tags for ABTExperimentLite

* Update CHANGELOGs

* Remove private headers in podspec, use integerValue to parse integers

* Refactor ABTExperimentPayload header into Private headers. Fix integer types for millisecond metadata

* scripts/styles.sh

* Fix integer parsing

* Fix copyrights

* Fix CHANGELOG typo:

* Add private_header_files to public_header_files

* Try just using NSInteger for experimentStartTimeMillis

* Bump FIAM dependency on ABTesting

* Use long long for milli parameters (32-bit apps)

* Use longlong in test timestamps

* Don't cast to nsnumber in tests

* Use in64_t

* Fix Test Overflow

* Bump major version on ABT SDK

* Bump ABTesting version in Firebase.podspec

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-07-06 13:06:39 -04:00
Paul Beusterien 5f370d6395 Release 6.27.0 (#5830) 2020-06-16 09:15:04 -07:00
Paul Beusterien e15724a436 Migrate from interop pods to source_files header access (#5760) 2020-06-09 06:09:27 -07:00
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
Paul Beusterien e338339c59 Remove platforms from podspec summaries (#5229) 2020-03-31 10:21:48 -07:00
christibbs 4c776d1f74 Support AB testing of Firebase In-App Messages (#5005)
* Parse out experiment payload for experimental FIAMs and store it on FIRIAMMessageDefinition

* Fix bugs in parsing experimental payload

* Add nullable experiment payload to FIAM message definition. Add method in FIRExperimenmtController to validate running experiments and call this when new messages are fetched from FIAM backend

* Add and document new ABT methods, update FirebaseInAppMessaging.podspec to depend on ABT

* Clean up deprecated public message initializers, add experiment payload to private initializers

* Activate experiment for experimental messages upon impression

* Clean up activateExperiment API

* Add experimental payload to all message definition initializers

* Add unit test coverage for new ABT methods

* Add test coverage for parsing experimental messages

* Verify experiment payload gets passed to message superclass

* Scripts/style.sh

* Update Podfile for UI test app to include AB Testing SDK

* Add back deprecated initializers for now, these are needed for the test app

* Test for non-nil experiment payload

* Use mutable array directly, better memory usage

* Bump ABTesting podspec version, depend on new ABT in FIAM

* Remove mentions of FIREventOrigins.h

* Remove experiment payload from public API, hide it in private

* Scripts/style.sh

* Fix comment indentation, allow for FIAM to depend on minor version updates of ABTesting

* Move ABTExperimentPayload import to private header
2020-03-03 19:46:37 -05:00
Ryan Wilson bbcac27b72 Release 6.10.0 (#4022)
* Update versions for Release 6.10.0

* Cherrypick #3983 and include Database in release. (#3986)

* Remove log argument that causes SocketRocket crash (#3983)

* Add FirebaseDatabase to release.

* Update CHANGELOG with version.

* Cherrypick for #3984 along with CHANGELOG update. (#3988)

* Fix race condition in FIRComponentContainer instance creation (#3984)

* Fix race condition in FIRComponentContainer instance creation

Reported in #3967. Users sometimes seeing a crash when multiple threads
concurrently try to create Firestore instances. By inspection I found
that there's a race here where two threads can check for presence in the
cache, see nothing, proceed to creation, both store a value in the cache,
and both return their copies. This would lead to two Firestores being
created for a single App.

This replaces `dispatch_sync` on a serial queue with good old
`@synchronized` blocks. `dispatch_sync` will self-deadlock if called
from a thread already on the queue while `@synchronized` allows
recursion.

No new tests are added because several tests like
`testDependencyDoesntBlock` already cover this case.

* format

* Update Core CHANGELOG

* Update Core CHANGELOG again

* Fix merge from CHANGELOG
2019-10-09 12:10:33 -04:00
Paul Beusterien 01f49c3f79 Use at least Protobuf 3.9.2 (#3916) 2019-09-24 10:29:51 -07:00
Maksym Malyhin 89a276928c Merging the 6.8.0 release into master (#3783)
* Update versions for Release 6.8.0

* RemoteConfig fix pod spec lint (#3715) (#3716)

* ABTesting: add protos to private headers.

* RemoteConfig: #import <FirebaseABTesting/ExperimentPayload.pbobjc.h>

* ./scripts/style.sh

* Remote Config `pod spec lint` fixes (#3717) (#3718)

* Fix ExperimentPayload.pbobjc.h imports

* RemoteConfig tests: add missing headers to spec.

* Revert ExperimentPayload.pbobjc.h import for ABTesting sources.

* Add FDL to M55 (#3724)

* Remove references to UIWebView from DynamicLinks to comply with Apple "ITMS-90809: Deprecated API Usage" (#3723)
* Add FDL to M55

* Fix accessing a destroyed object (#3721) (#3725)

This was caused by running under Asan with XCode 11. Apparently, previous versions of XCode cannot catch it (which is why Travis is passing, apparently).

Also:
* enable "Detect use of stack after return" option for Asan. AFAIU, it can only be enabled in the scheme. It's already enabled for unit tests, this PR additionally enables it for integration tests;
* make Asan failures fail Travis build. They were originally not considered blocking due to some sporadic failures. I haven't seen those for some time, and worst case scenario, we can revert this change.

* Cherry pick GDT changes for 6.8.0 and increment versions (#3770)

* Release 6.8.0: cherry pick of #3764 and #3766 (#3772)

* Gate access to cached instances. (#3766)

* Gate access to cached instances.

This is causing an issue in #3728. Hopefully this will fix it, but no
repro is available yet to test. There's still an underlying race
condition where a `creationBlock` could be called twice for a component
that is supposed to cache the instance returned, but that should be
addressed in a follow up PR.

* Review feedback.

* Iterate from array copy in `latestExperimentStartTimestampBetweenTimestamp:` (#3764)

* Release 6.8.0 cherry pick: conflicting Dynamic Links changelog changes. (#3790)

* Update FDL CHANGELOG (#3781)

* Issue number, not PR number (#3785)
2019-09-06 15:19:25 -04:00