mirror of
https://github.com/square/okhttp.git
synced 2026-01-12 10:23:16 +03:00
Prepare for release 5.2.3.
This commit is contained in:
13
CHANGELOG.md
13
CHANGELOG.md
@@ -5,12 +5,21 @@ Change Log
|
||||
|
||||
See [4.x Change log](https://square.github.io/okhttp/changelogs/changelog_4x/) for the stable version changelogs.
|
||||
|
||||
## Version 5.2.3
|
||||
|
||||
_2025-11-18_
|
||||
|
||||
* Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
|
||||
timeouts to fire later than they were supposed to.
|
||||
|
||||
* Upgrade: [Okio 3.16.4][okio_3_16_4].
|
||||
|
||||
|
||||
## Version 5.2.2
|
||||
|
||||
_2025-11-16_
|
||||
|
||||
* Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
|
||||
timeouts to fire later than they were supposed to.
|
||||
This release is the same as 5.3.0. Okio 3.16.3 didn't have a necessary fix!
|
||||
|
||||
* Upgrade: [Okio 3.16.3][okio_3_16_3].
|
||||
|
||||
|
||||
10
README.md
10
README.md
@@ -123,10 +123,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/5.2.2/jar).
|
||||
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/5.2.3/jar).
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp:5.2.2")
|
||||
implementation("com.squareup.okhttp3:okhttp:5.2.3")
|
||||
```
|
||||
|
||||
Snapshot builds are [available][snap]. [R8 and ProGuard][r8_proguard] rules are available.
|
||||
@@ -136,7 +136,7 @@ Also, we have a [bill of materials (BOM)][bom] available to help you keep OkHttp
|
||||
```kotlin
|
||||
dependencies {
|
||||
// define a BOM and its version
|
||||
implementation(platform("com.squareup.okhttp3:okhttp-bom:5.2.2"))
|
||||
implementation(platform("com.squareup.okhttp3:okhttp-bom:5.2.3"))
|
||||
|
||||
// define any required OkHttp artifacts without version
|
||||
implementation("com.squareup.okhttp3:okhttp")
|
||||
@@ -191,10 +191,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/5.2.2/jar).
|
||||
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/5.2.3/jar).
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3:5.2.3")
|
||||
```
|
||||
|
||||
MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client.
|
||||
|
||||
@@ -51,7 +51,7 @@ configure<SpotlessExtension> {
|
||||
|
||||
allprojects {
|
||||
group = "com.squareup.okhttp3"
|
||||
version = "5.2.3-SNAPSHOT"
|
||||
version = "5.2.3"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 4.
|
||||
To use, first add this library as a test dependency:
|
||||
|
||||
```
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.2.3")
|
||||
```
|
||||
|
||||
Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
|
||||
|
||||
@@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 5.
|
||||
To use, first add this library as a test dependency:
|
||||
|
||||
```
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.2.3")
|
||||
```
|
||||
|
||||
Annotate fields in test classes with `@StartStop`. The server will be started and shut down
|
||||
|
||||
@@ -270,7 +270,7 @@ server.dispatcher = dispatcher
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver3:5.2.3")
|
||||
```
|
||||
|
||||
### License
|
||||
|
||||
@@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
|
||||
```
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp-brotli:5.2.2")
|
||||
implementation("com.squareup.okhttp3:okhttp-brotli:5.2.3")
|
||||
```
|
||||
|
||||
[1]: https://github.com/google/brotli
|
||||
|
||||
@@ -6,7 +6,7 @@ This module is an implementation of [DNS over HTTPS][1] using OkHttp.
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.2.3")
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -7,5 +7,5 @@ This used to be part of `okhttp-urlconnection`
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.2.3")
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ Download
|
||||
--------
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:5.2.2")
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:5.2.3")
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-sse:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-sse:5.2.3")
|
||||
```
|
||||
|
||||
@@ -225,7 +225,7 @@ Download
|
||||
--------
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp-tls:5.2.2")
|
||||
implementation("com.squareup.okhttp3:okhttp-tls:5.2.3")
|
||||
```
|
||||
|
||||
[held_certificate]: https://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
||||
|
||||
@@ -8,5 +8,5 @@ This module is obsolete; prefer `okhttp-java-net-cookiejar`.
|
||||
### Download
|
||||
|
||||
```kotlin
|
||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.2.2")
|
||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.2.3")
|
||||
```
|
||||
|
||||
@@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
|
||||
```
|
||||
|
||||
```kotlin
|
||||
implementation("com.squareup.okhttp3:okhttp-zstd:5.2.2")
|
||||
implementation("com.squareup.okhttp3:okhttp-zstd:5.2.3")
|
||||
```
|
||||
|
||||
[1]: https://github.com/facebook/zstd
|
||||
|
||||
Reference in New Issue
Block a user