Skip to content

Commit 2377912

Browse files
committed
Merge remote-tracking branch 'remotes/origin/mila/BloomFilter' into BloomFilterComplexIntegrationTest
2 parents b6d62b5 + 3d406f2 commit 2377912

File tree

301 files changed

+11302
-3079
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+11302
-3079
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Check Head Dependencies
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- 'releases/**'
8+
9+
jobs:
10+
build-artifacts:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Perform gradle build
16+
run: |
17+
./gradlew checkHeadDependencies -PpublishConfigFilePath=release.cfg -PpublishMode=RELEASE -PincludeFireEscapeArtifacts=true

.github/workflows/diff-javadoc.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55

66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: macos-latest
99
permissions:
1010
pull-requests: write
1111
steps:
12-
- name: Make Dir
12+
- name: Make diff directory
1313
run: mkdir ~/diff
1414

15-
- uses: actions/checkout@v3
15+
- name: Checkout PR branch
16+
uses: actions/checkout@v3
1617
with:
1718
fetch-depth: 2
1819
submodules: true
@@ -24,31 +25,24 @@ jobs:
2425
distribution: temurin
2526
cache: gradle
2627

27-
- name: Changed Modules
28-
id: changed-modules
29-
run: |
30-
git diff --name-only HEAD~1 | xargs printf -- '--changed-git-paths %s\n' | xargs ./gradlew writeChangedProjects --output-file-path=modules.json --only-firebase-sdks
31-
echo "run=$(cat modules.json | sed "s/[]\"[]//g" | sed "s/,/\n/g" | xargs printf -- "%s:kotlinDoc ")" >> $GITHUB_OUTPUT
28+
- name: Generate docs for PR branch
29+
run: ./gradlew kotlindoc
3230

33-
- name: Build
34-
# Certain SDKs won't export docs, make a blank folder to diff if that's the case
35-
run: mkdir build && ./gradlew ${{ steps.changed-modules.outputs.run }}
36-
37-
- name: Move original docs
31+
- name: Move branch docs to diff directory
3832
run: mv build ~/diff/modified
3933

40-
- uses: actions/checkout@v3
34+
- name: Checkout master
35+
uses: actions/checkout@v3
4136
with:
4237
ref: ${{ github.base_ref }}
4338

44-
- name: Build
45-
# Certain SDKs won't export docs, make a blank folder to diff if that's the case
46-
run: mkdir build && ./gradlew ${{ steps.changed-modules.outputs.run }}
39+
- name: Generate docs for Master
40+
run: ./gradlew kotlindoc
4741

48-
- name: Move modified docs
42+
- name: Move master docs to diff directory
4943
run: mv build ~/diff/original
5044

51-
- name: Diff docs
45+
- name: Get diff between Master and Branch docs
5246
run: >
5347
`# Recursively diff directories, including new files, git style, with 3 lines of context`
5448
diff -wEburN ~/diff/original ~/diff/modified
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Validate Artifact Dependencies
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- 'releases/**'
8+
9+
jobs:
10+
build-artifacts:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Perform gradle build
16+
run: |
17+
./gradlew validatePomForRelease -PpublishConfigFilePath=release.cfg -PpublishMode=RELEASE -PincludeFireEscapeArtifacts=true

appcheck/firebase-appcheck-debug-testing/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
3+
# 16.1.2
24
* [unchanged] Updated to keep [app_check] SDK versions aligned.
35

46
# 16.1.1

appcheck/firebase-appcheck-debug-testing/firebase-appcheck-debug-testing.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ android {
4444
}
4545

4646
dependencies {
47-
implementation project(':firebase-common')
48-
implementation project(':firebase-components')
47+
implementation 'com.google.firebase:firebase-common:20.3.1'
48+
implementation 'com.google.firebase:firebase-components:17.1.0'
4949
implementation project(':appcheck:firebase-appcheck')
5050
implementation project(':appcheck:firebase-appcheck-debug')
5151
implementation project(':appcheck:firebase-appcheck-interop')
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=16.1.2
2-
latestReleasedVersion=16.1.1
1+
version=16.1.3
2+
latestReleasedVersion=16.1.2

appcheck/firebase-appcheck-debug-testing/src/main/java/com/google/firebase/appcheck/debug/testing/DebugAppCheckTestHelper.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
package com.google.firebase.appcheck.debug.testing;
1616

1717
import androidx.annotation.NonNull;
18+
import androidx.test.platform.app.InstrumentationRegistry;
1819
import com.google.firebase.FirebaseApp;
1920
import com.google.firebase.appcheck.AppCheckProviderFactory;
2021
import com.google.firebase.appcheck.FirebaseAppCheck;
@@ -64,8 +65,8 @@
6465
*/
6566
public final class DebugAppCheckTestHelper {
6667
/**
67-
* Creates a {@link DebugAppCheckTestHelper} instance with a debug secret obtained from {@link
68-
* androidx.test.platform.app.InstrumentationRegistry} arguments.
68+
* Creates a {@link DebugAppCheckTestHelper} instance with a debug secret obtained from <br>
69+
* {@link InstrumentationRegistry} arguments.
6970
*/
7071
@NonNull
7172
public static DebugAppCheckTestHelper fromInstrumentationArgs() {

appcheck/firebase-appcheck-debug/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
3+
# 16.1.2
24
* [unchanged] Updated to keep [app_check] SDK versions aligned.
35

46
# 16.1.1

appcheck/firebase-appcheck-debug/firebase-appcheck-debug.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation project(':firebase-annotations')
45-
implementation project(':firebase-common')
46-
implementation project(':firebase-components')
44+
implementation 'com.google.firebase:firebase-annotations:16.2.0'
45+
implementation 'com.google.firebase:firebase-common:20.3.1'
46+
implementation 'com.google.firebase:firebase-components:17.1.0'
4747
implementation project(':appcheck:firebase-appcheck')
4848
implementation 'com.google.android.gms:play-services-base:18.0.1'
4949
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=16.1.2
2-
latestReleasedVersion=16.1.1
1+
version=16.1.3
2+
latestReleasedVersion=16.1.2

appcheck/firebase-appcheck-debug/src/main/java/com/google/firebase/appcheck/debug/DebugAppCheckProviderFactory.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
import com.google.firebase.FirebaseApp;
1919
import com.google.firebase.appcheck.AppCheckProvider;
2020
import com.google.firebase.appcheck.AppCheckProviderFactory;
21+
import com.google.firebase.appcheck.FirebaseAppCheck;
2122
import com.google.firebase.appcheck.debug.internal.DebugAppCheckProvider;
2223

2324
/**
24-
* Implementation of an {@link AppCheckProviderFactory} that builds {@link DebugAppCheckProvider}s.
25+
* Implementation of an {@link AppCheckProviderFactory} that builds {@code DebugAppCheckProvider}s.
2526
*/
2627
public class DebugAppCheckProviderFactory implements AppCheckProviderFactory {
2728

@@ -30,10 +31,10 @@ public class DebugAppCheckProviderFactory implements AppCheckProviderFactory {
3031
private DebugAppCheckProviderFactory() {}
3132

3233
/**
33-
* Gets an instance of this class for installation into a {@link
34-
* com.google.firebase.appcheck.FirebaseAppCheck} instance. If no debug secret is found in {@link
35-
* android.content.SharedPreferences}, a new debug secret will be generated and printed to the
36-
* logcat. The debug secret should then be added to the allow list in the Firebase Console.
34+
* Gets an instance of this class for installation into a {@link FirebaseAppCheck} instance. If no
35+
* debug secret is found in {@link android.content.SharedPreferences}, a new debug secret will be
36+
* generated and printed to the logcat. The debug secret should then be added to the allow list in
37+
* the Firebase Console.
3738
*/
3839
@NonNull
3940
public static DebugAppCheckProviderFactory getInstance() {

appcheck/firebase-appcheck-interop/api.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,5 @@ package com.google.firebase.appcheck.interop {
1515
method public void onAppCheckTokenChanged(@NonNull com.google.firebase.appcheck.AppCheckTokenResult);
1616
}
1717

18-
public interface InternalAppCheckTokenProvider {
19-
method public void addAppCheckTokenListener(@NonNull com.google.firebase.appcheck.interop.AppCheckTokenListener);
20-
method @NonNull public com.google.android.gms.tasks.Task<com.google.firebase.appcheck.AppCheckTokenResult> getToken(boolean);
21-
method public void removeAppCheckTokenListener(@NonNull com.google.firebase.appcheck.interop.AppCheckTokenListener);
22-
}
23-
2418
}
2519

appcheck/firebase-appcheck-interop/firebase-appcheck-interop.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ android {
4242
}
4343

4444
dependencies {
45-
implementation project(':firebase-common')
46-
implementation project(':firebase-components')
45+
implementation 'com.google.firebase:firebase-common:20.3.1'
46+
implementation 'com.google.firebase:firebase-components:17.1.0'
4747
implementation 'com.google.android.gms:play-services-base:18.0.1'
4848
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
4949

appcheck/firebase-appcheck-interop/src/main/java/com/google/firebase/appcheck/interop/InternalAppCheckTokenProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import com.google.android.gms.tasks.Task;
1919
import com.google.firebase.appcheck.AppCheckTokenResult;
2020

21+
/** @hide */
2122
public interface InternalAppCheckTokenProvider {
2223

2324
/**

appcheck/firebase-appcheck-playintegrity/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
3+
# 16.1.2
24
* [unchanged] Updated to keep [app_check] SDK versions aligned.
35

46
# 16.1.1

appcheck/firebase-appcheck-playintegrity/firebase-appcheck-playintegrity.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation project(':firebase-annotations')
45-
implementation project(':firebase-common')
46-
implementation project(':firebase-components')
44+
implementation 'com.google.firebase:firebase-annotations:16.2.0'
45+
implementation 'com.google.firebase:firebase-common:20.3.1'
46+
implementation 'com.google.firebase:firebase-components:17.1.0'
4747
implementation project(':appcheck:firebase-appcheck')
4848
implementation 'com.google.android.gms:play-services-base:18.0.1'
4949
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=16.1.2
2-
latestReleasedVersion=16.1.1
1+
version=16.1.3
2+
latestReleasedVersion=16.1.2

appcheck/firebase-appcheck-playintegrity/src/main/java/com/google/firebase/appcheck/playintegrity/PlayIntegrityAppCheckProviderFactory.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,19 @@
1818
import com.google.firebase.FirebaseApp;
1919
import com.google.firebase.appcheck.AppCheckProvider;
2020
import com.google.firebase.appcheck.AppCheckProviderFactory;
21+
import com.google.firebase.appcheck.FirebaseAppCheck;
2122
import com.google.firebase.appcheck.playintegrity.internal.PlayIntegrityAppCheckProvider;
2223

2324
/**
24-
* Implementation of an {@link AppCheckProviderFactory} that builds {@link
25-
* PlayIntegrityAppCheckProvider}s. This is the default implementation.
25+
* Implementation of an {@link AppCheckProviderFactory} that builds <br>
26+
* {@link PlayIntegrityAppCheckProvider}s. This is the default implementation.
2627
*/
2728
public class PlayIntegrityAppCheckProviderFactory implements AppCheckProviderFactory {
2829

2930
private static final PlayIntegrityAppCheckProviderFactory instance =
3031
new PlayIntegrityAppCheckProviderFactory();
3132

32-
/**
33-
* Gets an instance of this class for installation into a {@link
34-
* com.google.firebase.appcheck.FirebaseAppCheck} instance.
35-
*/
33+
/** Gets an instance of this class for installation into a {@link FirebaseAppCheck} instance. */
3634
@NonNull
3735
public static PlayIntegrityAppCheckProviderFactory getInstance() {
3836
return instance;

appcheck/firebase-appcheck-safetynet/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
3+
# 16.1.2
24
* [deprecated] Added deprecation tagging to the `SafetyNetAppCheckProviderFactory` class. (#4686)
35

46
# 16.1.1

appcheck/firebase-appcheck-safetynet/firebase-appcheck-safetynet.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation project(':firebase-annotations')
45-
implementation project(':firebase-common')
46-
implementation project(':firebase-components')
44+
implementation 'com.google.firebase:firebase-annotations:16.2.0'
45+
implementation 'com.google.firebase:firebase-common:20.3.1'
46+
implementation 'com.google.firebase:firebase-components:17.1.0'
4747
implementation project(':appcheck:firebase-appcheck')
4848
implementation 'com.google.android.gms:play-services-base:18.0.1'
4949
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=16.1.2
2-
latestReleasedVersion=16.1.1
1+
version=16.1.3
2+
latestReleasedVersion=16.1.2

appcheck/firebase-appcheck-safetynet/src/main/java/com/google/firebase/appcheck/safetynet/SafetyNetAppCheckProviderFactory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
import com.google.firebase.FirebaseApp;
1919
import com.google.firebase.appcheck.AppCheckProvider;
2020
import com.google.firebase.appcheck.AppCheckProviderFactory;
21+
import com.google.firebase.appcheck.FirebaseAppCheck;
2122
import com.google.firebase.appcheck.safetynet.internal.SafetyNetAppCheckProvider;
2223

2324
/**
24-
* Implementation of an {@link AppCheckProviderFactory} that builds {@link
25-
* SafetyNetAppCheckProvider}s. This is the default implementation.
25+
* Implementation of an {@link AppCheckProviderFactory} that builds <br>
26+
* {@link SafetyNetAppCheckProvider}s. This is the default implementation.
2627
*
2728
* @deprecated Use {@code PlayIntegrityAppCheckProviderFactory} instead.
2829
*/
@@ -35,8 +36,7 @@ public class SafetyNetAppCheckProviderFactory implements AppCheckProviderFactory
3536
private SafetyNetAppCheckProviderFactory() {}
3637

3738
/**
38-
* Gets an instance of this class for installation into a {@link
39-
* com.google.firebase.appcheck.FirebaseAppCheck} instance.
39+
* Gets an instance of this class for installation into a {@link FirebaseAppCheck} instance.
4040
*
4141
* @deprecated Use {@code PlayIntegrityAppCheckProviderFactory#getInstance} instead.
4242
*/

appcheck/firebase-appcheck/CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# Unreleased
2+
3+
# 16.1.2
24
* [unchanged] Updated to keep [app_check] SDK versions aligned.
35

46
# 16.1.1
5-
* [changed] Migrated [app_check] SDKs to use standard Firebase executors. (#4431, #4449)
6-
* [changed] Moved Task continuations off the main thread. (#4453)
7+
* [changed] Migrated [app_check] SDKs to use standard Firebase executors.
8+
(GitHub [#4431](//github.com/firebase/firebase-android-sdk/issues/4431){: .external}
9+
and
10+
[#4449](//github.com/firebase/firebase-android-sdk/issues/4449){: .external})
11+
12+
* [changed] Moved Task continuations off the main thread.
13+
(GitHub [#4453](//github.com/firebase/firebase-android-sdk/issues/4453){: .external})
14+
15+
16+
## Kotlin
17+
The Kotlin extensions library transitively includes the updated
18+
`firebase-appcheck` library. The Kotlin extensions library has no additional
19+
updates.
720

821
# 16.1.0
922
* [unchanged] Updated to accommodate the release of the updated

appcheck/firebase-appcheck/firebase-appcheck.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ android {
4242
}
4343

4444
dependencies {
45-
implementation project(':firebase-annotations')
46-
implementation project(':firebase-common')
47-
implementation project(':firebase-components')
48-
implementation project(":appcheck:firebase-appcheck-interop")
45+
implementation 'com.google.firebase:firebase-annotations:16.2.0'
46+
implementation 'com.google.firebase:firebase-common:20.3.1'
47+
implementation 'com.google.firebase:firebase-components:17.1.0'
48+
implementation project(':appcheck:firebase-appcheck-interop')
4949
implementation 'com.google.android.gms:play-services-base:18.0.1'
5050
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
5151

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=16.1.2
2-
latestReleasedVersion=16.1.1
1+
version=16.1.3
2+
latestReleasedVersion=16.1.2

appcheck/firebase-appcheck/ktx/ktx.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ android {
5353
dependencies {
5454
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
5555

56-
implementation project(':firebase-common')
57-
implementation project(':firebase-components')
58-
implementation project(':firebase-common:ktx')
56+
implementation 'com.google.firebase:firebase-common:20.3.1'
57+
implementation 'com.google.firebase:firebase-components:17.1.0'
58+
implementation 'com.google.firebase:firebase-common-ktx:20.3.1'
5959
implementation 'androidx.annotation:annotation:1.1.0'
6060
implementation project(path: ':appcheck:firebase-appcheck')
6161
implementation project(path: ':appcheck:firebase-appcheck-interop')

appcheck/firebase-appcheck/src/main/java/com/google/firebase/appcheck/AppCheckProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
/**
2121
* Interface for a provider that generates {@link AppCheckToken}s. This provider can be called at
22-
* any time by any Firebase library that depends (optionally or otherwise) on {@link
23-
* AppCheckToken}s. This provider is responsible for determining if it can create a new token at the
24-
* time of the call and returning that new token if it can.
22+
* any time by any Firebase library that depends (optionally or otherwise) on <br>
23+
* {@link AppCheckToken}s. This provider is responsible for determining if it can create a new token
24+
* at the time of the call and returning that new token if it can.
2525
*/
2626
public interface AppCheckProvider {
2727

0 commit comments

Comments
 (0)