Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 9, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
com.apollographql.adapters:apollo-adapters-core 0.0.4 -> 0.7.0 age confidence
com.apollographql.apollo:apollo-compiler 4.1.1 -> 4.3.3 age confidence

Release Notes

apollographql/apollo-kotlin-adapters (com.apollographql.adapters:apollo-adapters-core)

v0.7.0

⚠️Breaking change: Version 0.7.0 bumps kotlinx-datetime to 0.7.0⚠️

If you were mapping custom scalars to kotlinx.datetime.Instant, you now need to map them to kotlin.time.Instant and use KotlinInstantAdapter (instead of KotlinxInstantAdapter before).

You can read more in the kotlinx-datetime repo: https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant

Many thanks to @​ychescale9 for diving into this 🙏

What's Changed

New Contributors

Full Changelog: apollographql/apollo-kotlin-adapters@v0.0.6...v0.7.0

v0.0.6

⚠️Breaking change: Version 0.7.0 bumps kotlinx-datetime to 0.7.0⚠️

If you were mapping custom scalars to kotlinx.datetime.Instant, you now need to map them to kotlin.time.Instant and use KotlinInstantAdapter (instead of KotlinxInstantAdapter before).

You can read more in the kotlinx-datetime repo: https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant

Many thanks to @​ychescale9 for diving into this 🙏

All changes

v0.0.5

2025-04-29

  • Do not set the license URL in the POMs (#​29)
apollographql/apollo-kotlin (com.apollographql.apollo:apollo-compiler)

v4.3.3

2025-08-21

This is maintenance release that includes a few fixes.

👷‍♂️ All changes

  • [fix] Normalize the order of arguments of checked definitions (#​6651)
  • [fix] Make sure that the introspection endpoint property value is checked at execution time (#​6658)
  • [fix] Do not silently discard network exceptions (#​6671)

💜 Contributors

Many thanks to @​francescocervone for the Gradle plugin fix 💜

v4.3.2

2025-07-25

Maintenance release to fix the Accept: header during introspection. Many thanks @​pedromfmachado for diving into this!

This release also contains infrastructure work:

What's Changed

v4.3.1

2025-06-18

This is maintenance release that fixes an issue with Gradle task dependencies when using connectToAndroidSourceSet().

This release also introduces an Enhanced Client Awareness feature that adds the version of the library to
requests in the extensions object. This is useful for server-side analytics and debugging. This is enabled by default,
and can be disabled by calling sendEnhancedClientAwareness(false) on your ApolloClient.Builder.

💜 Contributors

Many thanks to @​calvincestari for the client awareness contribution 💜

👷‍♂️ All changes

  • Backport IJ plugin changes from main (#​6559)
  • simplify task wiring and fix propagating task dependencies when using connectToAndroidSourceSet() (#​6564)
  • feature: Enhanced Client Awareness (#​6567)

v4.3.0

2025-06-05

Version 4.3.0 allows adding multiple compiler plugins and stabilizes ApolloCompilerPlugin.beforeCompilationStep() as the main entry point for compiler plugins. Read more in the compiler plugins documentation page.

This allows to move some cache-specific code generation logic to the new normalized cache repo and better separate concerns.

Moving forward, ApolloCompilerPlugin.beforeCompilationStep() and ApolloCompilerRegistry.registerOperationIdsGenerator() are considered stable because they play an important part in setting up persisted queries. Other APIs are considered more advanced and will most likely stay unstable for the foreseeable future.

Contributors 💜

Many thanks to @​gnehz972 and @​mengdd for their fixes about HTTP batching 💜

👷‍♂️ All changes

  • Fix losing response headers when using batch request (#​6538)
  • fix the batch size not respected issue (#​6528)
  • prepare compiler plugins for 4.3 (#​6549)
  • Allow to register multiple compiler plugins (#​6546)
  • Add key fields to selections even when they're already selected with an alias (#​6503) (#​6544)
  • Ignore scalars/enums in checkCapitalizedFields (#​6502) (#​6543)
  • Call DocumentTransform.transform after processing (#​6510) (#​6512)

v4.2.0

2025-04-28

Generate custom scalars as inline classes with @map and @mapTo (#​6404)

It is now possible to configure the adapters to use with scalars by using the @map directive:

extend schema @​link(url: "https://specs.apollo.dev/kotlin_labs/v0.5/", import: ["@​mapTo", "@​map"])

extend scalar Date @​map(to: "kotlinx.datetime.Instant", with: "com.apollographql.adapters.InstantAdapter")

If the to parameter is an inline value class, use the inlineProperty parameter to have the generated code box/unbox the value. In that case, with needs to point to an adapter of the underlying type:

extend scalar Timestamp @​map(to: "com.example.Timestamp", with: "com.apollographql.apollo.api.LongAdapter", inlineProperty: "ts")

For the common cases where the scalar can be represented as a built-in Kotlin type (String, Boolean, Int, Long, Float, Double), you can use @mapTo and the compiler infers the adapter and generates an inline value class automatically:

extend scalar Length @​mapTo(builtIn: Long)

Scalar definitions in schemas downloaded from introspection (#​6389)

Downloading or converting an SDL schema from introspection now includes scalar definitions.
This is required for clients to get a full view of the schema.

Support for @disableErrorPropagation

Apollo Kotlin now automatically adds @disableErrorPropagation if your server supports it and you opted in @catchByDefault in your schema extensions. This allows to use non-null types more liberally and still get support for partial data.

See graphql/graphql-js#4348 and graphql-java/graphql-java#3772

Contributors 💜

Many thanks to @​bobbysothebys, @​jvanderwee, @​dhritzkiv, @​lwasyl and @​rohandhruva for all the contributions and help in this release 💜

👷‍♂️ All changes

  • [intellij-plugin] Fix MemoryCache package name (#​6383)
  • [intellij-plugin] Rover: always pass path to supergraph.yaml if present (#​6384)
  • [intellij-plugin] Make 'Download Schema action' consider deep subprojects (#​6394)
  • [intellij-plugin] Fix a crash when invoking the 'missing @link' quickfix (#​6402)
  • [intellij-plugin] Use configured Gradle JVM when executing tasks (#​6425)
  • [intellij-plugin] Fix pulling normalized cache for recent AS (#​6437)
  • [intellij-plugin] Use a coroutines to prevent an IllegalStateException (#​6460, #​6487)
  • [intellij-plugin] Use coroutines in ApolloCodegenService (#​6477, #​6487)
  • [intellij-plugin]Use incubating cache 0.0.8 and show errors in cache viewer (#​6439)
  • [runtime] Use ephemeral NSURLSessionConfiguration by default (#​6376)
  • [runtime] Add toString() method to ApolloResponse (#​6409)
  • [runtime] Better error messages for ApolloClient.Builder() (#​6424)
  • [runtime] Add Swift interceptor iOS test and allow HttpInterceptor.intercept() to throw Throwable (#​6403)
  • [runtime] Add cacheInterceptor() and autoPersistedQueriesInterceptor() (#​6456)
  • [runtime] Revert behaviour change (#​6482)
  • [runtime] Introduce @DataBuilderDsl (#​6484)
  • [ast] Simplify semanticEquals (#​6388)
  • [ast] Remove withBuiltInDefinitions() and add flag to dump scalar definitions in SDL (#​6389)
  • [ast] Refactor schema validation (#​6396)
  • [ast] Better @​link handling (#​6417)
  • [ast] Add support for @​disableErrorPropagation (#​6414)
  • [compiler] Add @map and @mapTo (#​6404)
  • [compiler] Inline classes, fix using inline classes in input positions (#​6427)
  • [compiler] Java Codegen: add some @​SuppressWarnings("unchecked") (#​6434)
  • [gradle-plugin] Make logLevel property internal to not take it into account when caching (#​6399)
  • [gradle-plugin] expose regular configurations for multi-module projects (#​6408)
  • [gradle-plugin] Keep the @​RequiresOptIn annotation in the Gradle plugin (#​6406)
  • [gradle-plugin] Remove possible eager task creation (#​6442)
  • [infra] Track @ApolloInternal in public ABI (#​6407)
  • [infra] Track @ApolloExperimental symbols in public API (#​6416)
  • [infra] Cache: add a 'large list' benchmark (#​6432)
  • [infra] Remove a bunch of warnings (#​6441)
  • [all] Bump Kotlin to 2.1.10 (#​6370)
  • [all] Bump Kotlin to 2.1.20 (#​6431)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

github-actions[bot]
github-actions bot previously approved these changes Jun 9, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate and Dependabot PRs are automatically approved. Still requires human review.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from e3bac20 to 9010083 Compare June 18, 2025 17:42
github-actions[bot]
github-actions bot previously approved these changes Jun 18, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate and Dependabot PRs are automatically approved. Still requires human review.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 3 times, most recently from 42642cb to 24e5256 Compare June 24, 2025 11:24
@renovate renovate bot removed the patch-version label Jun 26, 2025
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 24e5256 to 54d2e28 Compare June 26, 2025 19:43
github-actions[bot]
github-actions bot previously approved these changes Jun 26, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate and Dependabot PRs are automatically approved. Still requires human review.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 3 times, most recently from 3c3389d to 8bbc2cc Compare July 7, 2025 08:34
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 85b9a51 to d5057f4 Compare July 15, 2025 10:24
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from d5057f4 to dc93159 Compare July 22, 2025 13:16
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from dc93159 to bb32a0f Compare July 25, 2025 10:29
github-actions[bot]
github-actions bot previously approved these changes Jul 25, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate and Dependabot PRs are automatically approved. Still requires human review.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from bb32a0f to 5ae5266 Compare July 30, 2025 12:06
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 5ae5266 to 02e654f Compare August 19, 2025 16:22
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 02e654f to b11211d Compare August 21, 2025 14:13
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate and Dependabot PRs are automatically approved. Still requires human review.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from b11211d to 3035f25 Compare August 27, 2025 17:53
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 3035f25 to a68627f Compare September 18, 2025 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant