ods-android icon indicating copy to clipboard operation
ods-android copied to clipboard

Update retrofit monorepo to v3 (major)

Open renovate[bot] opened this issue 6 months ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup.retrofit2:converter-gson 2.11.0 -> 3.0.0 age adoption passing confidence
com.squareup.retrofit2:retrofit 2.11.0 -> 3.0.0 age adoption passing confidence

Release Notes

square/retrofit (com.squareup.retrofit2:converter-gson)

v3.0.0

Compare Source

Changed

  • Upgrade to OkHttp 4.12 (from 3.14).

    This is the version of OkHttp that is written in Kotlin, and as a result Retrofit now has a transitive Kotlin dependency. However, this is also the supported version of OkHttp whereas the previous version was out of support for nearly 4 years.

Note: The 3.x versions of Retrofit maintain forward binary-compatibility with the 2.x versions. This means libraries compiled against 2.x can still be used with the 3.x versions.

v2.12.0

Compare Source

New

  • First-party converters now support deferring serialization to happen when the request body is written (i.e., during HTTP execution) rather than when the HTTP request is created. In some cases this moves conversion from a calling thread to a background thread, such as in the case when using Call.enqueue directly.

    The following converters support this feature through a new withStreaming() factory method:

    • Gson
    • Jackson
    • Moshi
    • Protobuf
    • Wire

Fixed

  • Primitive types used with @Tag now work by storing the value boxed with the boxed class as the key.

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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[bot] avatar May 15 '25 20:05 renovate[bot]

Deploy Preview for ods-android canceled.

Name Link
Latest commit 6796c28d00d8090ffdd6c7eeeaf72a05791e8096
Latest deploy log https://app.netlify.com/projects/ods-android/deploys/68264f42d1a86900081cbabb

netlify[bot] avatar May 15 '25 20:05 netlify[bot]

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

renovate[bot] avatar Jun 10 '25 13:06 renovate[bot]