:mega::mega::mega: The 1.9.0-RC release of kotlinx...
# coroutines
d
📣📣📣 The 1.9.0-RC release of kotlinx.coroutines is here! Highlights: • It uses Kotlin 2.0; • A new Flow operator: `Flow<T>.chunked(size: Int): Flow<List<T>>`; • Wasm/WASI support; •
limitedParallelism
is stable and can optionally accept the name of the new view. Details: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.9.0-RC Please try it out and tell us what you think! Feedback on release candidates from our more adventurous users is invaluable.
🎉 19
👍 1
👍🏼 1
very nice 1
s
👍 something i noticed while testing with ktor 3.0.0-Beta-1 is, it uses an internal coroutine API, which has a breaking ABI change - https://github.com/Kotlin/kotlinx.coroutines/commit/2803a3398eb00bf2e78db2be73e1adbb3fd4f0e1#diff-fbb6ad3e39a6aa9c164ce[…]9eb69e6e95185b6f772R17-R27
Copy code
SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider]
2024-05-28 12:57:57.409 PDT ERROR  [main]  main - Failed to start the application: 'void kotlinx.coroutines.internal.LockFreeLinkedListHead.addLast(kotlinx.coroutines.internal.LockFreeLinkedListNode)'
java.lang.NoSuchMethodError: 'void kotlinx.coroutines.internal.LockFreeLinkedListHead.addLast(kotlinx.coroutines.internal.LockFreeLinkedListNode)'
        at io.ktor.events.Events.subscribe(Events.kt:23) ~[jvm-app:0.13.0.19+f6c00db]
        at io.ktor.server.engine.BaseApplicationEngine.<init>(BaseApplicationEngine.kt:50) ~[jvm-app:0.13.0.19+f6c00db]
        at io.ktor.server.engine.BaseApplicationEngine.<init>(BaseApplicationEngine.kt:29) ~[jvm-app:0.13.0.19+f6c00db]
u
Same for Ktor 2.3.11 unfortunately
109 Views