Closed yuvaraj119 closed 1 week ago
FYI I stumbled upon the same issue, however, looking at the changelog of 3.0.0 there is no mention of binary breakage, so I created an upstream ticket to get this eventually fixed: https://youtrack.jetbrains.com/issue/KTOR-7579
I'm not sure if we can expect a major version bump to be binary compatible. If it's not and the issue is not resolved, i'm not yet sure how to proceed, as ktor is obviously an essential part of this library and I'm not going to maintain two different branches. I guess we will upgrade to ktor 3.0.0 and continue with that version in the future.
@kalinjul @realdadfish There are minimal changes required looks like Auth im not able to extend anymore. Something like Auth.addBearear Here Auth is changed to AuthConfig. AuthConfig.addBearear we will have to use. Also some related to durations are changed. These are the changes which i faced for my internal NetworkClient. It is breaking changes not able to use until i made all the changes in my client after upgrade to 3.0.0.
Could you check 0.12.0-SNAPSHOT? To use a snapshot version, you must add maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") to your repositories. See available snapshots.
ktor 3 support is available in 0.12.0
Error 1 unable to use oidcBearer in install(Auth) config
Error 2