jonahwh / tesla-api-client

Tesla API docs and Java client
18 stars 10 forks source link

Bump retrofit-version from 2.3.0 to 2.6.2 #5

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps retrofit-version from 2.3.0 to 2.6.2.

Updates converter-gson from 2.3.0 to 2.6.2

Updates retrofit from 2.3.0 to 2.6.2

Changelog *Sourced from [retrofit's changelog](https://github.com/square/retrofit/blob/master/CHANGELOG.md).* > Version 2.6.2 *(2019-09-23)* > ---------------------------- > > * Fix: Avoid `IOException`s being wrapped in `UndeclaredThrowableException` in rare cases when using > `Response<..>` as a return type for Kotlin 'suspend' functions. > > > Version 2.6.1 *(2019-07-31)* > ---------------------------- > > * Fix: Avoid `IOException`s being wrapped in `UndeclaredThrowableException` in rare cases. > * Fix: Include no-content `ResponseBody` for responses created by `Response.error`. > * Fix: Update embedded R8/ProGuard rules to not warn about nested classes used for Kotlin extensions. > > > 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. > > ```kotlin > @GET("users/{id}") > suspend fun user(@Path("id") id: Long): User > ``` > > Behind the scenes this behaves as if defined as `fun user(...): Call` and then invoked with `Call.enqueue`. > You can also return `Response` for access to the response metadata. > > Currently this integration only supports non-null response body types. Follow > [issue 3075](https://github-redirect.dependabot.com/square/retrofit/issues/3075) for nullable type support. > > * New: **`@Tag`** parameter annotation for setting tags on the underlying OkHttp `Request` object. These can be read > in `CallAdapter`s or OkHttp `Interceptor`s 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. > ... (truncated)
Commits - See full diff in [compare view](https://github.com/square/retrofit/commits)


Updates converter-scalars from 2.3.0 to 2.6.2

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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/jonahwh/tesla-api-client/network/alerts).