Skip to content

Commit

Permalink
Prepare for release 4.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Jul 11, 2020
1 parent cf367d9 commit a70e992
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 12 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
Change Log
==========

## Version 4.8.0

_2020-07-11_

* New: Change `HeldCertificate.Builder` to use its own ASN.1 certificate encoder. This is part
of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy
Castle is great! But it's a large dependency (6.5 MiB) and its security provider feature
impacts VM-wide behavior.

* New: Reduce contention for applications that make a very high number of concurrent requests.
Previously OkHttp used its connection pool as a lock when making changes to connections and
calls. With this change each connection is locked independently.

* Upgrade: [Okio 2.7.0][okio_2_7_0].

```kotlin
implementation("com.squareup.okio:okio:2.7.0")
```

* Fix: Avoid log messages like "Didn't find class org.conscrypt.ConscryptHostnameVerifier" when
detecting the TLS capabilities of the host platform.

* Fix: Don't crash in `HttpUrl.topPrivateDomain()` when the hostname is malformed.
* Fix: Don't attempt Brotli decompression if the response body is empty.


## Version 4.7.2

_2020-05-20_
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ Releases

Our [change log][changelog] has release history.

The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.7.2/jar).
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.8.0/jar).

```kotlin
implementation("com.squareup.okhttp3:okhttp:4.7.2")
implementation("com.squareup.okhttp3:okhttp:4.8.0")
```

Snapshot builds are [available][snap]. [R8 and ProGuard][r8_proguard] rules are available.
Expand All @@ -113,10 +113,10 @@ MockWebServer

OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.

The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.7.2/jar).
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.8.0/jar).

```kotlin
testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2")
testImplementation("com.squareup.okhttp3:mockwebserver:4.8.0")
```

License
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ext.publishedArtifactId = { project ->
allprojects {
group = 'com.squareup.okhttp3'
project.ext.artifactId = rootProject.ext.publishedArtifactId(project)
version = '4.8.0-SNAPSHOT'
version = '4.8.0'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion mockwebserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
### Download

```kotlin
testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2")
testImplementation("com.squareup.okhttp3:mockwebserver:4.8.0")
```

### License
Expand Down
2 changes: 1 addition & 1 deletion okhttp-brotli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
```

```kotlin
implementation("com.squareup.okhttp3:okhttp-brotli:4.7.2")
implementation("com.squareup.okhttp3:okhttp-brotli:4.8.0")
```

[1]: https://github.com/google/brotli
2 changes: 1 addition & 1 deletion okhttp-dnsoverhttps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
### Download

```kotlin
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.7.2")
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.8.0")
```
2 changes: 1 addition & 1 deletion okhttp-logging-interceptor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Download
--------

```kotlin
implementation("com.squareup.okhttp3:logging-interceptor:4.7.2")
implementation("com.squareup.okhttp3:logging-interceptor:4.8.0")
```


Expand Down
2 changes: 1 addition & 1 deletion okhttp-sse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
### Download

```kotlin
testImplementation("com.squareup.okhttp3:okhttp-sse:4.7.2")
testImplementation("com.squareup.okhttp3:okhttp-sse:4.8.0")
```
2 changes: 1 addition & 1 deletion okhttp-tls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Download
--------

```kotlin
implementation("com.squareup.okhttp3:okhttp-tls:4.7.2")
implementation("com.squareup.okhttp3:okhttp-tls:4.8.0")
```

[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
Expand Down
2 changes: 1 addition & 1 deletion okhttp-urlconnection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
### Download

```kotlin
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.7.2")
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.8.0")
```

0 comments on commit a70e992

Please sign in to comment.