GDG-Nantes / DevfestNantesMobile

KMM Mobile repo for the Android and iOS mobile app of the DevFest Nantes.
https://devfest.gdgnantes.com/
Apache License 2.0
12 stars 2 forks source link

Bump com.apollographql.apollo3 from Apollo.apolloVersion to 3.7.2 #113

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps com.apollographql.apollo3 from Apollo.apolloVersion to 3.7.2.

Release notes

Sourced from com.apollographql.apollo3's releases.

v3.7.2

This patch release brings a few fixes.

Many thanks to @​davidshepherd7, @​chao2zhang, @​agrosner, @​MyDogTom, @​doucheng, @​sam43 and @​vincentjames501, for helping improve the library! 🙏

🔎‍ Explicit service declaration

Apollo Kotlin can be configured to work with multiple services and have the package name, schema files location, and other options specified for each of them. When using a single service however it is possible to omit the service block and set the options directly in the apollo block - in that case, a default service named service is automatically defined.

While this saves a few lines, it relies on Gradle afterEvaluate {} block that makes the execution of the plugin less predictable and more subject to race conditions with other plugins (see here for an example).

What's more, as we move more logic to build time, the name of the service is going to be used more and more in generated code. Since explicit is better than implicit, mandating that service name sounds a good thing to do and a warning is now printed if you do not define your service name.

To remove the warning, embed the options into a service block:

apollo {
+ service("service") {
    packageName.set("com.example")
    // ...
+ }
}

👷‍ All changes

  • Improve "duplicate type" message by using the full path of the module (#4527)
  • Fix using apollo2 and apollo3 Gradle plugins at the same time (#4528)
  • Add a warning when using the default service (#4532)
  • Fix Java codegen in synthetic fields when using optionals (#4533)
  • Make canBeBatched and httpHeaders orthogonal (#4534)
  • Fix item wrongly removed from http cache when error in subscriptions (#4537)
  • Do not throw on graphql-ws errors and instead return the errors in ApolloResponse (#4540)
  • graphql-ws: send pong while waiting for connection_ack (#4555)

v3.7.1

A patch release with a few fixes.

👷‍ All changes

  • 👷Data Builders: make DefaultFakeResolver open and stateless (#4468)
  • Kotlin 1.7.21 (#4511)
  • Introduce HttpFetchPolicyContext (#4509)
  • Fix usedCoordinates on interfaces (#4506)

Many thanks to @​Holoceo, @​juliagarrigos, @​davidshepherd7 and @​eduardb for the feedbacks 💙

v3.7.0

This version adds multiple new low level features. These new features expose a lot of API surface, and they will probably stay experimental until 4.0. Feedback is always very welcome.

... (truncated)

Changelog

Sourced from com.apollographql.apollo3's changelog.

Version 3.7.2

2022-12-05

This patch release brings a few fixes.

Many thanks to @​davidshepherd7, @​chao2zhang, @​agrosner, @​MyDogTom, @​doucheng, @​sam43 and @​vincentjames501, for helping improve the library! 🙏

🔎‍ Explicit service declaration

Apollo Kotlin can be configured to work with multiple services and have the package name, schema files location, and other options specified for each of them. When using a single service however it is possible to omit the service block and set the options directly in the apollo block - in that case, a default service named service is automatically defined.

While this saves a few lines, it relies on Gradle afterEvaluate {} block that makes the execution of the plugin less predictable and more subject to race conditions with other plugins (see here for an example).

What's more, as we move more logic to build time, the name of the service is going to be used more and more in generated code. Since explicit is better than implicit, mandating that service name sounds a good thing to do and a warning is now printed if you do not define your service name.

To remove the warning, embed the options into a service block:

apollo {
+ service("service") {
    packageName.set("com.example")
    // ...
+ }
}

👷‍ All changes

  • Improve "duplicate type" message by using the full path of the module (#4527)
  • Fix using apollo2 and apollo3 Gradle plugins at the same time (#4528)
  • Add a warning when using the default service (#4532)
  • Fix Java codegen in synthetic fields when using optionals (#4533)
  • Make canBeBatched and httpHeaders orthogonal (#4534)
  • Fix item wrongly removed from http cache when error in subscriptions (#4537)
  • Do not throw on graphql-ws errors and instead return the errors in ApolloResponse (#4540)
  • graphql-ws: send pong while waiting for connection_ack (#4555)

Version 3.7.1

2022-11-18

A patch release with a few fixes.

👷‍ All changes

  • 👷Data Builders: make DefaultFakeResolver open and stateless (#4468)
  • Kotlin 1.7.21 (#4511)
  • Introduce HttpFetchPolicyContext (#4509)
  • Fix usedCoordinates on interfaces (#4506)

... (truncated)

Commits


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)
dependabot[bot] commented 1 year ago

Superseded by #114.