Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 8, 2025

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okhttp3:okhttp (source) 5.0.0 -> 5.1.0 age confidence

Release Notes

square/okhttp (com.squareup.okhttp3:okhttp)

v5.1.0

2025-07-07

  • New: Response.peekTrailers(). When we changed Response.trailers() to block instead of
    throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
    (by catching the IllegalStateException if they weren't available). This new API restores that
    capability.

  • Fix: Don't crash on trailers() if the response doesn't have a body. We broke [Retrofit] users
    who read the trailers on the raw() OkHttp response, after its body was decoded.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 8, 2025 05:36
@laurit laurit merged commit 66ab786 into main Jul 8, 2025
90 checks passed
@laurit laurit deleted the renovate/okhttp-monorepo branch July 8, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants