|
1 | 1 | Change Log
|
2 | 2 | ==========
|
3 | 3 |
|
| 4 | +## Version 3.3.0 |
| 5 | + |
| 6 | +_2016-05-24_ |
| 7 | + |
| 8 | + * New: `Response.sentRequestAtMillis()` and `receivedResponseAtMillis()` |
| 9 | + methods track the system's local time when network calls are made. These |
| 10 | + replace the `OkHttp-Sent-Millis` and `OkHttp-Sent-Millis` headers that were |
| 11 | + present in earlier versions of OkHttp. |
| 12 | + * New: Accept user-provided trust managers in `OkHttpClient.Builder`. This |
| 13 | + allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp |
| 14 | + will use reflection to extract the `TrustManager` from the |
| 15 | + `SSLSocketFactory`. |
| 16 | + * New: Support prerelease Java 9. This gets ALPN from the platform rather than |
| 17 | + relying on the alpn-boot bootclasspath override. |
| 18 | + * New: `HttpLoggingInterceptor` now logs connection failures. |
| 19 | + * New: Upgrade to Okio 1.8.0. |
| 20 | + |
| 21 | + ```xml |
| 22 | + <dependency> |
| 23 | + <groupId>com.squareup.okio</groupId> |
| 24 | + <artifactId>okio</artifactId> |
| 25 | + <version>1.8.0</version> |
| 26 | + </dependency> |
| 27 | + ``` |
| 28 | + |
| 29 | + * Fix: Gracefully recover from a failure to rebuild the cache journal. |
| 30 | + * Fix: Don't corrupt cache entries when a cache entry is evicted while it is |
| 31 | + being updated. |
| 32 | + * Fix: Make logging more consistent throughout OkHttp. |
| 33 | + * Fix: Log plaintext bodies only. This uses simple heuristics to differentiate |
| 34 | + text from other data. |
| 35 | + * Fix: Recover from `REFUSED_STREAM` errors in HTTP/2. This should improve |
| 36 | + interoperability with Nginx 1.10.0, which [refuses][nginx_959] streams |
| 37 | + created before HTTP/2 settings have been acknowledged. |
| 38 | + * Fix: Improve recovery from failed routes. |
| 39 | + * Fix: Accommodate tunneling proxies that close the connection after an auth |
| 40 | + challenge. |
| 41 | + * Fix: Use the proxy authenticator when authenticating HTTP proxies. This |
| 42 | + regression was introduced in OkHttp 3.0. |
| 43 | + * Fix: Fail fast if network interceptors transform the response body such that |
| 44 | + closing it doesn't also close the underlying stream. We had a bug where |
| 45 | + OkHttp would attempt to reuse a connection but couldn't because it was still |
| 46 | + held by a prior request. |
| 47 | + * Fix: Ensure network interceptors always have access to the underlying |
| 48 | + connection. |
| 49 | + * Fix: Use `X509TrustManagerExtensions` on Android 17+. |
| 50 | + * Fix: Unblock waiting dispatchers on MockWebServer shutdown. |
| 51 | + |
| 52 | + |
4 | 53 | ## Version 3.2.0
|
5 | 54 |
|
6 | 55 | _2016-02-25_
|
@@ -1002,3 +1051,4 @@ Initial release.
|
1002 | 1051 | [brick]: https://noncombatant.org/2015/05/01/about-http-public-key-pinning/
|
1003 | 1052 | [webdav]: https://tools.ietf.org/html/rfc4918
|
1004 | 1053 | [major_versions]: http://jakewharton.com/java-interoperability-policy-for-major-version-updates/
|
| 1054 | + [nginx_959]: https://trac.nginx.org/nginx/ticket/959 |
0 commit comments