mirror of
https://github.com/square/okhttp.git
synced 2025-08-01 16:06:56 +03:00
Prepare for release 4.8.0.
This commit is contained in:
27
CHANGELOG.md
27
CHANGELOG.md
@ -1,6 +1,33 @@
|
|||||||
Change Log
|
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
|
## Version 4.7.2
|
||||||
|
|
||||||
_2020-05-20_
|
_2020-05-20_
|
||||||
|
@ -99,10 +99,10 @@ Releases
|
|||||||
|
|
||||||
Our [change log][changelog] has release history.
|
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
|
```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.
|
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.
|
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
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.8.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
@ -89,7 +89,7 @@ ext.publishedArtifactId = { project ->
|
|||||||
allprojects {
|
allprojects {
|
||||||
group = 'com.squareup.okhttp3'
|
group = 'com.squareup.okhttp3'
|
||||||
project.ext.artifactId = rootProject.ext.publishedArtifactId(project)
|
project.ext.artifactId = rootProject.ext.publishedArtifactId(project)
|
||||||
version = '4.8.0-SNAPSHOT'
|
version = '4.8.0'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.8.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
|
|||||||
```
|
```
|
||||||
|
|
||||||
```kotlin
|
```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
|
[1]: https://github.com/google/brotli
|
||||||
|
@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.7.2")
|
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.8.0")
|
||||||
```
|
```
|
||||||
|
@ -37,7 +37,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("com.squareup.okhttp3:logging-interceptor:4.7.2")
|
implementation("com.squareup.okhttp3:logging-interceptor:4.8.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-sse:4.7.2")
|
testImplementation("com.squareup.okhttp3:okhttp-sse:4.8.0")
|
||||||
```
|
```
|
||||||
|
@ -227,7 +227,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```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/
|
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
||||||
|
@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.7.2")
|
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.8.0")
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user