Skip to content

Commit 360b2d4

Browse files
committed
Update the changelog for 3.9.0.
1 parent 3646138 commit 360b2d4

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
11
Change Log
22
==========
33

4+
## Version 3.9.0
5+
6+
_2017-09-03_
7+
8+
* **Interceptors are more capable.** The `Chain` interface now offers access
9+
to the call and can adjust all call timeouts. Note that this change is
10+
source-incompatible for code that implements the `Chain` interface.
11+
We don't expect this to be a problem in practice.
12+
13+
* **OkHttp has an experimental new API for tracking metrics.** The new
14+
`EventListener` API is designed to help developers monitor HTTP requests'
15+
size and duration. This feature is an API preview: the API is subject to
16+
change, and the implementation is incomplete. Please try out the API and
17+
provide feedback to us. Because this is a big new API we are unlikely to
18+
get all of the details right and we're eager for feedback.
19+
20+
* New: Support ALPN via Google Play Services' Dynamic Security Provider. This
21+
expands HTTP/2 support to older Android devices that have Google Play
22+
Services.
23+
* New: Consider all routes when looking for candidate coalesced connections.
24+
This increases the likelihood that HTTP/2 connections will be shared.
25+
* New: Authentication challenges and credentials now use a charset. Use this in
26+
your authenticator to support user names and passwords with non-ASCII
27+
characters.
28+
* New: Accept a charset in `FormBody.Builder`. Previously form bodies were
29+
always UTF-8.
30+
* New: Support the `immutable` cache-control directive.
31+
* Fix: Don't crash when an HTTP/2 call is redirected while the connection is
32+
being shut down.
33+
* Fix: Don't drop headers of healthy streams that raced with `GOAWAY` frames.
34+
This bug would cause HTTP/2 streams to occasional hang when the connection
35+
was shutting down.
36+
* Fix: Honor `OkHttpClient.retryOnConnectionFailure()` when the response is a
37+
HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly
38+
once in response to a 408.
39+
* Fix: Don't crash when reading the empty `HEAD` response body if it specifies
40+
a `Content-Length`.
41+
* Fix: Don't crash if the thread is interrupted while reading the public
42+
suffix database.
43+
* Fix: Use relative resource path when loading the public suffix database.
44+
Loading the resource using a path relative to the class prevents conflicts
45+
when the OkHttp classes are relocated (shaded) by allowing multiple private
46+
copies of the database.
47+
* Fix: Accept cookies for URLs that have an IPv6 address for a host.
48+
* Fix: Don't log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if the
49+
protocol isn't negotiated yet! Previously we'd log HTTP/1.1 by default, and
50+
this was confusing.
51+
* Fix: Omit the message from MockWebServer's HTTP/2 `:status` header.
52+
* Fix: Handle 'Expect: 100 Continue' properly in MockWebServer.
53+
54+
455
## Version 3.8.1
556

657
_2017-06-18_

0 commit comments

Comments
 (0)