Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

62 lines (45 loc) · 2.21 KB

Change Log

Version 1.2.0 (2013-08-23)

  • New: Additional first-party converters for Jackson and Protocol Buffers! These are provided as separate modules that you can include and pass to RestAdapter.Builder's setConverter.
  • New: @EncodedPath and @EncodedQuery annotations allow provided path and query params that are already URL-encoded.
  • New: @PATCH HTTP method annotation.
  • Fix: Properly support custom HTTP method annotations in UrlConnectionClient.
  • Fix: Apply RequestInterceptor during method invocation rather than at request execution time.
  • Change setDebug to setLogLevel on RestAdapter and RestAdapter.Builder and provide two levels of logging via LogLevel.
  • Query parameters can now be added in a request interceptor.

Version 1.1.1 (2013-06-25)

  • Fix: Ensure @Headers-defined headers are correctly added to requests.
  • Fix: Supply reasonable connection and read timeouts for default clients.
  • Fix: Allow passing null for a @Part-annotated argument to remove it from the multipart request body.

Version 1.1.0 (2013-06-20)

  • Introduce RequestInterceptor to replace RequestHeaders. An interceptor provided to the RestAdapter.Builder will be called for every request and allow setting both headers and additional path parameter replacements.
  • Add ErrorHandler for customizing the exceptions which are thrown when synchronous methods return non-200 error codes.
  • Properly parse responses which erroneously omit the "Content-Type" header.

Version 1.0.2 (2013-05-23)

  • Allow uppercase letters in path replacement identifiers.
  • Fix: Static query parameters in the URL are now correctly appended with a separating '?'.
  • Fix: Explicitly allow or forbid null as a value for method parameters.
    • @Path - Forbidden
    • @Query - Allowed
    • @Field - Allowed
    • @Part - Forbidden
    • @Body - Forbidden
    • @Header - Allowed

Version 1.0.1 (2013-05-13)

  • Fix: Correct bad regex behavior on Android.

Version 1.0.0 (2013-05-13)

Initial release.