All Versions
38
Latest Version
Avg Release Cycle
96 days
Latest Release
24 days ago

Changelog History
Page 3

  • v1.8.0

    November 18, 2014
    • Update to RxJava 1.0. This comes with the project's 'groupId' change from com.netflix.rxjava to io.reactivex which is why the minor version was bumped.
  • v1.7.1

    October 23, 2014
    • Fix: Correctly log null request arguments for HEADERS_AND_ARGS log level.
  • v1.7.0

    October 08, 2014
    • New: RetrofitError's getKind() 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 the Content-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, invoking String.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 throws ConversionException on incorrect MIME types for parity with ProtoConverter.
    • 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.
  • v1.6.1

    July 02, 2014
    • Fix: Add any explicitly-specified 'Content-Type' header (via annotation or param) to the request even if there is no request body (e.g., DELETE).
    • Fix: Include trailing CRLF in multi-part uploads to work around a bug in .NET MVC 4 parsing.
    • Fix: Allow null mock exception bodies and use the success type from the declared service interface.
  • v1.6.0

    June 06, 2014
    • New: @Streaming on a Response type will skip buffering the body to a byte[] 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 of Observable subscription rather than at the time of its creation.
    • Fix: Callback subtypes are now supported when using MockRestAdapter.
    • 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 when null body now correctly returns instead of throwing an NPE.
    • Experimental RxJava support updated for v0.19.
    • The Content-Type and Content-Length headers are no longer automatically added to the header list on the Request object. This reverts erroneous behavior added in v1.5.0. Custom Client implementations should revert to adding these headers based on the TypedInput body of the Request.
  • v1.5.1

    May 08, 2014
    • New: @PartMap annotation accepts a Map of key/value pairs for multi-part.
    • Fix: MockRestAdpater uses the ErrorHandler from its parent RestAdapter.
    • Experimental RxJava support updated for v0.18 and is now lazily initialized.
  • v1.5.0

    March 20, 2014
    • New: Support for AppEngine's URL Fetch HTTP client.
    • New: Multipart requests of unknown length are now supported.
    • New: HTTP Content-Type can be overridden with a method-level or paramter header annotation.
    • New: Exceptions from malformed interface methods now include detailed information.
    • Fix: Support empty HTTP response status reason.
    • If an ErrorHandler is supplied it will be invoked for Callback and Observable methods.
    • HTTP PATCH method using HttpUrlConnection is no longer supported. Add the OkHttp jar to your project if you need this behavior.
    • Custom Client implementations should no longer set Content-Type or Content-Length headers based on the TypedInput body of the Request. These headers will now be added automatically as part of the standard Request header list.
  • v1.4.1

    February 01, 2014
    • Fix: @QueryMap, @EncodedFieldMap, and @FieldMap now correctly detect Map-based parameter types.
  • v1.4.0

    January 31, 2014
    • New: @Query and @EncodedQuery now accept List or arrays for multiple values.
    • New: @QueryMap and @EncodedQueryMap accept a Map of key/value pairs for query parameters.
    • New: @Field now accepts List or arrays for multiple values.
    • New: @FieldMap accepts a Map of name/value pairs for form URL-encoded request bodies.
    • New: Endpoint replaces Server as the representation of the remote API root. The Endpoints utility class contains factories methods for creating instances. Server and ChangeableServer are now deprecated.
    • SimpleXmlConverter and JacksonConverter now have a default constructor.
    • Response now includes the URL.
    • Fix: Hide references to optional classes to prevent over-eager class verifiers from complaining (e.g., Dalvik).
    • Fix: Properly detect and reject interfaces which extend from other interfaces.
  • v1.3.0

    November 25, 2013
    • New: Converter module for SimpleXML.
    • New: Mock module which allows simulating real network behavior for local service interface implementations. See 'mock-github-client' example for a demo.
    • New: RxJava Observable support! Declare a return type of Observable<Foo> on your service interfaces to automatically get an observable for that request. (Experimental API)
    • Fix: Use ObjectMapper's type factory when deserializing (Jackson converter).
    • Multipart POST requests now stream their individual part bodies.
    • Log chunking to 4000 characters now only happens on the Android platform.