Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.7.1
->1.10.2
0.7.1
->0.7.1-0.6.x-compat
2.2.0-2.0.2
->2.2.10-2.0.2
2.2.0
->2.2.10
2.2.0
->2.2.10
2.2.0
->2.2.10
Release Notes
Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-play-services)
v1.10.2
Compare Source
kotlinx-coroutines-debug
JAR file including themodule-info.class
file twice, resulting in failures in various tooling (#4314). Thanks, @RyuNen344!Flow.stateIn
hanging when the scope is cancelled in advance or the flow is empty (#4322). Thanks, @francescotescari!.limitedParallelism
(#4330) and during flow collection (#4272).runBlocking
failing to run its coroutine to completion in some cases if its JVM thread got interrupted (#4399).v1.10.1
Compare Source
v1.10.0
Compare Source
Flow.any
,Flow.all
, andFlow.none
(#4212). Thanks, @CLOVIS-AI!kotlinx-coroutines-debug
andkotlinx-coroutines-core
code to avoid a split package between the two artifacts (#4247). Note that directly referencingkotlinx.coroutines.debug.AgentPremain
must now be replaced withkotlinx.coroutines.debug.internal.AgentPremain
. Thanks, @sellmair!kotlinx-coroutines-debug
, reducing the artifact size and simplifying the build configuration of client code. Thanks, @sellmair!NullPointerException
when using Java-deserializedkotlinx-coroutines-core
exceptions (#4291). Thanks, @AlexRiedler!CoroutineDispatcher.dispatch
instead of raising internal errors (#4091). Thanks, @zuevmaxim!Dispatchers.Default
orDispatchers.IO
task after ayield()
in rare scenarios (#4248).main()
coroutine on Wasm/WASI from executing after adelay()
call in some scenarios (#4239).runBlocking
tasks on Kotlin/Native that arrive after therunBlocking
block was exited (#4245).Flow
operators sometimes resuming without taking cancellation into account (#4254). Thanks, @jxdabc!ThreadLocal
values not to get cleaned when using non-CoroutineDispatcher
continuation interceptors (#4296).v1.9.0
Compare Source
Features
limitedParallelism
now optionally accepts the name of the dispatcher view for easier debugging (#4023).Dispatchers.IO
on the JVM when other standard dispatchers are accessed (#4166). Thanks, @metalhead8816!Flow<T>.chunked(size: Int): Flow<List<T>>
operator that groups emitted values into groups of the given size (#1290).AutoCloseable
now (#4123).Fixes
hasNext
on aChannel
's iterator is idempotent (#4065). Thanks, @gitpaxultek!CoroutineScope()
created without an explicit dispatcher usesDispatchers.Default
on Native (#4074). Thanks, @whyoleg!Dispatchers.Main
from initializing when the Firebase dependency is used (#3914).runBlocking
(#4134).Mutex
toSemaphore
(#4176).asDeferred
on aFuture
many times (#4156).Deprecations and promotions
BroadcastChannel
-based API (#4197).kotlinx-coroutines-test
API (#4198).Job.cancelFutureOnCompletion
(#4173).CoroutineDispatcher.limitedParallelism
to stable (#3864).CoroutineStart.ATOMIC
fromExperimentalCoroutinesApi
toDelicateCoroutinesApi
(#4169).CancellableContinuation.resume
with anonCancellation
lambda to stable, providing extra arguments to the lambda (#4088).InternalForInheritanceCoroutinesApi
opt-in (#3770).ExperimentalForInheritanceCoroutinesApi
opt-in (#3770).Other
CoroutineStart
andChannel
-based API (#4147, #4148, #4167). Thanks, @globsterg!Job
(#4053).v1.8.1
Compare Source
@ExperimentalTime
annotation from usages ofTimeSource
(#4046). Thanks, @hfhbd!NullPointerException
when setting theStateFlow
value on old Android devices (#3820).kotlin.random.Random
as part ofDispatchers.Default
andDispatchers.IO
initialization (#4051).Flow.timeout
throws the exception with which the channel was closed (#4071).Changelog relative to version 1.8.1-Beta
Flow.timeout
throws the exception with which the channel was closed (#4071).v1.8.0
Compare Source
Dispatchers.Main != Dispatchers.Main.immediate
(#3545, #3963).Flow
operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)kotlinx-coroutines-debug
is published with the correct Java 9 module info (#3944).kotlinx-coroutines-debug
no longer requires manually settingDebugProbes.enableCoroutineCreationStackTraces
tofalse
, it's the default (#3783).kotlinx-coroutines-test
: set the default timeout ofrunTest
to 60 seconds, added the ability to configure it on the JVM with thekotlinx.coroutines.test.default_timeout=10s
(#3800).kotlinx-coroutines-test
: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).delay(Duration)
rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @kevincianfarini!Dispatchers.Default
and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).SharedFlow.collect
suspends for the first time, it's registered as a subscriber for thatSharedFlow
(#3885). Before, it was also true, but not documented.withLock
on JS (#3881). Thanks @CLOVIS-AI!Changelog relative to version 1.8.0-RC2
kotlinx-coroutines-debug
no longer requires manually settingDebugProbes.enableCoroutineCreationStackTraces
tofalse
, it's the default (#3783).Flow
operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)v1.7.3
Compare Source
v1.7.2
Compare Source
Bug fixes and improvements
CopyableThreadContextElement
now properly copies an element when crossing the coroutine boundary inflowOn
(#3787). Thanks @wanyingd1996!newSingleThreadContext
from closing (#3768).Mutex
duringtryLock
/unlock
sequence with owners is fixed (#3745).google/ksp (com.google.devtools.ksp)
v2.2.10-2.0.2
Compare Source
What's Changed
Full Changelog: google/ksp@2.2.10-RC2-2.0.2...2.2.10-2.0.2
JetBrains/kotlin (org.jetbrains.kotlin.plugin.compose)
v2.2.10
: Kotlin 2.2.10Changelog
Compiler
KT-79276
Dexing fails with "Cannot read field X because is null" with 2.2.0KT-79442
"Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfacesKT-78815
Symbol not found: __ZNSt3__117bad_function_callD1Ev
error on iOS 15.5 simulator in Xcode 16.3 after update to 2.2.0-Beta2KT-78501
K2: Missing [ABSTRACT_SUPER_CALL] diagnostics for delegated interface method leads to AssertionError: isCompiledToJvmDefault during IR loweringKT-78479
IR lowering failed / Unexpected null argument for composable callKT-76477
Kotlin/Native: fix compiler performance reporting in sources->klib and klibs->binaryKT-78736
Missing [NOT_YET_SUPPORTED_IN_INLINE] diagnostics because of incorrect context updateKT-77685
"IllegalArgumentException: Sequence contains more than one matching element"KT-76365
K2: Missing ABSTRACT_SUPER_CALLKT-78352
False-positive IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE when comparing with equality operator (==)Compose compiler
KT-78479
Ensure that default transform affects functions entered through a callKT-78490
Fix visibility for default wrappers of protected methodsb/408492167
Emit parameter names in Compose source informationJavaScript
KT-79050
KJS / IC: "Unexpected body of primary constructor for processing irClass"KT-79089
KJS: Could not load reporter / Cannot find module 'mocha' when running jsNode testsNative
KT-79075
Stuck on Kotlin_getSourceInfo_core_symbolicationKT-76178
LLVM Update: symbol '__ZnwmSt19__type_descriptor_t' missingNative. Runtime. Memory
KT-78925
Crash SIGABRT on Apple Watch after updating Kotlin to 2.2.0Tools. CLI
KT-77445
UNRESOLVED_REFERENCE when importing classes from kotlin-stdlibKT-78263
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.impl.PsiSubstitutorImplKT-78318
Unresolved reference when compiling kotlin/JS project on fresh masterTools. Compiler Plugins
KT-78490
"AssertionError: SyntheticAccessorLowering should not attempt to modify other files" when calling protected open composable with default argumentKT-78038
Make jvm-abi-gen compiler plugin output classloader-friendlyTools. Gradle
KT-77023
Support creating KotlinJvmAndroidCompilation in KotlinBaseApiPluginTools. Gradle. JS
KT-78504
[2.2.0-RC3] NPM Tasks in 2.2 RCs produce broken/unusable build cache entriesTools. Gradle. Multiplatform
KT-77466
KMP - testFixturesApi and similar configurations do not affect jvmTestFixtures source setKT-68646
Compose extension's metrics/reports dir should use subdirs based on targetTools. Gradle. Native
KT-77977
"Unknown hardware platform: riscv64" on JVM project buildTools. Incremental Compile
KT-78807
Changing ABI fingerprint on non-ABI changes when lambda passed to inlined functionTools. Kapt
KT-77853
K2 KAPT: backend internal error: exception during IR fake override builderKT-79138
K2: KAPT Java Stub Gen:Unresolved reference
with@kotlin
.Metadata in Java in 2.2.0Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.