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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump apollo-runtime from 2.5.9 to 2.5.10 #447

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 18, 2021

Bumps apollo-runtime from 2.5.9 to 2.5.10.

Release notes

Sourced from apollo-runtime's releases.

v2.5.10

Version 2.5.10 is a maintenance release with a few bugfixes, mutiny support and a new Gradle register${VariantName}ApolloOperations task to register your operations to the Apollo registry.

馃挏 Many thanks to @鈥婸roVir, @鈥媋oudiamoncef and @鈥媕garrow for their contributions !馃挏

鉁╗new] Mutiny support (#3213)

Version 2.5.10 adds support for the Mutiny reactive library.

Add the dependency:

// Mutiny support
implementation 'com.apollographql.apollo:apollo-mutiny-support:x.y.z'

And convert your ApolloCall to a Mutiny Uni:

// Create a query object
val query = EpisodeHeroNameQuery(episode = Episode.EMPIRE.toInput())
// Directly create Uni with Kotlin extension
val uni = apolloClient.mutinyQuery(query)

Read more in the documentation

鉁╗new] register${VariantName}ApolloOperations (#3403)

If you're using Apollo safelisting, you can now upload the transformed operations from Gradle directly. Add a registerOperations {} block to the apollo {} block:

apollo {
  service("service") {
    registerOperations {
      // You can get your key from https://studio.apollographql.com/graph/$graph/settings
      key.set(System.getenv("APOLLO_KEY"))
      graph.set(System.getenv("APOLLO_GRAPH"))
      // Use "current" by default or any other graph variant
      graphVariant.set("current")
    }
  }
}

Then call ./gradlew registerMainServiceApolloOperations to register your operations to the registry. The operations will be registered including the added __typename fields that might be added during codegen.

馃懛 All Changes

... (truncated)

Commits
  • 4d84f0f release 2.5.10
  • 6abbf60 workaround a doc issue where the 3.x was used instead of 2.x
  • 13e817e Operation Registry: normalize queries before computing the hash (#3406)
  • 41859c3 Replace 'data graph' with 'graph' (#3389)
  • 696c1af Add ./gradlew push${MainService}ApolloOperations (#3403)
  • e48d5f8 Minor improvements to the Tutorial documentation (#3396)
  • 6c7e785 do not crash when trying to indent the GraphQL document (#3399)
  • 9aee2ef Workaround wrong input field default values (#3398)
  • 1eb1c8c Adding Benoit (#3388)
  • c8b64ca docs: Configure custom Algolia filters (#3378)
  • 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 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)

Bumps [apollo-runtime](https://github.com/apollographql/apollo-android) from 2.5.9 to 2.5.10.
- [Release notes](https://github.com/apollographql/apollo-android/releases)
- [Commits](apollographql/apollo-kotlin@v2.5.9...v2.5.10)

---
updated-dependencies:
- dependency-name: com.apollographql.apollo:apollo-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 18, 2021
@iProdigy iProdigy merged commit 2eaf7b6 into develop Oct 26, 2021
@dependabot dependabot bot deleted the dependabot/gradle/develop/com.apollographql.apollo-apollo-runtime-2.5.10 branch October 26, 2021 22:50
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.

None yet

2 participants