https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
j

jessewilson

11/04/2023, 1:12 PM
We’re going to change up OkHttp multiplatform a lot before 5.0 final. Probably new shareable APIs cause it’s too difficult to share our existing ones
3
y

yschimke

11/04/2023, 1:49 PM
Particularly a good opportunity to build on kotlix.io
2
u

ursus

11/05/2023, 12:22 AM
But the idea would be just that? That okhttp types would be available in common? But the underlying engine would still be platform dependant? i.e. on android whatever it is now, and URLSession on ios?
y

yschimke

11/05/2023, 1:56 AM
Yep. No implementation of http/3 is coming. So even OkHttp as a nice familiar API in front of say Android HttpEngine (Cronet). There are libraries that chose OkHttp, like Coil. Would be nice if OkHttp wasn't the thing stopping them supporting KMP
2
❤️ 1
p

Paul Woitaschek

11/05/2023, 6:43 PM
Did you think about first party coroutines support?
j

jessewilson

11/05/2023, 7:17 PM
Yes and yes
We don’t need Call as a class if we have coroutines
🤯 1
p

Paul Woitaschek

11/05/2023, 7:17 PM
Wonderful 👍
u

ursus

11/05/2023, 7:55 PM
is there a rough eta on the 5.0? a year maybe?
j

jessewilson

11/06/2023, 3:44 AM
No ETAs as a rule. If you use the alphas we might change the newly-added APIs but the code is the most mature, best version for quality and bug fixes
❤️ 1
d

Daniel Perez

11/06/2023, 5:18 PM
I figured multiplatform would be 6.0 as it seems the 5.0 work so far was a lot of GraalVM work
y

yschimke

11/07/2023, 4:25 AM
GraalVM and Loom were not major targets, just seemed like things that should be supported.
1
8 Views