Skip to content
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

Bump com.apollographql.apollo:apollo-runtime from 4.0.1 to 4.1.0 #781

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 11, 2024

Bumps com.apollographql.apollo:apollo-runtime from 4.0.1 to 4.1.0.

Release notes

Sourced from com.apollographql.apollo:apollo-runtime's releases.

v4.1.0

Ktor 3.0.0

Version 4.1.0 updates usages of Ktor from 2.3.11 to 3.0.0:

  • If you are using apollo-runtime-js or apollo-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).
  • If you are using the deprecated apollo-mockserver or apollo-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 expose data and errors instead of returning an ApolloHttpException before.

K2 support for the IntelliJ plugin

The IntelliJ plugin is now compatible with K2 (#6150)

👷‍♂️ All changes

  • [all] Update kotlinpoet to 2.0.0 (#6215)
  • [all] Update to Ktor 3 (#6214)
  • [all] Remove apollo-mockserver and apollo-ktor-support (#6215)
  • [all] Remove mockserver as a dependency of apollo-testing-support (#6218)
  • [ast] Do not escape slashes in single quoted strings (#6190)
  • [runtime] Add support for application/graphql-response+json (#6170)
  • [runtime] Do not call experimental webSocket() method re-entrently (#6197)
  • [debug server] Remove Ktor dependency from apollo-debug-server JVM (#6224)
  • [codegen] Do not add internal to private members (#6213)
  • [codegen] Fix name clash in data builder names when two types differ only by their case (#6195)
  • [gradle plugin] Allow null in KSP arguments for Apollo Compiler Plugins (#6200)
  • [gradle plugin] Do not log the full introspection JSON (#6199)
  • [gradle plugin] Deprecate TargetLanguage.KOTLIN_1_5 (#6193)
  • [IJ Plugin] Make the cache viewer understand the blob db format (#6187)
  • [IJ Plugin] Bump IJ Platform Gradle Plugin to 2.0.1 (#6185)
  • [IJ Plugin] Migrate to the K2 compatible Analysis API (#6150)
  • [IJ Plugin] Schedule the GraphQL configuration reload early (#6228)
  • [IJ Plugin] Rename related generated code when renaming an Operation/Fragment (#6227)
  • [IJ Plugin] Only highlight the name of unused operations, rather than the whole operation (#6226)
Changelog

Sourced from com.apollographql.apollo:apollo-runtime's changelog.

Version 4.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:

  • If you are using apollo-runtime-js or apollo-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).
  • If you are using the deprecated apollo-mockserver or apollo-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 expose data and errors instead of returning an ApolloHttpException before.

K2 support for the IntelliJ plugin

The IntelliJ plugin is now compatible with K2 (#6150)

👷‍♂️ All changes

  • [all] Update kotlinpoet to 2.0.0 (#6215)
  • [all] Update to Ktor 3 (#6214)
  • [all] Remove apollo-mockserver and apollo-ktor-support (#6215)
  • [all] Remove mockserver as a dependency of apollo-testing-support (#6218)
  • [ast] Do not escape slashes in single quoted strings (#6190)
  • [runtime] Add support for application/graphql-response+json (#6170)
  • [runtime] Do not call experimental webSocket() method re-entrently (#6197)
  • [debug server] Remove Ktor dependency from apollo-debug-server JVM (#6224)
  • [codegen] Do not add internal to private members (#6213)
  • [codegen] Fix name clash in data builder names when two types differ only by their case (#6195)
  • [gradle plugin] Allow null in KSP arguments for Apollo Compiler Plugins (#6200)
  • [gradle plugin] Do not log the full introspection JSON (#6199)
  • [gradle plugin] Deprecate TargetLanguage.KOTLIN_1_5 (#6193)
  • [IJ Plugin] Make the cache viewer understand the blob db format (#6187)
  • [IJ Plugin] Bump IJ Platform Gradle Plugin to 2.0.1 (#6185)
  • [IJ Plugin] Migrate to the K2 compatible Analysis API (#6150)
  • [IJ Plugin] Schedule the GraphQL configuration reload early (#6228)
  • [IJ Plugin] Rename related generated code when renaming an Operation/Fragment (#6227)
  • [IJ Plugin] Only highlight the name of unused operations, rather than the whole operation (#6226)
Commits
  • f9df2fc release 4.1.0 (#6234)
  • 02ce1ea Do not cache exceptions (#6232)
  • c6cfd6f Update ApolloHttpException KDoc (#6233)
  • 7f2352a Update ROADMAP.md (#6230)
  • 2c7a073 [IJ Plugin] Schedule the GraphQL configuration reload early (#6228)
  • f61acdf [IJ Plugin] Rename related generated code when renaming an Operation/Fragment...
  • 5f4dba5 Remove Ktor dependency from apollo-debug-server JVM (#6224)
  • f44e27f [IJ Plugin] Only highlight the name of unused operations, rather than the who...
  • 2b5d778 Remove tombstones (#6222)
  • 174cb22 Remove mockserver as a dependency of apollo-testing-support (#6218)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.apollographql.apollo:apollo-runtime](https://github.com/apollographql/apollo-kotlin) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/apollographql/apollo-kotlin/releases)
- [Changelog](https://github.com/apollographql/apollo-kotlin/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-kotlin@v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: com.apollographql.apollo:apollo-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from jan-tennert as a code owner November 11, 2024 12:47
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 11, 2024
@jan-tennert jan-tennert merged commit e2047f4 into master Nov 11, 2024
13 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/com.apollographql.apollo-apollo-runtime-4.1.0 branch November 11, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build file dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant