Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump retrofit from 2.8.2 to 2.11.0#18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 1 commit intomainfromdependabot/gradle/main/retrofit-2.11.0
Mar 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubMar 4, 2025

Bumpsretrofit from 2.8.2 to 2.11.0.
Updatescom.squareup.retrofit2:retrofit from 2.8.2 to 2.11.0

Release notes

Sourced fromcom.squareup.retrofit2:retrofit's releases.

2.11.0

New

  • The built-inOptionalConverterFactory 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 crypticClassCastException.

2.10.0

New

  • Support usingUnit as a response type. This can be used for non-body HTTP methods likeHEAD or body-containing HTTP methods likeGET where the body will be discarded without deserialization.

  • kotlinx.serialization converter!

    This was imported fromgithub.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.

    The Maven coordinates arecom.squareup.retrofit2:converter-kotlinx-serialization.

  • JAXB 3 converter!

    The Maven coordinates arecom.squareup.retrofit2:converter-jaxb3.

  • @Header,@Headers, and@HeaderMap can now set non-ASCII values through theallowUnsafeNonAsciiValues annotation 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 arecom.squareup.retrofit2:retrofit-bom.

  • Invocation now 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 seeits README.

Changed

  • Add shrinker rules to retain the generic signatures of built-in types (Call,Response, etc.) which are used via reflection at runtime.
  • Remove backpressure support from RxJava 2 and 3 adapters. Since we only deliver a single value and the Reactive Streams specification states that callers must request a non-zero subscription value, we never need to honor backpressure.
  • KotlinRetrofit.create function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.
  • Suspend functions now capture and defer allThrowable subtypes (not justException subtypes) to avoid Java'sUndeclaredThrowableException when thrown synchronously.
  • Eagerly rejectsuspend fun functions that returnCall<Body>. These are never correct, and should declare a return type ofBody directly.
  • Support for Java 14-specific and Java 16-specific reflection needed to invoke default methods on interfaces have been moved to separate versions of a class through a multi-release jar. This should have no observable impact other than the jar now contains classes which target Java 14 and Java 16 bytecode that might trip up some static analysis tools which are not aware of multi-release jars.
  • Parameter names are now displayed in exception messages when available in the underlying Java bytecode.
  • Jackson converter now supports binary formats by using byte streams rather than character streams in its implementation. Use thecreate(ObjectMapper, MediaType) overload to supply the value of theContent-Type header for your format.

Fixed

  • Do not include synthetic methods when doing eager validation.
  • Use per-method rather than per-class locking when parsing annotations. This eliminates contention when multiple calls are made in quick succession at the beginning of the process lifetime.
Changelog

Sourced fromcom.squareup.retrofit2:retrofit's changelog.

[2.11.0] - 2024-03-28

New

  • The built-inOptionalConverterFactory 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 crypticClassCastException.

[2.10.0] - 2024-03-18

New

  • Support usingUnit as a response type. This can be used for non-body HTTP methods likeHEAD or body-containing HTTP methods likeGET where the body will be discarded without deserialization.

  • kotlinx.serialization converter!

    This was imported fromgithub.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.

    The Maven coordinates arecom.squareup.retrofit2:converter-kotlinx-serialization.

  • JAXB 3 converter!

    The Maven coordinates arecom.squareup.retrofit2:converter-jaxb3.

  • @Header,@Headers, and@HeaderMap can now set non-ASCII values through theallowUnsafeNonAsciiValues annotation 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 arecom.squareup.retrofit2:retrofit-bom.

  • Invocation now 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 seeits README.

Changed

  • Add shrinker rules to retain the generic signatures of built-in types (Call,Response, etc.) which are used via reflection at runtime.
  • Remove backpressure support from RxJava 2 and 3 adapters. Since we only deliver a single value and the Reactive Streams specification states that callers must request a non-zero subscription value, we never need to honor backpressure.
  • KotlinRetrofit.create function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.
  • Suspend functions now capture and defer allThrowable subtypes (not justException subtypes) to avoid Java'sUndeclaredThrowableException when thrown synchronously.
  • Eagerly rejectsuspend fun functions that returnCall<Body>. These are never correct, and should declare a return type ofBody directly.
  • Support for Java 14-specific and Java 16-specific reflection needed to invoke default methods on interfaces have been moved to separate versions of a class through a multi-release jar. This should have no observable impact other than the jar now contains classes which target Java 14 and Java 16 bytecode that might trip up some static analysis tools which are not aware of multi-release jars.
  • Parameter names are now displayed in exception messages when available in the underlying Java bytecode.
  • Jackson converter now supports binary formats by using byte streams rather than character streams in its implementation. Use thecreate(ObjectMapper, MediaType) overload to supply the value of theContent-Type header for your format.

Fixed

  • Do not include synthetic methods when doing eager validation.
  • Use per-method rather than per-class locking when parsing annotations. This eliminates contention when multiple calls are made in quick succession at the beginning of the process lifetime.

[2.9.0] - 2020-05-20

  • New: RxJava 3 adapter!

    The Maven coordinates arecom.squareup.retrofit2:adapter-rxjava3.

... (truncated)

Commits
  • cc76c22 Prepare version 2.11.0
  • eba9567 Merge pull request#4117 from square/jw.public-optional.2024-03-27
  • c579693 Merge pull request#4114 from square/jw.locks.2024-03-22
  • d6eac54 Make optional converter public
  • 9b5e630 Merge pull request#4116 from deterclosed/trunk
  • bab101e all: remove repetitive words
  • 80aee71 Merge pull request#4115 from square/renovate/gradle-8.x
  • 83acb51 Update dependency gradle to v8.7
  • d412139 Gracefully handle parse failure with locking
  • 8f5a3c9 Merge pull request#4110 from jonapoul/patch-1
  • Additional commits viewable incompare view

Updatescom.squareup.retrofit2:converter-moshi from 2.8.2 to 2.11.0

Release notes

Sourced fromcom.squareup.retrofit2:converter-moshi's releases.

2.11.0

New

  • The built-inOptionalConverterFactory 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 crypticClassCastException.

2.10.0

New

  • Support usingUnit as a response type. This can be used for non-body HTTP methods likeHEAD or body-containing HTTP methods likeGET where the body will be discarded without deserialization.

  • kotlinx.serialization converter!

    This was imported fromgithub.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.

    The Maven coordinates arecom.squareup.retrofit2:converter-kotlinx-serialization.

  • JAXB 3 converter!

    The Maven coordinates arecom.squareup.retrofit2:converter-jaxb3.

  • @Header,@Headers, and@HeaderMap can now set non-ASCII values through theallowUnsafeNonAsciiValues annotation 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 arecom.squareup.retrofit2:retrofit-bom.

  • Invocation now 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 seeits README.

Changed

  • Add shrinker rules to retain the generic signatures of built-in types (Call,Response, etc.) which are used via reflection at runtime.
  • Remove backpressure support from RxJava 2 and 3 adapters. Since we only deliver a single value and the Reactive Streams specification states that callers must request a non-zero subscription value, we never need to honor backpressure.
  • KotlinRetrofit.create function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.
  • Suspend functions now capture and defer allThrowable subtypes (not justException subtypes) to avoid Java'sUndeclaredThrowableException when thrown synchronously.
  • Eagerly rejectsuspend fun functions that returnCall<Body>. These are never correct, and should declare a return type ofBody directly.
  • Support for Java 14-specific and Java 16-specific reflection needed to invoke default methods on interfaces have been moved to separate versions of a class through a multi-release jar. This should have no observable impact other than the jar now contains classes which target Java 14 and Java 16 bytecode that might trip up some static analysis tools which are not aware of multi-release jars.
  • Parameter names are now displayed in exception messages when available in the underlying Java bytecode.
  • Jackson converter now supports binary formats by using byte streams rather than character streams in its implementation. Use thecreate(ObjectMapper, MediaType) overload to supply the value of theContent-Type header for your format.

Fixed

  • Do not include synthetic methods when doing eager validation.
  • Use per-method rather than per-class locking when parsing annotations. This eliminates contention when multiple calls are made in quick succession at the beginning of the process lifetime.
Changelog

Sourced fromcom.squareup.retrofit2:converter-moshi's changelog.

[2.11.0] - 2024-03-28

New

  • The built-inOptionalConverterFactory 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 crypticClassCastException.

[2.10.0] - 2024-03-18

New

  • Support usingUnit as a response type. This can be used for non-body HTTP methods likeHEAD or body-containing HTTP methods likeGET where the body will be discarded without deserialization.

  • kotlinx.serialization converter!

    This was imported fromgithub.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.

    The Maven coordinates arecom.squareup.retrofit2:converter-kotlinx-serialization.

  • JAXB 3 converter!

    The Maven coordinates arecom.squareup.retrofit2:converter-jaxb3.

  • @Header,@Headers, and@HeaderMap can now set non-ASCII values through theallowUnsafeNonAsciiValues annotation 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 arecom.squareup.retrofit2:retrofit-bom.

  • Invocation now 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 seeits README.

Changed

  • Add shrinker rules to retain the generic signatures of built-in types (Call,Response, etc.) which are used via reflection at runtime.
  • Remove backpressure support from RxJava 2 and 3 adapters. Since we only deliver a single value and the Reactive Streams specification states that callers must request a non-zero subscription value, we never need to honor backpressure.
  • KotlinRetrofit.create function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null.
  • Suspend functions now capture and defer allThrowable subtypes (not justException subtypes) to avoid Java'sUndeclaredThrowableException when thrown synchronously.
  • Eagerly rejectsuspend fun functions that returnCall<Body>. These are never correct, and should declare a return type ofBody directly.
  • Support for Java 14-specific and Java 16-specific reflection needed to invoke default methods on interfaces have been moved to separate versions of a class through a multi-release jar. This should have no observable impact other than the jar now contains classes which target Java 14 and Java 16 bytecode that might trip up some static analysis tools which are not aware of multi-release jars.
  • Parameter names are now displayed in exception messages when available in the underlying Java bytecode.
  • Jackson converter now supports binary formats by using byte streams rather than character streams in its implementation. Use thecreate(ObjectMapper, MediaType) overload to supply the value of theContent-Type header for your format.

Fixed

  • Do not include synthetic methods when doing eager validation.
  • Use per-method rather than per-class locking when parsing annotations. This eliminates contention when multiple calls are made in quick succession at the beginning of the process lifetime.

[2.9.0] - 2020-05-20

  • New: RxJava 3 adapter!

    The Maven coordinates arecom.squareup.retrofit2:adapter-rxjava3.

... (truncated)

Commits
  • cc76c22 Prepare version 2.11.0
  • eba9567 Merge pull request#4117 from square/jw.public-optional.2024-03-27
  • c579693 Merge pull request#4114 from square/jw.locks.2024-03-22
  • d6eac54 Make optional converter public
  • 9b5e630 Merge pull request#4116 from deterclosed/trunk
  • bab101e all: remove repetitive words
  • 80aee71 Merge pull request#4115 from square/renovate/gradle-8.x
  • 83acb51 Update dependency gradle to v8.7
  • d412139 Gracefully handle parse failure with locking
  • 8f5a3c9 Merge pull request#4110 from jonapoul/patch-1
  • Additional commits viewable incompare 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `retrofit` from 2.8.2 to 2.11.0.Updates `com.squareup.retrofit2:retrofit` from 2.8.2 to 2.11.0- [Release notes](https://github.com/square/retrofit/releases)- [Changelog](https://github.com/square/retrofit/blob/trunk/CHANGELOG.md)- [Commits](square/retrofit@2.8.2...2.11.0)Updates `com.squareup.retrofit2:converter-moshi` from 2.8.2 to 2.11.0- [Release notes](https://github.com/square/retrofit/releases)- [Changelog](https://github.com/square/retrofit/blob/trunk/CHANGELOG.md)- [Commits](square/retrofit@2.8.2...2.11.0)---updated-dependencies:- dependency-name: com.squareup.retrofit2:retrofit  dependency-type: direct:production  update-type: version-update:semver-minor- dependency-name: com.squareup.retrofit2:converter-moshi  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file javaPull requests that update Java code labelsMar 4, 2025
@matifalimatifali requested review fromfioan89 and removed request forfioan89March 6, 2025 18:10
@fioan89fioan89 merged commit9e8d446 intomainMar 6, 2025
5 checks passed
@fioan89fioan89 deleted the dependabot/gradle/main/retrofit-2.11.0 branchMarch 6, 2025 19:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fioan89fioan89fioan89 approved these changes

Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency filejavaPull requests that update Java code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@fioan89

[8]ページ先頭

©2009-2025 Movatter.jp