Retrofit v2.9.0 Release Notes

Release Date: 2020-05-20 // about 4 years ago
    • New: RxJava 3 adapter!

    The Maven coordinates are com.squareup.retrofit2:rxjava3-adapter.

    Unlike the RxJava 1 and RxJava 2 adapters, the RxJava 3 adapter's create() method will produce asynchronous HTTP requests by default. For synchronous requests use createSynchronous() and for synchronous on a scheduler use createWithScheduler(..).

Previous changes from v2.8.2

    • Fix: Detect running on the Android platform by using system property rather than the presence of classes. This ensures that even when you're running on the JVM with Android classes present on the classpath you get JVM semantics.
    • Fix: Update to OkHttp 3.14.9 which contains an associated Android platform detection fix.