Skip to content

Commit ef72228

Browse files
committed
Prepare for release 5.3.1.
1 parent 6747167 commit ef72228

14 files changed

Lines changed: 28 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ Change Log
55

66
See [4.x Change log](https://square.github.io/okhttp/changelogs/changelog_4x/) for the stable version changelogs.
77

8+
## Version 5.3.1
9+
10+
_2025-11-16_
11+
12+
* Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
13+
timeouts to fire later than they were supposed to.
14+
15+
* Upgrade: [Okio 3.16.3][okio_3_16_3].
16+
17+
818
## Version 5.3.0
919

1020
_2025-10-30_
@@ -754,6 +764,7 @@ release is the version name.
754764
[okio_3_16_0]: https://square.github.io/okio/changelog/#version-3160
755765
[okio_3_16_1]: https://square.github.io/okio/changelog/#version-3161
756766
[okio_3_16_2]: https://square.github.io/okio/changelog/#version-3162
767+
[okio_3_16_3]: https://square.github.io/okio/changelog/#version-3163
757768
[okio_3_1_0]: https://square.github.io/okio/changelog/#version-310
758769
[okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
759770
[okio_3_7_0]: https://square.github.io/okio/changelog/#version-370

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ Releases
123123

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

126-
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/5.3.0/jar).
126+
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/5.3.1/jar).
127127

128128
```kotlin
129-
implementation("com.squareup.okhttp3:okhttp:5.3.0")
129+
implementation("com.squareup.okhttp3:okhttp:5.3.1")
130130
```
131131

132132
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
136136
```kotlin
137137
dependencies {
138138
// define a BOM and its version
139-
implementation(platform("com.squareup.okhttp3:okhttp-bom:5.3.0"))
139+
implementation(platform("com.squareup.okhttp3:okhttp-bom:5.3.1"))
140140

141141
// define any required OkHttp artifacts without version
142142
implementation("com.squareup.okhttp3:okhttp")
@@ -191,10 +191,10 @@ MockWebServer
191191

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

194-
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/5.3.0/jar).
194+
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/5.3.1/jar).
195195

196196
```kotlin
197-
testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.0")
197+
testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.1")
198198
```
199199

200200
MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ configure<SpotlessExtension> {
5151

5252
allprojects {
5353
group = "com.squareup.okhttp3"
54-
version = "5.3.0"
54+
version = "5.3.1"
5555

5656
repositories {
5757
mavenCentral()

mockwebserver-junit4/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 4.
66
To use, first add this library as a test dependency:
77

88
```
9-
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
9+
testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.1")
1010
```
1111

1212
Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:

mockwebserver-junit5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module integrates mockwebserver3.MockWebServer with JUnit 5.
66
To use, first add this library as a test dependency:
77

88
```
9-
testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
9+
testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.1")
1010
```
1111

1212
Annotate fields in test classes with `@StartStop`. The server will be started and shut down

mockwebserver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ server.dispatcher = dispatcher
270270
### Download
271271

272272
```kotlin
273-
testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.0")
273+
testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.1")
274274
```
275275

276276
### License

okhttp-brotli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
1414
```
1515

1616
```kotlin
17-
implementation("com.squareup.okhttp3:okhttp-brotli:5.3.0")
17+
implementation("com.squareup.okhttp3:okhttp-brotli:5.3.1")
1818
```
1919

2020
[1]: https://github.com/google/brotli

okhttp-dnsoverhttps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module is an implementation of [DNS over HTTPS][1] using OkHttp.
66
### Download
77

88
```kotlin
9-
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.3.0")
9+
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.3.1")
1010
```
1111

1212
### Usage

okhttp-java-net-cookiejar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ This used to be part of `okhttp-urlconnection`
77
### Download
88

99
```kotlin
10-
testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.3.0")
10+
testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.3.1")
1111
```

okhttp-logging-interceptor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Download
3737
--------
3838

3939
```kotlin
40-
implementation("com.squareup.okhttp3:logging-interceptor:5.3.0")
40+
implementation("com.squareup.okhttp3:logging-interceptor:5.3.1")
4141
```
4242

4343

0 commit comments

Comments
 (0)