https://kotlinlang.org logo
#ktor
Title
# ktor
m

mboudraa

05/11/2021, 2:15 PM
Hi everyone, I’m migrating to kotlin 1.5 on a multiplatform project (ios, android) and it seems like ktor is embedding coroutines 1.4.3. The recommended coroutines version according to the doc is 1.5.0-RC which breaks binary compatibility with 1.4.3. Is there a timeline for when ktor would update fully to kotlin 1.5.0 and coroutines 1.5.0-RC at least?
j

John O'Reilly

05/11/2021, 2:18 PM
Ktor also depends I believe on the
native-mt
version of kotlinx coroutines....not sure if a 1.5 version of that is available yet?
m

mboudraa

05/11/2021, 2:18 PM
yes it is. 1.5.0-RC-native-mt is available I depend on it too. usually both regular and
native-mt
versions are built at the same time
j

John O'Reilly

05/11/2021, 2:19 PM
ah, cool....is there official 1.5 version yet as well?
m

mboudraa

05/11/2021, 2:20 PM
for coroutines, unfortunately it stops at RC so far. Would that be the reason why ktor hasnt upgraded to coroutines 1.5 yet?
j

John O'Reilly

05/11/2021, 2:20 PM
"usually both regular and 
native-mt
 versions are built at the same time" that was case I think for last release but hadn't typically been before that...
m

mboudraa

05/11/2021, 2:22 PM
I don’t know honestly. I never had trouble depending on the native-mt version of coroutines. I think I read somewhere since 1.4.2 they’re built at the same time
m

mboudraa

05/11/2021, 2:28 PM
awesome!!!. Thank you