smithy-lang / smithy-kotlin

Smithy code generator for Kotlin (in development)
Apache License 2.0
64 stars 26 forks source link

misc: upgrade to OkHttp 5.0.0-alpha.14, Okio 3.9.0, Kotlin 1.9.23 #1070

Closed lauzadis closed 2 months ago

lauzadis commented 2 months ago

Upgrade to the latest versions of OkHttp, Okio, and Kotlin.

Changes include needing to opt-in to ExperimentalCoroutinesApi for the executeAsync call and no longer being able to implement BufferedSink because it's now a sealed interface.

We can only use Buffer in our tests now, which is hardcoded to always open, so the isClosed checks are no longer possible to perform.

Issue \

Related to https://github.com/smithy-lang/smithy-kotlin/issues/1068

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.