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.3 #114

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

Release notes

Sourced from com.apollographql.apollo3's releases.

v3.7.3

This release contains a handful of bug fixes and improvements, and also discontinues the legacy JS artifacts.

Many thanks to @​StefanChmielewski and @​chao2zhang for contributing to the project! 🧡

⚙️ Removed JS legacy artifacts (#4591)

Historically, Kotlin Multiplatform has had 2 formats of JS artifacts: Legacy and IR, and Apollo Kotlin has been publishing both. However, the Legacy format is about to be deprecated with Kotlin 1.8 and moreover we've seen issues when using the Legacy artifact in the browser. That is why starting with this release, only the IR artifacts will be published. Please reach out if this causes any issue in your project.

👷‍ All changes

  • Add GraphQLWsProtocol.Factory.webSocketPayloadComposer (#4589)
  • Escape "Companion" in enum value names (#4558)
  • Un-break Gradle configuration cache in multi module cases (#4564)
  • Move computing the alwaysGenerateTypesMatching to execution time (#4578)
  • Log deprecation warning instead of printing (#4561)
  • Escape spaces when url encoding, for Apple (#4567)
  • Fix providing linker flags to the Kotlin compiler with KGP 1.8 (#4573)
  • Use service {} in all messages/docs (#4572)
  • Print all duplicate types at once (#4571)
  • Fix JavaPoet formatting (#4584)
  • Don't publish legacy js artifacts (#4591)

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)

... (truncated)

Changelog

Sourced from com.apollographql.apollo3's changelog.

Version 3.7.3

2022-12-20

This release contains a handful of bug fixes and improvements, and also discontinues the legacy JS artifacts.

Many thanks to @​StefanChmielewski and @​chao2zhang for contributing to the project! 🧡

⚙️ Removed JS legacy artifacts (#4591)

Historically, Kotlin Multiplatform has had 2 formats of JS artifacts: Legacy and IR, and Apollo Kotlin has been publishing both. However, the Legacy format is about to be deprecated with Kotlin 1.8 and moreover we've seen issues when using the Legacy artifact in the browser. That is why starting with this release, only the IR artifacts will be published. Please reach out if this causes any issue in your project.

👷‍ All changes

  • Add GraphQLWsProtocol.Factory.webSocketPayloadComposer (#4589)
  • Escape "Companion" in enum value names (#4558)
  • Un-break Gradle configuration cache in multi module cases (#4564)
  • Move computing the alwaysGenerateTypesMatching to execution time (#4578)
  • Log deprecation warning instead of printing (#4561)
  • Escape spaces when url encoding, for Apple (#4567)
  • Fix providing linker flags to the Kotlin compiler with KGP 1.8 (#4573)
  • Use service {} in all messages/docs (#4572)
  • Print all duplicate types at once (#4571)
  • Fix JavaPoet formatting (#4584)
  • Don't publish legacy js artifacts (#4591)

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")
    // ...
+ }
</tr></table> 

... (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 #117.