Update Apollo GraphQL packages - autoclosed #1596
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.0.8
->0.0.9
4.1.1
->4.2.0
4.1.1
->4.2.0
4.1.1
->4.2.0
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 cachecom.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 ofApolloClient.store
for consistency. (#127)ApolloClient.apolloStore
now returns aSimpleApolloStore
, a wrapper aroundApolloStore
that doesn't need aCustomScalarAdapters
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:If the
to
parameter is an inline value class, use theinlineProperty
parameter to have the generated code box/unbox the value. In that case,with
needs to point to an adapter of the underlying type: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: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
@link
' quickfix (#6402)HttpInterceptor.intercept()
to throwThrowable
(#6403)@DataBuilderDsl
(#6484)withBuiltInDefinitions()
and add flag to dump scalar definitions in SDL (#6389)@map
and@mapTo
(#6404)@ApolloInternal
in public ABI (#6407)@ApolloExperimental
symbols in public API (#6416)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.
This PR was generated by Mend Renovate. View the repository job log.