Update Apollo GraphQL packages to v4.1.0 #141
Open
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.0.1
->4.1.0
4.0.1
->4.1.0
4.0.1
->4.1.0
4.0.1
->4.1.0
4.0.1
->4.1.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
apollographql/apollo-kotlin (com.apollographql.apollo)
v4.1.0
2024-11-04
Ktor 3.0.0
Version 4.1.0 updates usages of Ktor from 2.3.11 to 3.0.0:
apollo-runtime-js
orapollo-debug-server-jvm
, you need to update your app to Ktor 3.0.0+ at the same time as updating to Apollo 4.1.0 (apollo-debug-server-android
is unaffected).apollo-mockserver
orapollo-ktor-support
from this repo, you need to update to the new coordinates.All other cases are unaffected. In particular,
apollo-runtime
on Android and iOS uses OkHttp and NsUrlConnection respectively and is not impacted by the Ktor update.You can read more details in the pull request.
New media type:
application/graphql-response+json
application/graphql-response+json
is a new media type being introduced by the GraphQL over HTTP draft. It allows differentiating a valid GraphQL response from an error JSON response that could be transmitted by a cache or proxy in the HTTP chain.If your server uses
application/graphql-response+json
and returns non-2xx response, Apollo Kotlin will now parse those responses and exposedata
anderrors
instead of returning anApolloHttpException
before.If you need to access the status code, you can do so using
executionContext[HttpInfo]
. For an example, you can restore the throwing behaviour with the following interceptor:K2 support for the IntelliJ plugin
The IntelliJ plugin is now compatible with K2 (#6150)
👷♂️ All changes
apollo-mockserver
andapollo-ktor-support
(#6215)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.
🔕 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.