retrofit v2.0.0-beta1 Release Notes
Release Date: 2015-08-27 // over 8 years ago-
- New:
Call
encapsulates a single request/response HTTP call. A call can by run synchronously viaexecute()
or asynchronously viaenqueue()
and can be canceled withcancel()
. - New:
Response
is now parameterized and includes the deserialized body object. - New:
@Url
parameter annotation allows passing a complete URL for an endpoint. - New: OkHttp is now required as a dependency. Types like
TypedInput
andTypedOutput
(and its implementations),Request
, andHeader
have been replaced with OkHttp types likeRequestBody
,ResponseBody
, andHeaders
. - New:
CallAdapter
(andFactory
) provides extension point for supporting multiple execution mechanisms. An RxJava implementation is provided by a sibling module. - New:
Converter
(andFactory
) provides extension point for supporting multiple serialization mechanisms. Gson, Jackson, Moshi, Protobuf, Wire, and SimpleXml implementations are provided by sibling modules. - Fix: A lot of things.
- Hello Droidcon NYC 2015!
- New: