Skip to content

Commit dd519cc

Browse files
authored
misc: upgrade to kotlinx.coroutines 1.9.0 (#1153)
1 parent ca21a9c commit dd519cc

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.brazil.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
33
"org.jetbrains.kotlin:kotlin-stdlib:2.0.*": "KotlinStdlib-2.x",
4-
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.*": "KotlinxCoroutinesCoreJvm-1.8.x",
4+
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": "KotlinxCoroutinesCoreJvm-1.x",
55

66
"com.squareup.okhttp3:okhttp-coroutines:5.*": "OkHttp3Coroutines-5.x",
77
"com.squareup.okhttp3:okhttp:5.*": "OkHttp3-5.x",
@@ -34,7 +34,7 @@
3434
"resolvesConflictDependencies": {
3535
"com.squareup.okhttp3:okhttp-coroutines:5.*": [
3636
"KotlinStdlib-2.x",
37-
"KotlinxCoroutinesCoreJvm-1.8.x",
37+
"KotlinxCoroutinesCoreJvm-1.x",
3838
"KotlinStdlibJdk7-2.x",
3939
"KotlinStdlibJdk8-2.x"
4040
],
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "347d905e-25a5-49be-9d32-4fbf9305e85d",
3+
"type": "misc",
4+
"description": "Upgrade to kotlinx.coroutines 1.9.0"
5+
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ dokka-version = "1.9.10"
55
aws-kotlin-repo-tools-version = "0.4.10"
66

77
# libs
8-
coroutines-version = "1.8.1"
8+
coroutines-version = "1.9.0"
99
atomicfu-version = "0.24.0"
1010
okhttp-version = "5.0.0-alpha.14"
1111
okhttp4-version = "4.12.0"
1212
okio-version = "3.9.0"
1313
otel-version = "1.32.0"
1414
slf4j-version = "2.0.9"
1515
slf4j-v1x-version = "1.7.36"
16-
crt-kotlin-version = "0.8.8"
16+
crt-kotlin-version = "0.8.9"
1717
micrometer-version = "1.13.2"
1818

1919
# codegen

runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/retries/delay/StandardRetryTokenBucketTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import kotlin.test.assertEquals
1515
import kotlin.test.assertIs
1616
import kotlin.time.Duration.Companion.milliseconds
1717
import kotlin.time.Duration.Companion.seconds
18-
import kotlin.time.ExperimentalTime
1918
import kotlin.time.TestTimeSource
2019
import kotlin.time.TimeSource
2120

@@ -107,7 +106,7 @@ class StandardRetryTokenBucketTest {
107106
}
108107
}
109108

110-
@OptIn(ExperimentalCoroutinesApi::class, ExperimentalTime::class)
109+
@OptIn(ExperimentalCoroutinesApi::class)
111110
private fun TestScope.tokenBucket(
112111
useCircuitBreakerMode: Boolean = false,
113112
initialTryCost: Int = 0,

runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/retries/delay/TimingUtils.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ import kotlinx.coroutines.test.currentTime
1111
import kotlinx.coroutines.test.testTimeSource
1212
import kotlin.test.assertEquals
1313
import kotlin.time.Duration
14-
import kotlin.time.ExperimentalTime
1514
import kotlin.time.measureTimedValue
1615

17-
@OptIn(ExperimentalCoroutinesApi::class, ExperimentalTime::class)
16+
@OptIn(ExperimentalCoroutinesApi::class)
1817
suspend fun <T> TestScope.assertTime(expectedDuration: Duration, block: suspend () -> T): T {
1918
val (result, actualDuration) = testTimeSource.measureTimedValue { block() }
2019

runtime/runtime-core/jvm/test/aws/smithy/kotlin/runtime/retries/impl/AdaptiveRetryIntegrationTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ import kotlinx.coroutines.test.testTimeSource
1414
import kotlin.test.Test
1515
import kotlin.test.assertEquals
1616
import kotlin.time.Duration.Companion.seconds
17-
import kotlin.time.ExperimentalTime
1817

1918
private const val TOLERANCE = 0.0000005
2019

21-
@OptIn(ExperimentalTime::class, ExperimentalCoroutinesApi::class)
20+
@OptIn(ExperimentalCoroutinesApi::class)
2221
class AdaptiveRetryIntegrationTest {
2322
@Test
2423
fun testCubicCases() = runTest {

0 commit comments

Comments
 (0)