Morning! We've upgraded your favourite HTTP librar...
# http4k
d
Morning! We've upgraded your favourite HTTP library to the newly released Kotlin 1.6.0, and taken the chance to remove all of the existing deprecations in the source. As ever, if you're upgrading from an older version, we recommend going to the latest non-breaking version (4.16.3.0) first and dealing with any deprecations before taking the leap to the new one 🎉 Version v4.17.0.0 available now in Maven Central! 🎉 https://www.http4k.org/changelog/#v41700
🎉 1
👍 4
🙌 1
j
c
imo thats not 100% correct, both undertow and jetty, and okhttp have non blocking modes that would benefit greatly from coroutines.
1
f
If all you want is non-blocking behaviour, just use a Loom based JVM, which means you still can write your code in familiar style, but still benefit from virtual threads. Works perfectly with Jetty server and/or Apache client, with setup needed to use the correct thread factories in your code. Of course there are still many other reason why you would want to use coroutines to manage the data flow, so I'm not saying you wouldn't want to use them.