Skip to content

Update Apollo GraphQL packages - autoclosed #1596

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.apollographql.cache:normalized-cache-apollo-compiler-plugin 0.0.8 -> 0.0.9 age adoption passing confidence
com.apollographql.apollo:apollo-gradle-plugin 4.1.1 -> 4.2.0 age adoption passing confidence
com.apollographql.apollo:apollo-tooling 4.1.1 -> 4.2.0 age adoption passing confidence
com.apollographql.apollo:apollo-annotations 4.1.1 -> 4.2.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

apollographql/apollo-kotlin-normalized-cache (com.apollographql.cache:normalized-cache-apollo-compiler-plugin)

v0.0.9

2025-04-09

  • Removing "incubating" from the repository and artifacts name. With a stable API on the horizon, now is a great time to try the library in your projects and give us feedback.
    The artifacts are now:

    • com.apollographql.cache:normalized-cache for the memory cache
    • com.apollographql.cache:normalized-cache-sqlite for the SQL cache.

    The package names are unchanged.

  • Records are now rooted per operation type (QUERY_ROOT, MUTATION_ROOT, SUBSCRIPTION_ROOT) (#​109)

  • ApolloClient.apolloStore is deprecated in favor of ApolloClient.store for consistency. (#​127)

  • ApolloClient.apolloStore now returns a SimpleApolloStore, a wrapper around ApolloStore that doesn't need a CustomScalarAdapters to be passed to read/write methods. (#​123)

apollographql/apollo-kotlin (com.apollographql.apollo:apollo-gradle-plugin)

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 https://github.com/graphql/graphql-js/pull/4348 and https://github.com/graphql-java/graphql-java/pull/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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 9bcb97e to bd5b41b Compare April 25, 2025 10:33
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from bd5b41b to b7b2250 Compare April 28, 2025 14:07
@renovate renovate bot changed the title Update dependency com.apollographql.cache:normalized-cache-apollo-compiler-plugin to v0.0.9 Update Apollo GraphQL packages Apr 28, 2025
@renovate renovate bot changed the title Update Apollo GraphQL packages Update Apollo GraphQL packages - autoclosed May 12, 2025
@renovate renovate bot closed this May 12, 2025
@renovate renovate bot deleted the renovate/apollo-graphql-packages branch May 12, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants