BREAKING: Upgrading our dependency on OkHttp #1289
lauzadis
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An upcoming release of the AWS SDK for Kotlin will upgrade our dependency on OkHttp to v5.0.0-alpha.14. This version contains a number of breaking changes and earlier versions of the SDK are not compatible with it.
Release date
This feature will ship with the v1.2.0 release planned for 4/22/2024.
What's changing
The Kotlin SDK will be upgrading its dependency on OkHttp to v5.0.0-alpha.14. If you don't directly depend on OkHttp alongside the AWS SDK for Kotlin AND you don't depend on different versions of the AWS SDK for Kotlin in the same project, this change should not affect you.
If you do have direct dependencies on OkHttp and the AWS SDK for Kotlin, you will need to upgrade to OkHttp v5.0.0-alpha.14 along with your upgrade to AWS SDK for Kotlin v1.2.0.
If you do depend on different versions of the AWS SDK for Kotlin in the same project, you will need to make sure they are all upgraded to v1.2.0 together. Versions of the SDK prior to v1.2.0 will no longer be compatible with newer versions.
If you've already upgraded your OkHttp version and are experiencing this error, it will be resolved by upgrading to AWS SDK for Kotlin v1.2.0:
java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/JvmCallExtensionsKt;
How to migrate
Feedback
If you have any questions concerning this change, please feel free to engage with us in this discussion. If you encounter a bug with these changes, please file an issue.
Beta Was this translation helpful? Give feedback.
All reactions