Skip to content

Update all dependencies - #2886

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/all
Open

Update all dependencies#2886
renovate[bot] wants to merge 1 commit into
developfrom
renovate/all

Conversation

@renovate

@renovate renovate Bot commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
androidx.navigation3:navigation3-ui (source) 1.2.0-alpha061.2.0-alpha07 age confidence
androidx.navigation3:navigation3-runtime (source) 1.2.0-alpha061.2.0-alpha07 age confidence
com.apollographql.apollo 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-gradle-plugin 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-testing-support 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-runtime 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-normalized-cache 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-api 4.4.35.0.1 age confidence
com.apollographql.apollo:apollo-annotations 4.4.35.0.1 age confidence

Release Notes

apollographql/apollo-kotlin (com.apollographql.apollo)

v5.0.1

2026-06-25

A few bugfixes, support for onError, and promote "directives on directives" which was merged in the specification recently.

Experimental onError support

If your server supports the onError request parameter, you can now use it to control error propagation:

val response = apolloClient.query(FooQuery())
                .onError(OnError.NULL)
                .execute()

When using OnError.NULL, error propagation is disabled, meaning you get more partial data:

type Query {
  user: User
}

type User {
  name: String!
  email: String!
}

If an error occurs at user.email, you will get a partial response with user.name but no user.email, instead of propagating the error to the parent user field:

{
  "errors": [{"path": ["user", "email"] }],
  "data": {
    "user": {
      "name": "John Doe",
      "email": null
    }
  }
}

Coupled with error aware parsing, it allows for more granular error handling.

Note: onError achieves the same functionality as @experimental_DisableErrorPropagation. It is expected that onError ultimately replaces the directive.

👷‍♂️ All changes

  • [compiler] Add missing dependency on kotlinx-serialization-core (#​6973)
  • [compiler] Exclude invalid fields from field merging validation, fixes validation could hang on some invalid operations (#​6972)
  • [runtime] Expose a proper [JsonDataException] in case null is returned in an unexpected position (#​6971)
  • [runtime] Add NullableLongAdapter (#​6968)
  • [runtime] Add ApolloClient support for onError (#​6963)
  • [runtime] Fix bug with duplicate headers being added when using batching (#​6961)
  • [runtime] Deprecate allowDirectivesOnDirectives, it is now merged (#​6965)
  • [runtime] Fix allowDirectivesOnDirectives not being honored (#​6953)
  • [runtime] Workaround introspection for servers that do not support isOneOf despite advertizing it (#​6949)

v5.0.0

2026-05-12

Apollo Kotlin 5 is a major release focused on:

  • GraphQL golden path: incremental delivery (@defer/@stream), fragment arguments, service capabilities, onError, nullability, field extensions, @oneOf, schema coordinates, ...
  • Modernized infrastructure: KGP 2.3.10, Gradle 9, AGP 9, classloader isolation, isolated projects support.

In addition, Apollo Kotlin 5 stabilizes the new WebSocket engine, adds new KMP targets, a new HTTP cache strategy on top of OkHttp, new compiler plugin APIs, and more.

Previous DeprecationLevel.WARNING symbols are now DeprecationLevel.ERROR.
Previous DeprecationLevel.ERROR symbols are removed.

Apollo Kotlin 5 is an incremental release. Most of the APIs are compatible with Apollo Kotlin 4. The main breaking changes are in experimental Data Builders and Apollo Compiler Plugins.

For an upgrade walkthrough, see the v5 migration guide.

🚀 GraphQL golden path

Apollo Kotlin 5 implements the latest version of the GraphQL specification draft as well as support for many experimental RFCs.

Those RFCs solve long-standing pain points in GraphQL, such as semantic nullability or fragment arguments.

  • Add incremental/v0.2 format for @defer and @stream (#​6331).
  • Add fragment arguments (#​6882).
  • Add support for onError (#​6860).
  • Add support for service capabilities (#​6858).
  • Add field extensions (#​6856, #​6867).
  • Add schema coordinates (#​6560).
  • Add @ignore support (#​6900).
  • Add support descriptions on variable definitions (#​6699).
  • Add support for directives on directive definitions (#​6803).
  • Speed up field merging validation (#​6875).
  • Validate @oneOf input objects when they create cycles (#​6894).

🧰 Modernized infrastructure

The Gradle plugin now uses Gratatouille classloader isolation, instead of GR8 relocation previously (#​6524). This makes the plugin more robust and easier to debug.

Apollo Kotlin 5 uses KGP 2.3, with 2.1 compatibility for JVM and Android consumers. Native and JS consumers must compile with KGP 2.3+.

🚗 Runtime

Apollo Kotlin 5 stabilizes the new WebSocket API, making it easier to manage the lifecycle of the WebSocket and retry subscriptions.

  • Promote experimental WebSockets to stable; the previous implementation (under com.apollographql.apollo.ws) is deprecated (#​6774).
  • Add RetryStrategy (#​6764).
  • Add ApolloRequest.Builder.url(String) (#​6758).
  • Add ApolloCall.extensions() (#​6834).
  • Add ApolloCall.ignoreUnknownKeys and ApolloClient.Builder.ignoreUnknownKeys (#​6473).
  • Restore JsonReader state if a field throws in-flight (#​6775).
  • Make Optional.Absent a data object (#​6686); use if/else to avoid Int boxing (#​6688).

🗄️ Normalized cache

The normalized cache artifacts are also deprecated and moved to a separate repository apollo-kotlin-normalized-cache (#​6888).

This new cache supports:

  • TTL
  • Garbage collection
  • Pagination
  • Partial results

Note that the SQLite storage format is not backward-compatible. See the dedicated migration guide for more details.

🌐 HTTP cache

The legacy apollo-http-cache artifact is deprecated.

Instead, Apollo Kotlin now uses OkHttp's cacheUrlOverride() and supports POST caching via enablePostCaching (#​6739).

See the migration guide for more details.

🛠️ Compiler & AST

  • Add schema-transform API (#​6450).
  • Allow registering multiple compiler plugins; introduce Service.pluginsArguments (#​6523, #​6622).
  • Add Service.issueSeverity() to control the severity of compiler issues per type (#​6731).
  • Introduce Service.generateApolloEnums to generate enums as a sealed hierarchy with a __Known interface (#​6611).
  • Allow generating Data Builders outside the main source set (#​6485).
  • Add generateApolloProjectIdeModel task (#​6666).
  • Add a specific issue type for fragment cycles (#​6759).
  • Move validation tests to apollo-ast (#​6868).
  • Reorganize parser, introspection, and merger tests (#​6857).
  • Warn on unused fragments (#​6601).
  • Pretty-print the operation manifest (#​6720).
  • Allow empty deprecation messages (#​6729, #​6779).
  • Add key fields of possible types of interfaces and fragments (#​6515).
  • Add key fields to selections even when they're already selected with an alias (#​6503).
  • Transform GraphQL documents before running validation (#​6511).
  • Call DocumentTransform.transform after processing (#​6510).
  • Rename @link Purpose and Import definitions (#​6838).
  • Escape names in equals(), hashCode(), copy(), and toString() (#​6843).
  • Escape /* and */ in KDocs (#​6805).
  • Ignore scalars/enums in checkCapitalizedFields (#​6502).
  • Fix IndexOutOfBoundsException in keyFields validation (#​6748).
  • Do not check already-checked fragments in checkCapitalizedFields (#​6718).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • 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 requested a review from a team as a code owner March 13, 2026 02:10
@renovate renovate Bot changed the title fix(deps): update all dependencies Update all dependencies Mar 13, 2026
@renovate
renovate Bot force-pushed the renovate/all branch 14 times, most recently from 846c4a5 to 88a68d2 Compare March 23, 2026 14:00
@renovate
renovate Bot force-pushed the renovate/all branch 13 times, most recently from e524490 to 3947c15 Compare March 30, 2026 08:55
@renovate
renovate Bot force-pushed the renovate/all branch 6 times, most recently from 31d40d6 to 25dca7a Compare April 8, 2026 20:12
@renovate renovate Bot changed the title fix(deps): update all dependencies Update all dependencies Apr 8, 2026
@renovate
renovate Bot force-pushed the renovate/all branch 18 times, most recently from 2e3642d to 9595c96 Compare April 15, 2026 11:14
@renovate
renovate Bot force-pushed the renovate/all branch 3 times, most recently from ff952cb to 044dd89 Compare April 16, 2026 09:36
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