fix(deps): update retrofit monorepo to v3 (major) #23

Open
renovate-bot wants to merge 1 commit from renovate/major-retrofit-monorepo into main
Collaborator

This PR contains the following updates:

Package Type Update Change
com.squareup.retrofit2:converter-gson dependencies major 2.11.0 -> 3.0.0
com.squareup.retrofit2:retrofit dependencies major 2.11.0 -> 3.0.0

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 becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.squareup.retrofit2:converter-gson](https://github.com/square/retrofit) | dependencies | major | `2.11.0` -> `3.0.0` | | [com.squareup.retrofit2:retrofit](https://github.com/square/retrofit) | dependencies | major | `2.11.0` -> `3.0.0` | --- ### Release Notes <details> <summary>square/retrofit (com.squareup.retrofit2:converter-gson)</summary> ### [`v3.0.0`](https://github.com/square/retrofit/blob/HEAD/CHANGELOG.md#300---2025-05-15) [Compare Source](https://github.com/square/retrofit/compare/2.12.0...3.0.0) [3.0.0]: https://github.com/square/retrofit/releases/tag/3.0.0 **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`](https://github.com/square/retrofit/blob/HEAD/CHANGELOG.md#2120---2025-05-15) [Compare Source](https://github.com/square/retrofit/compare/2.11.0...2.12.0) [2.12.0]: https://github.com/square/retrofit/releases/tag/2.12.0 **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. </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
fix(deps): update dependency com.squareup.retrofit2:converter-gson to v3
Some checks failed
Deploy snapshot builds / deploy-release-snapshot (pull_request) Failing after 5m31s
eb7d7b8b3c
renovate-bot changed title from fix(deps): update dependency com.squareup.retrofit2:converter-gson to v3 to fix(deps): update retrofit monorepo to v3 (major) 2025-05-15 17:47:34 +00:00
Some checks failed
Deploy snapshot builds / deploy-release-snapshot (pull_request) Failing after 5m31s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/major-retrofit-monorepo:renovate/major-retrofit-monorepo
git switch renovate/major-retrofit-monorepo

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/major-retrofit-monorepo
git switch renovate/major-retrofit-monorepo
git rebase main
git switch main
git merge --ff-only renovate/major-retrofit-monorepo
git switch renovate/major-retrofit-monorepo
git rebase main
git switch main
git merge --no-ff renovate/major-retrofit-monorepo
git switch main
git merge --squash renovate/major-retrofit-monorepo
git switch main
git merge --ff-only renovate/major-retrofit-monorepo
git switch main
git merge renovate/major-retrofit-monorepo
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PrivateCoffee/ducks.now-android#23
No description provided.