Commit Graph
87 Commits
Author SHA1 Message Date
Charlotte Liang 45ee209e5d Update versions for Release 9.5.0 (#10088) 2022-08-11 10:37:14 -07:00
Nick Cooke 7e3548b3fe Update versions for Release 9.4.0 (#10035) 2022-07-21 17:33:20 -07:00
Paul Beusterien 9ebc1f01c1 Update versions for Release 9.3.0 (#9933) 2022-06-21 17:49:26 -07:00
Charlotte Liang 3827b43b1b Update versions for Release 9.2.0 (#9879) 2022-06-07 16:19:20 -07:00
Thomas Van Lenten 500d379ae4 Allow use of GTMSessionFetcher 2.x versions. (#9810) 2022-05-17 08:22:14 -08:00
Nick Cooke 5182a3184e [v9.1.0] Update versions for Release 9.1.0 (#9787)
* Update versions for Release 9.1.0

* Review

* Review
2022-05-09 21:03:24 -04:00
argzdev 8effa3f03c Changed Apache to Apache-2.0 (#9782) 2022-05-09 06:23:42 -07:00
Nick Cooke f5038c2df5 Revert "[v9.1] Bump GTMSessionFetcher dep to >1.7.2 (#9774)" (#9776)
This reverts commit 7fd17f7393.
2022-05-06 18:10:45 -04:00
Nick Cooke 7fd17f7393 [v9.1] Bump GTMSessionFetcher dep to >1.7.2 (#9774) 2022-05-06 17:58:22 -04:00
Nick Cooke 369a188f56 Update dependency minor version (#9677) 2022-04-20 14:35:17 -04:00
Paul Beusterien 1793deb8b7 Update C++/Obj C++ support for Firebase 9 (#9644) 2022-04-13 14:28:53 -07:00
Paul Beusterien 199d1c1299 Version 9.0 (#9595) 2022-04-07 07:35:31 -07: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
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 74fa16f236 Remove Functions ObjC (#9333) 2022-03-23 06:08:13 -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 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 e9d483222d Enable functions test specs and pod spec lint (#9136) 2021-12-23 12:21:25 -05: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 d1bb76f01a Add Async/await tests for Functions (#8959) 2021-11-12 08:21:11 -08:00
Paul Beusterien e74765ae08 Canonical directory structure for Functions (#8918) 2021-11-02 16:38:55 -07: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
Jesus CrespoandPaul Beusterien 52b3560eab Add functions spm unit and build tests (#8499)
* Update FunctionsAPITests.swift with watchos and Task

* Add watchos deployment target to Functions podspec

* Add spm Functions unit and build tests

* Update travis.yml for functions and watchos

* Disable failing travis test, passes locally, wait for Xcode 12.5 on GHA

* Changelog

* Delete unused files

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-08-16 19:08:55 -05: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 6444730b34 Functions API build tests (#8344)
* Functions API build tests

* Fix copyright
2021-07-07 11:30:49 -07: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 d937b2f557 Bump dependency versions to latest minor (#7974) 2021-04-27 07:58:54 -07:00
Paul Beusterien 9027bbbaac Version 8.0.0 (#7944) 2021-04-23 13:49:36 -07:00
47e0a982fb App check and storage, functions and RTDB support (#7928)
* AppAttestation initial public API

* Run ./scripts/style.sh

* Copyright

* Cleanup

* Cleanup

* Get token forcing refresh method

* Formatting

* Forcing refresh samples

* Interop introduced

* Code samples for Interop

* Run  ./scripts/style.sh

* Cleanup

* TODOs and Copirights

* Fix build

* Supported iOS versions

* Remove unnecessary bridging header

* Run  ./scripts/style.sh

* [WIP] DeviceCheckAttestationProvider as a subspec

* cleanup

* Add memory attributes to readonly properties

* Move FIRDeviceCheckAttestationProvider.h to private headers

* TODO for `FirebaseAppAttestation/Core` name

* Remove memory attributes from FIRAppAttestationToken properties

* FIRAppAttestationTests.testSetAttestationProviderFactory introduced

* FIRAppAttestationToken initializer

* Basic FIRLibrary implementation and FIRAppAttestationProviderFactory ingestion.

* Fix

* FIRAppAttestationToken+Interop.h

* TODOs

* Tests: reset FIRApps

* GHA for App Attestation

* Run ./scripts/style.sh

* Style fixes.

* Run ./scripts/style.sh

* TODO

* Nullable initializer and type annpotations

* TODOs

* TODOs

* TODO

* Fix spec and allow warnings

* AppAttestation initial public API

* Run ./scripts/style.sh

* Copyright

* Cleanup

* Cleanup

* Get token forcing refresh method

* Formatting

* Forcing refresh samples

* Interop introduced

* Code samples for Interop

* Run  ./scripts/style.sh

* Cleanup

* TODOs and Copirights

* Fix build

* Supported iOS versions

* Remove unnecessary bridging header

* Run  ./scripts/style.sh

* [WIP] DeviceCheckAttestationProvider as a subspec

* cleanup

* Add memory attributes to readonly properties

* Move FIRDeviceCheckAttestationProvider.h to private headers

* TODO for `FirebaseAppAttestation/Core` name

* Remove memory attributes from FIRAppAttestationToken properties

* FIRAppAttestationTests.testSetAttestationProviderFactory introduced

* FIRAppAttestationToken initializer

* Basic FIRLibrary implementation and FIRAppAttestationProviderFactory ingestion.

* Fix

* FIRAppAttestationToken+Interop.h

* TODOs

* Tests: reset FIRApps

* Run ./scripts/style.sh

* Style fixes.

* Run ./scripts/style.sh

* TODO

* Nullable initializer and type annpotations

* TODOs

* TODOs

* TODO

* Revert FirestoreDecoder.swift formatting.

* Basic implementation of FIRDeviceCheckAttestationProvider and tests (#626)

* DeviceCheck attestation provider sceleton

* DeviceCheck attestation provider sceleton

* Basic FIRDeviceCheckAttestationProviderTests

* Run ./scripts/style.sh

* FIRAppAttestStorage implementation and tests (#627)

* FIRDeviceCheckAttestationProvider designated init

* FIRAppAttestStorage API and basic tests.

* FIRAppAttestStoredToken: NSSecureCoding implementation

* WIP Storage

* Add `accessGroup` param to `FIRAppAttestStorage`

* FIRAppAttestStorage implementation

* Use constants

* FIRAppAttestStorage API doc

* Coding style and typos.

* Code formatting

* Attestation Token caching (#630)

* Storage instance and looging

* AppAttestation caching

* Tests and cleanup

* Cleanup

* Rename App Attestation -> App Check (#631)

* Rename App Attestation -> App Check

* Run ./scripts/style.sh

* Update GHA

* Default Custom Provider (#633)

* AppCheck: remove not unnecessary public API (#634)

* AppCheck: remove not unnecessary public API

* Run ./scripts/style.sh

* AppCheck: DeviceCheck token server API (#635)

* Generic HTTP request handling

* [draft] AppCheck: device check HTTP API and simple tests

* Parse response

* Cleanup

* AppCheck: API errors and tests (#636)

* AppCheck errors

* API service tests and fixes

* Cleanup

* Run ./scripts/style.sh

* Naming

* AppCheck: Register device check provider factory as a default (#637)

* AppCheck errors

* API service tests and fixes

* Cleanup

* Run ./scripts/style.sh

* AppCheck: register FIRDeviceCheckProvider as a component

* Naming

* Registre device check provider factory as a default

* FIRDeviceCheckProvider tests

* AppCheck: API communication common for all providers moved to FIRAppCheckAPIService (#640)

* FIRAppCheckAPIService introduced

* Move URL seession stub to FIRURLSessionOCMockStub

* Run ./scripts/style.sh

* Move approximate date comparing to FIRDateTestUtils

* compose request in FIRAppCheckAPIService

* FIRAppCheckAPIServiceTests

* Use FIRAppCheckAPIService in FIRDeviceCheckProvider

* Cleanup

* DeviceCheck mock server integration and tests (#686)

* DeviceCheck mock server integration and tests

* TODO

* Update FIROptions.h import

* Temporary add FirebaseAppCheck to skip import validation

* TestUtilities moved to SharedTestUtilities

* FirebaseAppCheck.podspec:  TestUtilities->SharedTestUtilities

* SwiftPM: add OCMock dependency to SharedTestUtilities

* FIRURLSessionOCMockStub: #import "OCMock.h"

* App Check: Firebase 7 fixes (#715)

* AppCheck Firebase 7

* FirebaseCore repo-relative imports

* Fix FIRAppCheckStorage.m compilation

* Repo relative imports

* linebreak

* AppCheck: debug FAC token provider (#716)

* AppCheck Firebase 7

* FirebaseCore repo-relative imports

* Fix FIRAppCheckStorage.m compilation

* Repo relative imports

* linebreak

* Remove FIRAppCheckDefaultCustomProvider

* FIRAppCheckDebugProvider introduced

* FIRAppCheckDebugProviderTests

* style

* Print locally generated debug token to console

* Fix imports

* mullability and line breaks

* typo

* Comments

* TODO

* AppCheck: merge into single spec (package) (#717)

* Standard package folder structure

* Move interop header into AppCheck sources folder

* Combine public headers in the standard dir

* Private headers to internal

* Podspec

* Headers import udpdate

* style

* Fix header imports

* Enable check_imports.swift and fix imports

* AppCheck: server request adjustments (#718)

* Wrap DeviceCheck token into JSON

* AppChek - remove static_framework requirement

* WIP

* Update default base URL

* Set content-type header

* Check for empty response data

* Fix tests

* Style and formatting

* Podspec - revert wrong change and remove static_framework

* Assign error to error pointer safely.

* AppCheck: primitive test app (#719)

* Remove static_framework requirement

* WIP: FIRAppCheckTestApp introduced

* Delete .plist

* Copyright

* Remove empty test targets

* pod deintegrate

* Remove test targets from Podfile

* formatting

* Storage: integration with AppCheck (#720)

* Storage: add AppCheck interop dependency

* Inject AppCheck into FIRStorageTokenAuthorizer

* initial AppCheck integration

* Introduce AppCheck fake

* AppCheck fake implementation

* FIRStorageTokenAuthorizer tests and fixes

* @"Authorization" header constant

* Log AppCheck error.

* Cleanup

* FIRStorageTokenAuthorizerTests: helpers

* TODO

* Cleanup

* AppCheck: separate 2P and 3P API (#724)

* FIRAppCheckInterop: remove a convenience method.

* Rename: FIRAppCheckTokenInterop->FIRAppCheckTokenResultInterop

* FIRAppCheckTokenResult introduced

* Update FIRAppCheckTokenHandlerInterop,  FIRAppCheckTokenResultInterop and tests

* style

* Update token result

* Update storage integration

* Adjust check_imports.swift for test files

* Don't use internal AppCheck classes in Storage tests

* style

* Rename token to tokenResult in 2P API

* Add private Core headers to app check sources

* Fix storage log message code format

* token clarification comments in API docs

* Rename token->tokenResult

* AppCheck cleanup (#737)

* Fix public headers import

* Cleanup imported test utils

* FirebaseAppCheck podspec: revert git URL

* AppCheck: Debug token to AppCheck token exchange API (#739)

* GUL: make NSURLSession promise extension public

* Use NSURLSession+GULPromises to send requests

* style

* Move FIRAppCheckToken+APIResponse to Core dir

* rename

* FIRAppCheckDebugProviderAPIService introduced

* Move async token parsing API to FIRAppCheckToken extension

* Move token exchange response handling to FIRAppCheckAPIService. Tests WIP.

* Move API response parsing tests to FIRAppCheckAPIServiceTests

* FIRAppCheckDebugProviderAPIServiceTests

* Cleanup

* style

* App Check debug provider: integrate with exchange API (#743)

* Move FIROption validation to FIRAppCheckValidator

* FIRAppCheckDebugProvider token exchange and tests

* Fix FIRAppCheckDebugProviderFactoryTests

* style

* App Check test app debug provider fix (#747)

* App Check: minor touchups (#750)

* Update dummy token value

* Print local debug token to logs

* Require GoogleUtilities v7.2 and above

* Print debug token on init

* Don't print debug token again

* App Check: use prod environment (#751)

* App Check: use prod backend by default.

* Update token expiration threshold

* App Check SwiftPM support (#753)

* AppCheck SwiftPM package definition

* Promise header import fix

* OCMock header fix

* Fix fixture dependent tests

* Exclude Keychain dependent tests

* License

* ./scripts/style.sh

* Cleanup

* Format with proper SwiftFormat version

* `.process` resources.

* Swift tests target

* Cleanup and code formatting

* App Check: token auto-refresh (#754)

* FIRAppCheckTokenRefresher API defined

* FIRAppCheckTokenRefresher implementation draft

* [WIP] Token refresher integration

* Token refresher integration

* FIRAppCheckTests: token refresher tests

* FIRAppCheckTests: additional tests cases

* FIRAppCheckTimer introduced

* FIRAppCheckTokenRefresher: use FIRAppCheckTimer instead of the dispatch timer.

* FIRFakeTimer

* FIRAppCheckTokenRefresherTests testInitialRefresh

* FIRAppCheckTokenRefresherTests: testNextRefreshOnRefreshSuccess

* ./scripts/style.sh

* Exponential backoff

* Style and comments

* Move token refresh files to a separate folder

* FIRAppCheckTimerTests

* FIRAppCheck: use expicit class in init

* FIRAppCheckDebugProviderFactory Swift name

* FIRAppCheckTokenRefresher: Increment/decrement directly

* App Check fixes (#755)

* Fix backoff: no backoff for the initial request

* Use eager initialization

* FIRAppCheckTokenRefresher: don't refresh until handler set

* FIRAppCheckIntegrationTests: disable token refresher

* Fix testInitialRefresh test

* style

* FIRAppCheckIntegrationTests fix

* Temporary exclude App Check from platfrom logging (#756)

* App Check: send app check SDK version only in the header (#757)

* App Check: store FAC token per app ID (#758)

* App Check: store FAC token per app ID

* update podspec

* API docs

* FIRAppCheck initWithApp tests

* AppCheckCustomProvideApp (#760)

* Functions: App Check integration (#762)

* Functions: app check API added to FUNContextProvider

* FUNContextProviderTests

* FUNContextProvider app check support

* ./scripts/style.sh

* FIRFunctions: pass FAC token as HTTP header

* Fix SPM

* Fix Firebase-Package scheme bad merge

* Cleanup

* RTDB: pass FAC token to web socket (#763)

* RTDB: pass FAC token to web socket

* FIRAppCheckFake default init

* Rename FAuthTokenProvider to FIRDatabaseConnectionContext; integrate with App Check

* Pass App Check token in the HTTP header

* Rename

* Fix existing tests

* TODO

* ./scripts/style.sh

* Context provider: assume separate FAC token change listener

* FIRDatabaseConnectionContextProviderTests

* Remove unused files

* Copy NSMutableURLRequest

* Cleanup

* ./scripts/style.sh

* FIRDatabaseConnectionContextProvider: sync callback when no auth or app check

* Cleanup

* Rename "authToken" leftovers to "context"

* Fix renaming

* Pass missing headers to NSURLSessionWebSocketTask

* Cleanup

* add a name to TODO

* App Check: token update notifications (#764)

* AppCheck: token did change API and tests

* notification implementation and fixes

* Run ./scripts/style.sh

* Update comments

* RTDB: send app check token updates to keep connection open (#765)

* Pass AppCheck instance as an object into the the FAC token update notification

* FIRDatabaseConnectionContext: add FAC token change listener API

* formatting

* Send FAC token updates to open connection

* More informative empty response message

* refreshAppCheckToken fixes

* Remove assertion

* Don't modify state

* forceTokensRefresh -> forceTokenRefreshes

* Call listeners on [FIRDatabaseQuery sharedQueue]

* App Check API cleanup and docs (#766)

* AppCheck public API and docs cleanup

* More API docs

* Fix compilation errors

* typos and wording

* Make summary different from description (pod lib lint warning)

* port app check workflow changes from another branch

* pod lib lint: remove --allow-warnings

* App Check cleanup (#767)

* Cleanup debug code and outdated TODOs

* Fix FIRDeviceCheckProvider availablility for SPM

* Fix availability in tests

* Fix availability in tests

* Make sure os requirements are consistent for tests specs

* Migrate v1alpha URLs to v1beta

* Migrate v1alpha URLs to v1beta

* Run ./scripts/style.sh

* Functions tests: fix Xcode 11 warnings (#7931)

* Functions tests: fix Xcode 11 warnings

* style

* App Check: token auto-refresh opt-out API (#769)

* FIRAppCheckSettings introduced (WIP)

* FIRAppCheckSettingsTests

* Style

* Make FIRAppCheckSettings instance per-app.

* FIRAppCheckTokenRefresher: use FIRAppCheckSettings.isTokenAutoRefreshEnabled (WIP)

* Tests

* Add public instance getters

* Fix analyzer warnings

* Fix testspec OS versions

* FIRAppCheckTokenRefresher expiration date update; tests

* FIRAppCheck.isTokenAutoRefreshEnabled implementation and tests

* style

* FIRAppCheck: Use specific types for variables in the default init

* More precise comments

* missing symbol

* FIRAppCheckSettings: remove defensive conditions from init.

Co-authored-by: Nick Cooke <nickcooke@google.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2021-04-21 21:01:11 -04: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
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
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