okhttp v5.0.0-alpha.1 Release Notes
🚀 This release adds initial support for [GraalVM][graalvm].
GraalVM is an exciting new platform and we're eager to adopt it. The startup time improvements over the JVM are particularly impressive. Try it with okcurl:
$ ./gradlew okcurl:nativeImage $ ./okcurl/build/graal/okcurl https://cash.app/robots.txt
🚀 This is our first release that supports GraalVM. Our code on this platform is less mature than JVM and Android! Please report any issues you encounter: we'll fix them urgently.
- Fix: Attempt to read the response body even if the server canceled the request. This will cause
some calls to return nice error codes like
HTTP/1.1 429 Too Many Requestsinstead of transport errors like
SocketException: Connection resetand
StreamResetException: stream was reset: CANCEL.
- New: Support OSGi metadata.
Upgrade: [Okio 2.9.0][okio_2_9_0].
🚀 Note that this was originally released on 2020-10-06 as 4.10.0-RC1. The only change from that 🚀 release is the version name.
- Fix: Attempt to read the response body even if the server canceled the request. This will cause some calls to return nice error codes like