All Versions
43
Latest Version
Avg Release Cycle
82 days
Latest Release
15 days ago

Changelog History
Page 1

  • v2.9.0

    May 20, 2020
    • 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(..).

  • v2.8.2

    May 18, 2020
    • 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.
  • v2.8.1

    March 25, 2020
    • Fix: Do not access MethodHandles.Lookup on Android API 24 and 25. The class is only available on Android API 26 and higher.
  • v2.8.0

    March 23, 2020
    • New: Add Call.timeout() which returns the okio.Timeout of the full call.
    • Fix: Change Call.awaitResponse() to accept a nullable response type.
    • Fix: Support default methods on Java 14+. We had been working around a bug in earlier versions of Java. That bug was fixed in Java 14, and the fix broke our workaround.
  • v2.7.2

    February 24, 2020
    • Fix: Update to OkHttp 3.14.7 for compatibility with Android R (API 30).
  • v2.7.1

    January 02, 2020
    • Fix: Support 'suspend' functions in services interfaces when using 'retrofit-mock' artifact.
  • v2.7.0

    December 09, 2019

    🚀 This release changes the minimum requirements to Java 8+ or Android 5+. 👀 See this blog post for more information on the change.

    • New: Upgrade to OkHttp 3.14.4. Please see its changelog for 3.x.
    • Fix: Allow service interfaces to extend other interfaces.
    • Fix: Ensure a non-null body is returned by Response.error.
  • v2.6.4

    January 02, 2020
    • Fix: Support 'suspend' functions in services interfaces when using 'retrofit-mock' artifact.
  • v2.6.3

    December 09, 2019
    • Fix: Change mechanism for avoiding UndeclaredThrowableException in rare cases from using yield an explicit dispatch which ensures that it will work even on dispatchers which do not support yielding.
  • v2.6.2

    September 23, 2019
    • Fix: Avoid IOExceptions being wrapped in UndeclaredThrowableException in rare cases when using Response<..> as a return type for Kotlin 'suspend' functions.