Update retrofit monorepo to v2.12.0#569
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
May 15, 2025 20:35
306a063 to
cf7996a
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
August 10, 2025 12:53
cf7996a to
df8b2d1
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
August 20, 2025 16:03
df8b2d1 to
bdae4f9
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
2 times, most recently
from
September 12, 2025 01:20
69370ca to
50494ac
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
October 9, 2025 10:48
50494ac to
2bf898b
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
November 18, 2025 13:09
2bf898b to
4d2ded6
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
January 13, 2026 19:02
4d2ded6 to
74b74c4
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
January 27, 2026 16:42
4c30ca8 to
a3e3610
Compare
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
February 2, 2026 21:46
a3e3610 to
e7eb9ef
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
2 times, most recently
from
March 5, 2026 13:46
3540d32 to
c6e7444
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
May 22, 2026 17:07
c6e7444 to
19de8db
Compare
fdevans
approved these changes
Jul 15, 2026
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
July 15, 2026 19:15
19de8db to
93823af
Compare
renovate
Bot
force-pushed
the
renovate/retrofit-monorepo
branch
from
July 16, 2026 16:46
93823af to
ea9c672
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.9.0→2.12.02.9.0→2.12.02.9.0→2.12.02.9.0→2.12.0Release Notes
square/retrofit (com.squareup.retrofit2:retrofit-mock)
v2.12.0Compare 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.enqueuedirectly.The following converters support this feature through a new
withStreaming()factory method:Fixed
@Tagnow work by storing the value boxed with the boxed class as the key.v2.11.0Compare Source
New
OptionalConverterFactoryis now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).Fixed
ClassCastException.v2.10.0Compare Source
New
Support using
Unitas a response type. This can be used for non-body HTTP methods likeHEADor body-containing HTTP methods likeGETwhere the body will be discarded without deserialization.kotlinx.serialization converter!
This was imported from github.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.
The Maven coordinates are
com.squareup.retrofit2:converter-kotlinx-serialization.JAXB 3 converter!
The Maven coordinates are
com.squareup.retrofit2:converter-jaxb3.@Header,@Headers, and@HeaderMapcan now set non-ASCII values through theallowUnsafeNonAsciiValuesannotation property. These are not technically compliant with the HTTP specification, but are often supported or required by services.Publish a BOM of all modules. The Maven coordinates are
com.squareup.retrofit2:retrofit-bom.Invocationnow exposes the serviceClass<?>and the instance on which the method was invoked. This disambiguates the source when service inheritence is used.A response type keeper annotation processor is now available for generating shrinker rules for all referenced types in your service interface. In some cases, it's impossible for static shrinker rules to keep the entirety of what Retrofit needs at runtime. This annotation processor generates those additional rules. For more info see its README.
Changed
Call,Response, etc.) which are used via reflection at runtime.Retrofit.createfunction now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.Throwablesubtypes (not justExceptionsubtypes) to avoid Java'sUndeclaredThrowableExceptionwhen thrown synchronously.suspend funfunctions that returnCall<Body>. These are never correct, and should declare a return type ofBodydirectly.create(ObjectMapper, MediaType)overload to supply the value of theContent-Typeheader for your format.Fixed
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.