Note
In previous versions, the plugin had a dependency on the JetBrains GraphQL plugin.
Starting with v5. we have forked and integrated that plugin’s code to allow us to implement certain Apollo specific features (e.g. @link
support).
Since both plugins now handle *.graphql
files, they can’t be used at the same time, and if you are upgrading the plugin from v4, the IDE will therefore ask you to choose which plugin to use.
Note that at the moment, all features of the GraphQL plugin are still present in the Apollo one, and we aim to backport bug fixes and new features.
- Overhaul of the code generation mechanism (#62).
Code generation is now using the Apollo Compiler directly, instead of invoking the Gradle codegen task, when possible (projects using Apollo Kotlin v5+). This results in faster code generation and lower memory consumption. For projects using Apollo Kotlin < v5, the Gradle task is still invoked, but no longer with the--continuous
flag, which avoids running a dedicated Gradle daemon (#36). - Better
@link
support (#55) - Add received date to the cache viewer (#56)
- Support descriptions on executable definitions (#53)
- Make the graphql folder stand out (#54)
- Various crash and bug fixes
Compatibility
This version supports projects using Apollo Kotlin v3.x, v4.x and v5.x.