:mega: Ktor `1.3.2-1.4-M2` has been released with ...
# ktor
e
📣 Ktor
1.3.2-1.4-M2
has been released with Kotlin 1.4-M2 support
🍾 3
👍 12
j
@e5l does that now contain "native-mt" support?
e
Hi @John O'Reilly, we can’t release kotlinx.coroutines
native-mt
with
M2
due to kotlin-native issues. I hope we will publish it with
M3
. Sorry for bad news, we’re also waiting for that 😞
j
ok, thanks
z
@e5l Hi, I’m a little bit confused what
native-mt
support means here ☝️. Could you explain a little bit? 😓 Can we use Ktor
1.3.2-1.4-M2
with iOS for example or it’s not gonna work?
l
@zalewski.se mt stands for multi-thread. It allows switching dispatchers and ready to use
Dispatchers.Main
implementation on Apple OSes.
🙏 2
👌 2
a
@e5l I’ve changed versions in my project to 1.4-M2 and 1.3.2-1.4-M2 and have error:
Could not find io.ktor:ktor-client-core-native:1.3.2-1.4-M2
I’ve use Curl as ktor-client and will use CIO in new version. How I have to change my project?
e
Could you list the dependencies section? You should be able to use artifacts without
-native
from kotlin
1.4
z
@louiscad Thanks a lot! That part I was missing.
r
@e5l so the new ktor release wont work for example even with coroutines 1.3.5-native-mt-1.4-M1 ? https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.5-native-mt-1.4-M1
e
Yes, and I'm not sure if
native-mt
coroutines for kotlin
1.4-M1
will work with kotlin
1.4-M2
r
ok, thx for the update. Looking forward to
1.4-M3
a
@e5l I’ve reduced file to
Copy code
kotlin {
    macosX64("macos")
    val kotlinVersion = "1.4-M2"
    val ktorVersion = "1.3.2-1.4-M2"
    sourceSets {
        commonMain {
            dependencies {
                implementation(kotlin("stdlib-common"))
                implementation("io.ktor:ktor-client-core:${ktorVersion}")
            }
        }
    }
}
Error:
e: Could not find "io.ktor:ktor-io-cinterop-bits" in ...
j
Hi @e5l , I see 1.4-M3 was released today....do you know if release of ktor with kotlinx coroutnes
native-mt
support will be released corresponding to this? (sorry to keep hassling you about this but will be really nice to have this in place 🙂 )
e
No problem! It will be with a small delay
👍 3