Title: chore(deps): bump retrofit from 2.9.0 to 3.0.0 by dependabot[bot] · Pull Request #6534 · getsentry/sentry-java · GitHub
Open Graph Title: chore(deps): bump retrofit from 2.9.0 to 3.0.0 by dependabot[bot] · Pull Request #6534 · getsentry/sentry-java
X Title: chore(deps): bump retrofit from 2.9.0 to 3.0.0 by dependabot[bot] · Pull Request #6534 · getsentry/sentry-java
Description: Bumps retrofit from 2.9.0 to 3.0.0.
Updates com.squareup.retrofit2:retrofit from 2.9.0 to 3.0.0
Release notes
Sourced from com.squareup.retrofit2:retrofit's releases.
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.
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.
2.11.0
New
The built-in OptionalConverterFactory is now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).
Fixed
Ensure that exceptions thrown from failure to parse method annotations can be observed by multiple threads/callers. Previously only the first caller would see the actual parsing exception and other callers would get a cryptic ClassCastException.
2.10.0
New
Support using Unit as a response type. This can be used for non-body HTTP methods like HEAD or body-containing HTTP methods like GET where 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!
... (truncated)
Changelog
Sourced from com.squareup.retrofit2:retrofit's changelog.
3.0.0 - 2025-05-15
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.
2.12.0 - 2025-05-15
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.
[2.11.0] - 2024-03-28
New
The built-in OptionalConverterFactory is now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).
Fixed
Ensure that exceptions thrown from failure to parse method annotations can be observed by multiple threads/callers. Previously only the first caller would see the actual parsing exception and other callers would get a cryptic ClassCastException.
[2.10.0] - 2024-03-18
New
Support using Unit as a response type. This can be used for non-body HTTP methods like HEAD or body-containing HTTP methods like GET where the body will be discarded without deserialization.
kotlinx.serialization converter!
... (truncated)
Commits
3ab0f1a Prepare version 3.0.0
e5c02d0 Commit 2.x docs (#4378)
5bc3f18 Fix links on the proudction site (#4377)
7c3b229 Remove compileOnly stdlib dependency (#4376)
8418547 Update okhttp monorepo to v4 (major) (#4375)
06216a3 Try to fix removal of latest dir during release
1697bdc Prepare next development version
5a6ce36 Prepare version 2.12.0
4fb8aed Fix artifact name (#4372)
bf11ef4 Dedicated website build, final status job (#4371)
Additional commits viewable in compare view
Updates com.squareup.retrofit2:converter-gson from 2.9.0 to 3.0.0
Release notes
Sourced from com.squareup.retrofit2:converter-gson's releases.
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.
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.
2.11.0
New
The built-in OptionalConverterFactory is now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).
Fixed
Ensure that exceptions thrown from failure to parse method annotations can be observed by multiple threads/callers. Previously only the first caller would see the actual parsing exception and other callers would get a cryptic ClassCastException.
2.10.0
New
Support using Unit as a response type. This can be used for non-body HTTP methods like HEAD or body-containing HTTP methods like GET where 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!
... (truncated)
Changelog
Sourced from com.squareup.retrofit2:converter-gson's changelog.
3.0.0 - 2025-05-15
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.
2.12.0 - 2025-05-15
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.
[2.11.0] - 2024-03-28
New
The built-in OptionalConverterFactory is now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).
Fixed
Ensure that exceptions thrown from failure to parse method annotations can be observed by multiple threads/callers. Previously only the first caller would see the actual parsing exception and other callers would get a cryptic ClassCastException.
[2.10.0] - 2024-03-18
New
Support using Unit as a response type. This can be used for non-body HTTP methods like HEAD or body-containing HTTP methods like GET where the body will be discarded without deserialization.
kotlinx.serialization converter!
... (truncated)
Commits
3ab0f1a Prepare version 3.0.0
e5c02d0 Commit 2.x docs (#4378)
5bc3f18 Fix links on the proudction site (#4377)
7c3b229 Remove compileOnly stdlib dependency (#4376)
8418547 Update okhttp monorepo to v4 (major) (#4375)
06216a3 Try to fix removal of latest dir during release
1697bdc Prepare next development version
5a6ce36 Prepare version 2.12.0
4fb8aed Fix artifact name (#4372)
bf11ef4 Dedicated website build, final status job (#4371)
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show
Open Graph Description: Bumps retrofit from 2.9.0 to 3.0.0. Updates com.squareup.retrofit2:retrofit from 2.9.0 to 3.0.0 Release notes Sourced from com.squareup.retrofit2:retrofit's releases. 3.0.0 Changed Upgrade ...
X Description: Bumps retrofit from 2.9.0 to 3.0.0. Updates com.squareup.retrofit2:retrofit from 2.9.0 to 3.0.0 Release notes Sourced from com.squareup.retrofit2:retrofit's releases. 3.0.0 Changed Upgr...
Opengraph URL: https://github.com/getsentry/sentry-java/pull/6534
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:225bb739-495e-3188-5b1f-720128c70744 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC5C:15A4DC:20D4190:2C428B2:6B04530B |
| html-safe-nonce | 1df816b3ab9d4ae9044edff9e8b3e2a57761970df67f3b0a83d83af0e085babe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzVDOjE1QTREQzoyMEQ0MTkwOjJDNDI4QjI6NkIwNDUzMEIiLCJ2aXNpdG9yX2lkIjoiNTI2MzQ2NzM1NjI5ODE3MTE0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd2901e6309a0f49635fb502e24315837400da0f04230a84aaa603ab16287127 |
| hovercard-subject-tag | pull_request:5238806251 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-java/pull/6534/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps retrofit from 2.9.0 to 3.0.0. Updates com.squareup.retrofit2:retrofit from 2.9.0 to 3.0.0 Release notes Sourced from com.squareup.retrofit2:retrofit's releases. 3.0.0 Changed Upgrade ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width