CHANGELOG.md 2.5 KB
Newer Older
J
Jake Wharton 已提交
1 2 3
Change Log
==========

J
Jake Wharton 已提交
4 5 6 7 8 9 10
Version 1.2.2 *(2013-09-12)*
----------------------------

 * Fix: Respect connection and read timeouts on supplied `OkHttpClient` instances.
 * Fix: Ensure connection is closed on non-200 responses.


J
Jake Wharton 已提交
11 12 13 14 15 16
Version 1.2.1 *(2013-08-30)*
----------------------------

 * New: Converter for [Wire protocol buffers](http://github.com/square/wire)!


J
Jake Wharton 已提交
17 18
Version 1.2.0 *(2013-08-23)*
----------------------------
J
Jake Wharton 已提交
19

J
Jake Wharton 已提交
20 21 22 23 24 25 26
 * 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.
J
Jake Wharton 已提交
27 28 29 30 31
 * 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.


J
Jake Wharton 已提交
32 33 34 35 36 37 38 39 40
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.


J
Jake Wharton 已提交
41 42
Version 1.1.0 *(2013-06-20)*
----------------------------
43 44 45 46

 * 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.
J
Jake Wharton 已提交
47 48 49
 * 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.
50 51


J
Jake Wharton 已提交
52 53 54 55 56 57 58 59 60 61 62 63 64 65
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


66 67 68 69 70 71
Version 1.0.1 *(2013-05-13)*
----------------------------

 * Fix: Correct bad regex behavior on Android.


J
Jake Wharton 已提交
72 73 74 75
Version 1.0.0 *(2013-05-13)*
----------------------------

Initial release.