Skip to content

feat!: upgrade okhttp - #2262

Open
Dennis Melzer (MelleD) wants to merge 4 commits into
microsoft:mainfrom
MelleD:feat-upgrade-okhttp
Open

Dennis Melzer (MelleD) wants to merge 4 commits into
microsoft:mainfrom
MelleD:feat-upgrade-okhttp

Conversation

@MelleD

Copy link
Copy Markdown

Fix #1984

Publish the JVM artifact in the Maven POM while retaining platform-aware Gradle metadata.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@MelleD
Dennis Melzer (MelleD) requested a review from a team as a code owner November 24, 2026 15:35
Copilot AI balanced review requested due to automatic review settings November 24, 2026 15:35
@baywet Vincent Biret (baywet) changed the title feat: upgrade okhttp feat!: upgrade okhttp Nov 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The PR title lacks a breaking-change marker, so using it as the merge commit message risks omitting the major-version bump required by issue #1984.

1 open issue
What changed in this PR

Upgrades Kiota Java’s HTTP component to OkHttp 5.5.1 for #1984, adapting response handling and publication metadata for JVM and Android consumers.

Changes:

  • Updates OkHttp and removes obsolete null-body checks, with corresponding test adjustments.
  • Publishes okhttp-jvm for Maven while preserving platform selection through Gradle metadata, and adds metadata verification.
  • Documents Android requirements and platform-selection guidance.
File Description
README.md Documents JVM/Android selection and Android build requirements.
gradle/​libs.versions.toml Upgrades OkHttp to 5.5.1.
components/​http/​okHttp/​src/​test/​java/​com/​microsoft/​kiota/​http/​OkHttpRequestAdapterTest.java Updates empty-response fixtures and stream assertions.
components/​http/​okHttp/​src/​main/​java/​com/​microsoft/​kiota/​http/​OkHttpRequestAdapter.java Removes null-body checks for OkHttp 5.
components/​http/​okHttp/​build.gradle Adjusts Maven dependency publication and verifies publication metadata.

Review effort: Balanced

Comment thread gradle/libs.versions.toml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.

@MelleD

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Robert Bosch GmbH"

Copilot AI balanced review requested due to automatic review settings November 25, 2026 10:02
@github-actions

Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will take a look shortly.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues requiring changes.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

upgrade to okhttp 5

3 participants