Skip to content
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

Bump retrofit from 2.3.0 to 2.5.0 #30

Open
wants to merge 373 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 18, 2022

Bumps retrofit from 2.3.0 to 2.5.0.

Changelog

Sourced from retrofit's changelog.

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, or metrics aggregation.
  • New: Kotlin extension for Retrofit which allows you call create passing the interface type only as a generic parameter (e.g., retrofit.create<MyService>()).
  • New: Added Response.success overload which allows specifying a custom 2xx status code.
  • New: Added Calls.failure overload which allows passing any Throwable subtype.
  • New: Minimal R8 rules now ship inside the jar requiring no client configuration in the common case.
  • Fix: Do not propagate fatal errors to the callback. They are sent to the thread's uncaught exception handler.
  • Fix: Do not enqueue/execute an otherwise useless call when the RxJava type is disposed by onSubscribe.
  • Fix: Call RxJavaPlugins assembly hook when creating an RxJava 2 type.
  • Fix: Ensure both the Guava and Java 8 Optional converters delegate properly. This ensures that converters registered prior to the optional converter can be used for deserializing the body type.
  • Fix: Prevent @Path values from participating in path-traversal. This ensures untrusted input passed as a path value cannot cause you to make a request to an un-intended relative URL.
  • Fix: Simple XML converter (which is deprecated) no longer wraps subtypes of RuntimeException or IOException when it fails.
  • Fix: Prevent JAXB converter from loading remote entities and DTDs.
  • Fix: Correctly detect default methods in interfaces on Android (API 24+). These still do not work, but now a correct exception will be thrown when detected.
  • Fix: Report more accurate exceptions when a @QueryName or @QueryMap precedes a @Url parameter.
  • Update OkHttp dependency to 3.12.

Version 2.4.0 (2018-03-14)

  • New: Retrofit.Builder exposes mutable lists of the added converter and call adapter factories.
  • New: Call adapter added for Scala's Future.
  • New: Converter for JAXB replaces the now-deprecated converter for Simple XML Framework.
  • New: Add Java 9 automatic module names for each artifact corresponding to their root package.
  • Fix: Do not swallow Errors from callbacks (usually OutOfMemoryError).
  • Fix: Moshi and Gson converters now assert that the full response was consumed. This prevents hiding bugs in faulty adapters which might not have consumed the full JSON input which would then cause failures on the next request over that connection.
  • Fix: Do not conflate OkHttp Call cancelation with RxJava unsubscription/disposal. Prior to this change, canceling of a Call would prevent a cancelation exception from propagating down the Rx stream.
Commits
  • 40621bf [maven-release-plugin] prepare release parent-2.5.0
  • 8bd6c99 Prepare next development version
  • 5d6650a Merge pull request #2967 from square/jakew/robo/2018-11-18
  • 23592bc Merge pull request #2968 from square/jakew/okhhtp/2018-11-18
  • 01e024b Update OkHttp to 3.12
  • 7d8dd16 Update Robolectric
  • f0cad11 Merge pull request #2962 from square/jakew/completable-future-android/2018-11-16
  • bc62069 Merge pull request #2963 from square/jakew/nullability/2018-11-16
  • 7dcac1d Merge pull request #2964 from square/jakew/header-tests/2018-11-16
  • 07cb4ae Add tests for form and multipart header values and overrides
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)
  • @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.

> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

王灏 and others added 30 commits July 14, 2022 17:37
[IMP] 完善发布应用服务版本的逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!414
Feature c7n 502

See merge request hand-yanqianyun-yq-devops/devops-service!415
[IMP] 调整应用服务版本代码

See merge request hand-yanqianyun-yq-devops/devops-service!418
[IMP] 添加应用服务和helm配置的关系表

See merge request hand-yanqianyun-yq-devops/devops-service!419
[IMP] 完善chart发布逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!420
[IMP] 修改应用服务修改默认helm仓库逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!421
[IMP] 完善应用服务修改默认helm仓库逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!422
[IMP] 初始化平台层仓库默认resourceId为0

See merge request hand-yanqianyun-yq-devops/devops-service!423
[IMP] 修改初始化平台默认helm仓库逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!424
[IMP] 修改组织层修改helm仓库逻辑

See merge request hand-yanqianyun-yq-devops/devops-service!425
Feature yq devops 3059

See merge request hand-yanqianyun-yq-devops/devops-service!426
[IMP] 项目类型添加多语言

See merge request hand-yanqianyun-yq-devops/devops-service!427
王灏 and others added 27 commits August 10, 2022 20:28
Hotfix 2.1.6.0

See merge request hand-yanqianyun-yq-devops/devops-service!501
Hotfix 2.2.0 alpha.2

See merge request hand-yanqianyun-yq-devops/devops-service!502
Hotfix 2.2.0 alpha.2

See merge request hand-yanqianyun-yq-devops/devops-service!503
Hotfix 2.2.0 alpha.3

See merge request hand-yanqianyun-yq-devops/devops-service!504
Feature yq devops 3571

See merge request hand-yanqianyun-yq-devops/devops-service!505
Bumps [retrofit](https://github.com/square/retrofit) from 2.3.0 to 2.5.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.5.0)

---
updated-dependencies:
- dependency-name: com.squareup.retrofit2:retrofit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
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