Skip to content

chore(deps): bump retrofit from 2.5.0 to 2.6.0 #1909

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps retrofit from 2.5.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") long id): 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.

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

Dependabot compatibility score

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 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 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)
  • @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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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 [retrofit](https://github.com/square/retrofit) from 2.5.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.5.0...parent-2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@iamareebjamal iamareebjamal merged commit 981d72c into development Jun 6, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/com.squareup.retrofit2-retrofit-2.6.0 branch June 6, 2019 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants