renovate[bot]
9dca358fbe
Update com.squareup.okio to v3.16.4 ( #9199 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-26 12:54:07 -05:00
renovate[bot]
1bd382f5a9
Update Gradle to v9.2.1 ( #9201 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-26 09:29:28 -05:00
Etienne Dechamps (Google)
239bd86129
Remove Thrifty from "works with OkHttp" ( #9209 )
...
It is unclear why Thrifty is in this list: it doesn't use OkHttp, and a
Google search for "Thrifty OkHttp" doesn't seem to return any relevant
result.
2025-11-26 07:59:38 +00:00
renovate[bot]
0ec2a0cc21
Update actions/checkout action to v6 ( #9206 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 10:26:25 -05:00
Jesse Wilson
80b9f556dc
Don't run remote tests in CI ( #9207 )
...
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-11-21 07:33:41 -05:00
Jesse Wilson
5b23df7132
Make the publish action work like Okio's ( #9202 )
...
* Make the publish action work like Okio's
* Keep publishing snapshots
2025-11-19 10:45:22 -05:00
Jesse Wilson
442de1c9e7
Changelog for 5.3.2 and 5.2.3
2025-11-18 10:58:31 -05:00
Jesse Wilson
196c39105c
Changelogs for 5.2.2 and 5.3.1
2025-11-16 07:36:53 -06:00
renovate[bot]
cf6dba1156
Update com.squareup.okio to v3.16.3 ( #9194 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-16 08:23:14 -05:00
renovate[bot]
7f532d6eda
Update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v2.3.2 ( #9183 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:27:19 +00:00
renovate[bot]
6938d4a55f
Update dependency com.android.tools.build:gradle to v8.13.1 ( #9186 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:26:51 +00:00
renovate[bot]
a197235ca4
Update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.11.3 ( #9187 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:26:31 +00:00
renovate[bot]
b6577502be
Update dependency com.puppycrawl.tools:checkstyle to v12.1.2 ( #9189 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:26:08 +00:00
renovate[bot]
7db01bf9aa
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.35.0 ( #9190 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:25:58 +00:00
renovate[bot]
5bd96b4109
Update dependency maven to v4.0.0-rc-5 ( #9192 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 09:25:42 +00:00
Jesse Wilson
1086125702
Fix a flake in TrailersTest ( #9185 )
...
* Fix a flake in TrailersTest
We weren't testing what we wanted to be testing because
the cache was on, and that impacts how Response.body.close()
works.
* Fix HTTP/1 also
* Spotless
---------
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-11-08 16:45:04 -05:00
Joe
870872d024
Handle UnreadableResponseBody in HttpLoggingInterceptor ( #9184 )
2025-11-06 21:57:33 -05:00
Jesse Wilson
e6b7eeee4b
Call.addEventListener ( #9181 )
...
* Call.addEventListener
Use this to install listeners after-the-fact, such as
in Interceptors or other EventListeners.
* apiDump
* Make eventListener updates atomic
* Fix
2025-11-05 13:28:35 -05:00
renovate[bot]
c3f052fd94
Update mikepenz/action-junit-report action to v6 ( #9175 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-05 13:27:27 +00:00
Jesse Wilson
24cc7ecbed
Delete Relay ( #9182 )
...
This was never used.
I'm eager to delete it now 'cause some of the tests
are failing in our Windows build on CI.
2025-11-04 16:49:45 -05:00
Jesse Wilson
d1aaf7c6cc
Split RecordingEventListener in two ( #9180 )
...
The first half is EventListenerAdapter, which mechanically
converts event function calls and emits event objects.
The second half is EventRecorder, which validates that the
right events are published.
This is in preparation for a follow-up where I intend
to dynamically add EventListeners to a Call.
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-11-04 14:13:52 -05:00
Jesse Wilson
9674bf0d06
Run all the tests in CI ( #9178 )
...
* Run all the tests in CI
We haven't been. I would have expected ./gradlew test
to run everything, but it doesn't. We need to explicitly
run jvmTest to get all of our tests to run.
* Use allTests, not jvmTest
* Support Corretto on osx-aarch_64
* Handle the exception message from OpenJDK 21
* Fixup Loom tests
---------
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-11-04 13:33:48 -05:00
Jesse Wilson
e4721510ae
Fix some failing tests that CI hasn't been running ( #9179 )
...
Thankfully there's nothing here that indicates we've shipped
a bug to our users.
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-11-04 11:11:23 -05:00
renovate[bot]
55bf06e98f
Update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v2.3.1 ( #9177 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-04 06:58:47 -05:00
Jesse Wilson
38ecc57eef
Use Burst in DiskLruCacheTest (and 7 others) ( #9174 )
...
* Use Burst in DiskLruCacheTest (and 7 others)
* Update okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
Co-authored-by: Jake Wharton <jw@squareup.com >
* Spotless
---------
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
Co-authored-by: Jake Wharton <jw@squareup.com >
2025-11-01 08:18:11 -04:00
Jesse Wilson
a2b7c34fbc
Prepare next development version.
2025-10-30 17:40:26 -04:00
Jesse Wilson
0960b47ec2
Prepare for release 5.3.0.
parent-5.3.0
2025-10-30 17:39:59 -04:00
Tobias Gesellchen
bfb24eb90b
Support Request Bodies on HTTP1.1 Connection Upgrades ( #9159 )
...
* Read RequestBody before Connection Upgrade
* Be more strict on event lifecycle for upgrades (#9170 )
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
---------
Co-authored-by: Jesse Wilson <jesse@swank.ca >
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-10-30 14:46:58 +01:00
renovate[bot]
cf4a864395
Update Gradle to v9.2.0 ( #9171 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 21:56:29 -04:00
renovate[bot]
4e7dbec1ea
Update dependency com.puppycrawl.tools:checkstyle to v12.1.1 ( #9169 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-26 11:00:10 -04:00
Jesse Wilson
0470853d72
Add tags to calls, including computable tags ( #9168 )
...
Originally I was planning on implementing tags on
Request only, but that design broke as soon as any
interceptor used Request.newBuilder() to create a
copy of the Request - the instance that received the
tags might not be the instance that needed them.
Instead I'm introducing this behavior on the Call
object, which behaves less like a value. I expect
that users' expected lifetimes of tags will work
naturally this way.
It is an API hazard that we have tags on both
Requests and Calls. Perhaps if given the opportunity
to do it over, I'd omit support for tags on Requests.
Co-authored-by: Jesse Wilson <jwilson@squareup.com >
2025-10-26 10:54:46 -04:00
Yuri Schimke
2b70b39827
Catch UnsatisfiedLinkError in AndroidLog ( #9137 )
...
* Catch UnsatisfiedLinkError in AndroidLog
Happens with Paparazzi. see https://github.com/square/okhttp/issues/9125
* Change Error catch to UnsatisfiedLinkError
2025-10-25 12:16:17 +01:00
renovate[bot]
35735556f4
Update dependency com.github.jnr:jnr-unixsocket to v0.38.24 ( #9166 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 19:43:08 -04:00
renovate[bot]
af8cf3024a
Update actions/upload-artifact action to v5 ( #9167 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 19:36:41 -04:00
Jesse Wilson
478e99cf50
Build an computeIfAbsent() mechanism for tags ( #9165 )
...
The Tags type is still immutable, but an AtomicReference<Tag>
is mutable.
2025-10-24 07:37:46 -04:00
Jesse Wilson
d393c86817
Use Tags in okhttp3.Request ( #9164 )
2025-10-24 07:36:14 -04:00
Jesse Wilson
ca9f73e7b6
New datastructure to hold Tags ( #9163 )
...
* New datastructure to hold Tags
We have been using MutableMap and Map. These have worked
fine.
But we'd like to soon support mutating tags on an existing
Request object, which I'd like to do without a ton of
collections or concurrency overhead. Instead we can do some
lock-free stuff, which needs a simple data structure as a
starting point.
* Fill in some type parameters
2025-10-23 15:50:01 -04:00
renovate[bot]
fc41262525
Update kotlin monorepo to v2.2.21 ( #9161 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-23 07:36:22 -04:00
renovate[bot]
31777fe35b
Update dependency org.graalvm.nativeimage:svm to v25.0.1 ( #9158 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-22 22:21:51 -04:00
renovate[bot]
5feb53f874
Update dependency com.google.devtools.ksp:symbol-processing-gradle-plugin to v2.3.0 ( #9160 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-22 16:23:51 -04:00
renovate[bot]
b52c1c9e2e
Update dependency com.puppycrawl.tools:checkstyle to v12.1.0 ( #9157 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-19 13:58:28 -04:00
renovate[bot]
935c146b09
Update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.11.2 ( #9153 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-16 14:55:10 +01:00
renovate[bot]
ed7fcd86bb
Update com.squareup.okio to v3.16.2 ( #9149 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 14:53:00 -04:00
renovate[bot]
5d2fd3145f
Update dependency com.puppycrawl.tools:checkstyle to v12.0.1 ( #9147 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 18:14:27 -04:00
renovate[bot]
3cc91af61e
Update de.mannodermaus.junit5 to v1.9.0 ( #9145 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 16:47:00 +01:00
renovate[bot]
bc81a338b2
Update dependency de.mannodermaus.gradle.plugins:android-junit5 to v1.14.0.0 ( #9146 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 16:46:41 +01:00
Yuri Schimke
fdbbdbdb50
Resolve local.properties in a VS Code safe way ( #9144 )
2025-10-11 10:17:37 +01:00
Martin Bonnin
a480881021
Bump Gradle to 9.1.0 ( #9114 )
2025-10-11 10:02:42 +01:00
Yuri Schimke
43f54705ec
Change allowedVersions for junit5 to '<5.14.0'
2025-10-11 09:35:05 +01:00
Yuri Schimke
0c133b9c97
revert some Renovate config ( #9141 )
...
* revert some Renovate config
* Fix formatting in renovate.json
* Update allowedVersions for junit5 to <=5.14.0
2025-10-11 09:03:14 +01:00