Skip to content

[improve][build] Upgrade OkHttp to 5.5.0 and Okio to 3.18.1 - #26352

Merged
lhotari merged 2 commits into
apache:masterfrom
lhotari:lh-improve-okhttp-okio
Aug 18, 2026
Merged

[improve][build] Upgrade OkHttp to 5.5.0 and Okio to 3.18.1#26352
lhotari merged 2 commits into
apache:masterfrom
lhotari:lh-improve-okhttp-okio

Conversation

@lhotari

@lhotari lhotari commented Aug 17, 2026

Copy link
Copy Markdown
Member

Motivation

OkHttp and Okio are a few patch releases behind. Both are used by pulsar-broker-auth-oidc directly,
by pulsar-proxy and pulsar-broker in tests, and transitively by the Kubernetes client.

Modifications

gradle/libs.versions.toml:

library from to
okhttp3 5.3.2 5.5.0
okio 3.17.0 3.18.1

Plus the corresponding jar names in the server distribution LICENSE.bin.txt.

Both stay within their current major line, so the BOM-managed artifacts (okhttp-jvm,
logging-interceptor, okio-jvm) move together and no coordinate changes are needed.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Verified locally with ./gradlew sanityCheck and ./gradlew checkBinaryLicense.

Does this pull request potentially affect one of the following parts:

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

- okhttp3  5.3.2  -> 5.5.0
- okio     3.17.0 -> 3.18.1

Both stay within their current major line, so the BOM-managed artifacts (okhttp-jvm,
logging-interceptor, okio-jvm) move together.

OkHttp is used directly by pulsar-broker-auth-oidc, in tests by pulsar-proxy and
pulsar-broker, and transitively by the Kubernetes client.

Assisted-by: Claude Code (Opus 5)
@lhotari lhotari added the area/dependency Pull requests that update a dependency file label Aug 17, 2026
@lhotari lhotari added this to the 5.0.0-M2 milestone Aug 17, 2026
# Conflicts:
#	distribution/server/src/assemble/LICENSE.bin.txt
@lhotari
lhotari merged commit 9f923a4 into apache:master Aug 18, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependency Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants