retrofit v1.6.0 Release Notes
Release Date: 2014-06-06 // almost 10 years ago-
- New:
@Streaming
on aResponse
type will skip buffering the body to abyte[]
before delivering. - When using OkHttp, version 1.6.0 or newer (including 2.0.0+) is now required.
- The absence of a response body and an empty body are now differentiated in the log messages.
- Fix: If set, the
RequestInterceptor
is now applied at the time ofObservable
subscription rather than at the time of its creation. - Fix:
Callback
subtypes are now supported when usingMockRestAdapter
. - Fix:
RetrofitError
now contains a useful message indicating the reason for the failure. - Fix: Exceptions thrown when parsing the response type of the interface are now properly propagated.
- Fix: Calling
Response#getBody
whennull
body now correctly returns instead of throwing an NPE. - Experimental RxJava support updated for v0.19.
- The
Content-Type
andContent-Length
headers are no longer automatically added to the header list on theRequest
object. This reverts erroneous behavior added in v1.5.0. CustomClient
implementations should revert to adding these headers based on theTypedInput
body of theRequest
.
- New: