https://kotlinlang.org logo
Title
r

ribesg

05/18/2021, 2:43 PM
Is the next Ktor version still planned for next week? Is one of the EAP versions built against Kotlin 1.5.0 & matching dependencies so we can prepare for an upgrade?
👀 1
1
t

turansky

05/18/2021, 5:03 PM
cc @hhariri @e5l
e

e5l

05/18/2021, 5:21 PM
Yep, Kotlin 1.5.0 available in recent eaps: https://ktor.io/eap/
🎉 1
🤔 1
t

turansky

05/18/2021, 5:32 PM
Latest -
1.6.0-new-routing-eap-123
?
e

e5l

05/18/2021, 5:35 PM
Nope, ‘main-*’
t

Thomas

05/18/2021, 9:35 PM
@e5l Which Ktor version uses Kotlin 1.5? I tried main-122 but that seems to be built on 2021-05-14 which does not contain your Kotlin 1.5.0 commit.
h

hhariri

05/19/2021, 4:45 AM
Will check, thanks.
👍 1
r

ribesg

05/19/2021, 8:33 AM
Yeah that’s what I found, I was expecting to find something in the EAP repo but the dates weren’t matching the 1.5.0 commit
e

e5l

05/19/2021, 8:33 AM
Working on the fix
👍 3
Hey, the EAP
main-128
is released. Could you check?
t

turansky

05/21/2021, 2:45 PM
84 errors Popular: 1.
Route.call
missed,
<http://Route.post|Route.post>
missed 2.
Overload resolution ambiguity:
when use
/
or
+=
in
Route
Is there migration plan draft?
e

e5l

05/21/2021, 2:47 PM
It should be compatible, @Rustam Siniukov could you check?
@turansky , thanks for the checking. Could you share a sample to investigate?
t

turansky

05/21/2021, 2:56 PM
io.ktor.locations.get
and
<http://io.ktor.locations.post|io.ktor.locations.post>
and other extensions must be imported directly
<http://io.ktor.routing.post|io.ktor.routing.post>
hide
post
from
location
package
Star imports hell 🙂
Default IDEA settings produce this problem 😞
Fast check results for
main-128
1. It works, no errors detected 2. IDEA import settings update required (before test)
3.
+100 KB
to distribution 😞
e

e5l

05/21/2021, 6:57 PM
2.0.0 will reduce the binary size
t

turansky

05/21/2021, 7:39 PM
-100 KB
? 🙂