Update Apollo GraphQL packages to v5#2420
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
4.4.3→5.0.04.4.3→5.0.04.4.3→5.0.04.4.3→5.0.04.4.3→5.0.04.4.3→5.0.0Release Notes
apollographql/apollo-kotlin (com.apollographql.apollo)
v5.0.02026-05-12
Apollo Kotlin 5 is a major release focused on:
@defer/@stream), fragment arguments, service capabilities,onError, nullability, field extensions,@oneOf, schema coordinates, ...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.WARNINGsymbols are nowDeprecationLevel.ERROR.Previous
DeprecationLevel.ERRORsymbols 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.
incremental/v0.2format for@deferand@stream(#6331).onError(#6860).@ignoresupport (#6900).@oneOfinput 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.1compatibility for JVM and Android consumers. Native and JS consumers must compile with KGP 2.3+.linuxX64(#6493),linuxArm64(#6929) andwatchosDeviceArm64(#6791) targets.com.android.kotlin.multiplatform.library(#6703, #6707, #6736).Acceptheader to introspection queries (#6616).🚗 Runtime
Apollo Kotlin 5 stabilizes the new WebSocket API, making it easier to manage the lifecycle of the WebSocket and retry subscriptions.
com.apollographql.apollo.ws) is deprecated (#6774).RetryStrategy(#6764).ApolloRequest.Builder.url(String)(#6758).ApolloCall.extensions()(#6834).ApolloCall.ignoreUnknownKeysandApolloClient.Builder.ignoreUnknownKeys(#6473).JsonReaderstate if a field throws in-flight (#6775).Optional.Absentadata object(#6686); useif/elseto avoidIntboxing (#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:
Note that the SQLite storage format is not backward-compatible. See the dedicated migration guide for more details.
🌐 HTTP cache
The legacy
apollo-http-cacheartifact is deprecated.Instead, Apollo Kotlin now uses OkHttp's
cacheUrlOverride()and supports POST caching viaenablePostCaching(#6739).See the migration guide for more details.
🛠️ Compiler & AST
Service.pluginsArguments(#6523, #6622).Service.issueSeverity()to control the severity of compiler issues per type (#6731).Service.generateApolloEnumsto generate enums as a sealed hierarchy with a__Knowninterface (#6611).generateApolloProjectIdeModeltask (#6666).apollo-ast(#6868).DocumentTransform.transformafter processing (#6510).@linkPurposeandImportdefinitions (#6838).equals(),hashCode(),copy(), andtoString()(#6843)./*and*/in KDocs (#6805).checkCapitalizedFields(#6502).IndexOutOfBoundsExceptioninkeyFieldsvalidation (#6748).checkCapitalizedFields(#6718).Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.