Skip to content

Commit 6b9eeb1

Browse files
committed
Update changelog for OkHttp 3.3.0.
1 parent acbd4e4 commit 6b9eeb1

File tree

2 files changed

+54
-4
lines changed

2 files changed

+54
-4
lines changed

CHANGELOG.md

+50
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,55 @@
11
Change Log
22
==========
33

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+
453
## Version 3.2.0
554

655
_2016-02-25_
@@ -1002,3 +1051,4 @@ Initial release.
10021051
[brick]: https://noncombatant.org/2015/05/01/about-http-public-key-pinning/
10031052
[webdav]: https://tools.ietf.org/html/rfc4918
10041053
[major_versions]: http://jakewharton.com/java-interoperability-policy-for-major-version-updates/
1054+
[nginx_959]: https://trac.nginx.org/nginx/ticket/959

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Download [the latest JAR][3] or grab via Maven:
1111
<dependency>
1212
<groupId>com.squareup.okhttp3</groupId>
1313
<artifactId>okhttp</artifactId>
14-
<version>3.2.0</version>
14+
<version>3.3.0</version>
1515
</dependency>
1616
```
1717
or Gradle:
1818
```groovy
19-
compile 'com.squareup.okhttp3:okhttp:3.2.0'
19+
compile 'com.squareup.okhttp3:okhttp:3.3.0'
2020
```
2121

2222
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
@@ -36,13 +36,13 @@ Download [the latest JAR][4] or grab via Maven:
3636
<dependency>
3737
<groupId>com.squareup.okhttp3</groupId>
3838
<artifactId>mockwebserver</artifactId>
39-
<version>3.2.0</version>
39+
<version>3.3.0</version>
4040
<scope>test</scope>
4141
</dependency>
4242
```
4343
or Gradle:
4444
```groovy
45-
testCompile 'com.squareup.okhttp3:mockwebserver:3.2.0'
45+
testCompile 'com.squareup.okhttp3:mockwebserver:3.3.0'
4646
```
4747

4848

0 commit comments

Comments
 (0)