New libraries versions with Kotlin/Wasm compatible...
# webassembly
b
New libraries versions with Kotlin/Wasm compatible with 1.9.20-RC2+
Copy code
serialization 1.6.1-wasm1
atomic 0.22.0-wasm2
coroutines 1.7.2-wasm3
immutable 0.4-wasm1
datetime 0.4.1-wasm1
ktor 3.0.0-wasm1
Compose for Web will be available later, feel free to follow KT-62872
๐Ÿ‘ 9
๐Ÿ‘๐Ÿพ 1
๐Ÿ‘๐Ÿผ 1
kodee happy 2
j
When are you roughly hoping to update Compose for Web? I have it disabled in a number of samples for now due to them being updated to Kotlin 1.9.20
b
cc @Oleksandr Karpovich [JB]
o
working on it ๐Ÿ™‚ today or monday at latest
๐Ÿ‘ 2
thank you color 1
kodee excited 1
it's ready: 1.5.10-dev-wasm02
j
Nice, thanks!
r
Working fine for me. Thanks!
K 1
j
Can't remember if this was case before but seems like we need to use
1.5.10-dev-wasm02
for all compose multiplatform targets e.g. desktop?
o
it's better to not mix different versions of the gradle plugin in one project (it will likely cause some problems). But using 1.5.10 compose libs for desktop is okay. Do you need to use different versions?
j
I'm seeing issues using 1.5.10 for say desktop and then 1.5.10-dev-wasm02 for web....if I use 1.5.10-dev-wasm02 for both then it's fine
o
I see. For development purpose it's okay to use 1.5.10-dev-wasm02 for all platforms. But if it's about a production (e.g. commercial) app for android/desktop/ios, it's better to make sure the release build is built with 1.5.10 for them. So an extra property and configuration will be necessary to select a correct version
๐Ÿ‘ 1
a
Do we have IO dispatcher in
coroutines 1.7.2-wasm3
?
b
I think no, the API surface is similar to js version.
142 Views