Skip to content

Commit a63d93d

Browse files
authored
Merge branch 'main' into rl.double.format
2 parents 2ddbee8 + 80019ca commit a63d93d

File tree

102 files changed

+9376
-6525
lines changed

Some content is hidden

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

102 files changed

+9376
-6525
lines changed

firebase-dataconnect/CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Unreleased
2-
2+
* [changed] Requires Data Connect emulator version 1.6.1 or later for code generation.
3+
* [feature] QueryRef and MutationRef gain methods copy(), withDataDeserializer(),
4+
and withVariablesSerializer().
5+
([#6424](https://github.com/firebase/firebase-android-sdk/pull/6424))
6+
* [feature] GeneratedConnector gains methods copy(), operations(), queries(),
7+
and mutations().
8+
([#6424](https://github.com/firebase/firebase-android-sdk/pull/6424))
9+
* [feature] GeneratedQuery and GeneratedMutation gain methods copy(),
10+
withVariablesSerializer(), and withDataDeserializer().
11+
([#6424](https://github.com/firebase/firebase-android-sdk/pull/6424))
12+
* [feature] GeneratedConnector, GeneratedQuery, and GeneratedMutation now
13+
must implement equals() to be a _logical_ comparsion, rather than just
14+
checking for _referencial_ equality using the `===` operator.
15+
([#6424](https://github.com/firebase/firebase-android-sdk/pull/6424))
16+
* [feature] ExperimentalFirebaseDataConnect annotation added, and some
17+
APIs have been annotated with it, requiring applications that make use of
18+
these experimental APIs to opt-in using
19+
`@OptIn(ExperimentalFirebaseDataConnect::class)` to suppress warnings or
20+
errors related to using these experimental APIs.
21+
([#6424](https://github.com/firebase/firebase-android-sdk/pull/6424)) and
22+
([#6433](https://github.com/firebase/firebase-android-sdk/pull/6433))
23+
* [changed] Replaced java.util.Date with
24+
com.google.firebase.dataconnect.LocalDate.
25+
([#6434](https://github.com/firebase/firebase-android-sdk/pull/6434))
326

427
# 16.0.0-beta02
528
* [changed] Updated protobuf dependency to `3.25.5` to fix

firebase-dataconnect/androidTestutil/src/main/kotlin/com/google/firebase/dataconnect/testutil/DataConnectIntegrationTestBase.kt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ package com.google.firebase.dataconnect.testutil
1818

1919
import androidx.test.ext.junit.runners.AndroidJUnit4
2020
import com.google.firebase.dataconnect.ConnectorConfig
21-
import com.google.firebase.util.nextAlphanumericString
2221
import io.kotest.property.Arb
2322
import io.kotest.property.RandomSource
2423
import io.kotest.property.arbitrary.Codepoint
2524
import io.kotest.property.arbitrary.alphanumeric
2625
import io.kotest.property.arbitrary.arbitrary
2726
import io.kotest.property.arbitrary.string
28-
import kotlin.random.Random
2927
import org.junit.Rule
3028
import org.junit.rules.TestName
3129
import org.junit.runner.RunWith
@@ -84,28 +82,3 @@ abstract class DataConnectIntegrationTestBase {
8482
/** The name of the currently-running test, in the form "ClassName.MethodName". */
8583
val DataConnectIntegrationTestBase.testName
8684
get() = this::class.qualifiedName + "." + testNameRule.methodName
87-
88-
/**
89-
* Generates and returns a string containing random alphanumeric characters, including the name of
90-
* the currently-running test as returned from [testName].
91-
*
92-
* @param prefix A prefix to include in the returned string; if null (the default) then no prefix
93-
* will be included.
94-
* @param numRandomChars The number of random characters to include in the returned string; if null
95-
* (the default) then a default number will be used. At the time of writing, the default number of
96-
* characters is 20 (but this may change in the future).
97-
* @return a string containing random characters and incorporating the other information identified
98-
* above.
99-
*/
100-
fun DataConnectIntegrationTestBase.randomAlphanumericString(
101-
prefix: String? = null,
102-
numRandomChars: Int? = null
103-
): String = buildString {
104-
if (prefix != null) {
105-
append(prefix)
106-
append("_")
107-
}
108-
append(testName)
109-
append("_")
110-
append(Random.nextAlphanumericString(length = numRandomChars ?: 20))
111-
}

firebase-dataconnect/api.txt

Lines changed: 57 additions & 4 deletions
Large diffs are not rendered by default.

firebase-dataconnect/connectors/connectors.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ dependencies {
7575
testImplementation(libs.kotlin.coroutines.test)
7676
testImplementation(libs.mockk)
7777
testImplementation(libs.robolectric)
78-
testImplementation(libs.truth)
7978

8079
androidTestImplementation(project(":firebase-dataconnect:androidTestutil"))
8180
androidTestImplementation(project(":firebase-dataconnect:testutil"))

0 commit comments

Comments
 (0)