develocity-api-kotlin
develocity-api-kotlin copied to clipboard
Update retrofit monorepo to v3 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.squareup.retrofit2:converter-scalars | 2.11.0 -> 3.0.0 |
||||
| com.squareup.retrofit2:converter-moshi | 2.11.0 -> 3.0.0 |
||||
| com.squareup.retrofit2:retrofit | 2.11.0 -> 3.0.0 |
Release Notes
square/retrofit (com.squareup.retrofit2:converter-scalars)
v3.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
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:- Gson
- Jackson
- Moshi
- Protobuf
- Wire
Fixed
- Primitive types used with
@Tagnow work by storing the value boxed with the boxed class as the key.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.