Skip to content

Conversation

@dependabot-preview
Copy link

Bumps com.squareup.retrofit2.version from 2.3.0 to 2.6.0.

Updates retrofit from 2.3.0 to 2.6.0

Changelog

Sourced from retrofit's changelog.

Version 2.6.0 (2019-06-05)

  • New: Support suspend modifier on functions for Kotlin! This allows you to express the asynchrony of HTTP requests
    in an idiomatic fashion for the language.

    @GET("users/{id}")
    suspend fun user(@Path("id") id: Long): User

    Behind the scenes this behaves as if defined as fun user(...): Call<User> and then invoked with Call.enqueue.
    You can also return Response<User> for access to the response metadata.

    Currently this integration only supports non-null response body types. Follow
    issue 3075 for nullable type support.

  • New: @Tag parameter annotation for setting tags on the underlying OkHttp Request object. These can be read
    in CallAdapters or OkHttp Interceptors for tracing, analytics, varying behavior, and more.

  • New: @SkipCallbackExecutor method annotation will result in your Call invoking its Callback on the
    background thread on which the HTTP call was made.

  • New: Support OkHttp's Headers type for @HeaderMap parameters.

  • New: Add Retrofit.Builder.baseUrl(URL) overload.

  • Fix: Add embedded R8/ProGuard rule which retains Retrofit interfaces (while still allowing obfuscation). This
    is needed because R8 running in 'full mode' (i.e., not in ProGuard-compatibility mode) will see that there are
    no subtypes of these interfaces and rewrite any code which references instances to null.

  • Fix: Mark HttpException.response() as @Nullable as serializing the exception does not retain this instance.

  • Fix: Fatal errors (such as stack overflows, out of memory, etc.) now propagate to the OkHttp Dispatcher thread
    on which they are running.

  • Fix: Ensure JAX-B converter closes the response body when an exception is thrown during deserialization.

  • Fix: Ignore static methods when performing eager validation of interface methods.

  • Fix: Ensure that calling source() twice on the ResponseBody passed to a Converter always returns the same
    instance. Prior to the fix, intermediate buffering would cause response data to be lost.

Version 2.5.0 (2018-11-18)

  • New: Built-in support for Kotlin's Unit type. This behaves the same as Java's Void where the body
    content is ignored and immediately discarded.
  • New: Built-in support for Java 8's Optional and CompletableFuture types. Previously the 'converter-java8'
    and 'adapter-java8' dependencies were needed and explicitly adding Java8OptionalConverterFactory and/or
    Java8CallAdapterFactory to your Retrofit.Builder in order to use these types. Support is now built-in and
    those types and their artifacts are marked as deprecated.
  • New: Invocation class provides a reference to the invoked method and argument list as a tag on the
    underlying OkHttp Call. This can be accessed from an OkHttp interceptor for things like logging, analytics,
... (truncated)
Commits
  • b8d593c [maven-release-plugin] prepare release parent-2.6.0
  • aeb7b6c Prepare next development version
  • defefd6 Merge pull request #3114 from joelhandwell/patch-1
  • c04ebd2 Add JAXB Converter in Document
  • ce6e0d1 URL overload for Retrofit.Builder#baseUrl
  • 81a6193 Merge pull request #3070 from NightlyNexus/eric.2019-04-09.headers-parameter
  • a7755ea Support okhttp3.Headers for HeadersMap parameters.
  • fc14b32 Merge pull request #3065 from square/jakew/versions/2019-04-03
  • c7df6b8 Next version is 2.6.0
  • faa62a8 Merge pull request #3064 from ojh102/bump_gson
  • Additional commits viewable in compare view

Updates converter-jackson from 2.3.0 to 2.6.0

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps `com.squareup.retrofit2.version` from 2.3.0 to 2.6.0.

Updates `retrofit` from 2.3.0 to 2.6.0
- [Release notes](https://github.com/square/retrofit/releases)
- [Changelog](https://github.com/square/retrofit/blob/master/CHANGELOG.md)
- [Commits](square/retrofit@parent-2.3.0...parent-2.6.0)

Updates `converter-jackson` from 2.3.0 to 2.6.0

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 26, 2019
@dependabot-preview
Copy link
Author

Superseded by #4.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/com.squareup.retrofit2.version-2.6.0 branch July 31, 2019 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant