1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-29 17:41:17 +03:00

Prepare for release 4.8.0.

This commit is contained in:
Jesse Wilson
2020-07-11 14:01:06 -04:00
parent cf367d9339
commit a70e992c3f
10 changed files with 39 additions and 12 deletions

View File

@ -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_

View File

@ -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.
@ -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

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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")
```

View File

@ -37,7 +37,7 @@ Download
--------
```kotlin
implementation("com.squareup.okhttp3:logging-interceptor:4.7.2")
implementation("com.squareup.okhttp3:logging-interceptor:4.8.0")
```

View File

@ -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")
```

View File

@ -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/

View File

@ -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")
```