Retrofit v2.4.0 Release Notes
Release Date: 2018-03-14 // about 6 years ago-
- New:
Retrofit.Builder
exposes mutable lists of the added converter and call adapter factories. - New: Call adapter added for Scala's
Future
. - New: Converter for JAXB replaces the now-deprecated converter for Simple XML Framework.
- New: Add Java 9 automatic module names for each artifact corresponding to their root package.
- Fix: Do not swallow
Error
s from callbacks (usuallyOutOfMemoryError
). - Fix: Moshi and Gson converters now assert that the full response was consumed. This prevents hiding bugs in faulty adapters which might not have consumed the full JSON input which would then cause failures on the next request over that connection.
- Fix: Do not conflate OkHttp
Call
cancelation with RxJava unsubscription/disposal. Prior to this change, canceling of aCall
would prevent a cancelation exception from propagating down the Rx stream.
- New: