retrofit v1.7.0 Release Notes
Release Date: 2014-10-08 // over 9 years ago-
- New:
RetrofitError
'sgetKind()
now disambiguates the type of error represented. - New:
HEADERS_AND_ARGS
log level displays parameters passed to method invocation along with normal header list. - New:
@Part
and@PartMap
now support specifying theContent-Transfer-Encoding
of their respective values. - New:
@Path
,@Query
, and@QueryMap
now have options for enabling or disabling URL encoding on names (where appropriate) and values. @Header
now accepts all object types, invokingString.valueOf
when neccesary.- Attempting to use a
@Path
replacement block ({name}
) in a query parameter now suggested@Query
in the exception message. - Fix: Correct NPE when
Content-Type
override is specified on requests without a body. - Fix:
WireConverter
now correctly throwsConversionException
on incorrect MIME types for parity withProtoConverter
. - Fix: Include
Content-Type
on AppEngine requests. - Fix: Account for NPE on AppEngine when the response URL was not automatically populated in certain cases.
- Fix:
MockRestAdapter
's RxJava support now correctly schedules work on the HTTP executor, specifically when chaining multiple requests together. - Experimental RxJava support updated for v0.20.
- New: