Skip to content

2.0.0-alpha-4: Performance improvements, Relay Modern support, MarkDown documentation support

Pre-release
Pre-release
Compare
Choose a tag to compare
@jimkyndemeyer jimkyndemeyer released this 20 Jan 14:44

This is the fourth alpha of version 2, which features:

  • Performance improvements (tested with 10K lines in a single schema file)
  • Relay Modern support (opt in, but plugin will ask for Relay projects)
  • MarkDown documentation support
  • Structure view
  • Scratch files
  • Recognize .graphqls extension as GraphQL file
  • Template placeholder support, e.g. to insert fragments in tagged template literals
  • Various minor bug fixes
  • Increased test coverage

Upgrade notes from v1 and previous alpha releases

  • The plugin no longer uses a graphql.config.json file. Schema discovery is now configured using the GraphQL settings card. You can use project scopes to achieve multi-schema setups, or use globs in .graphqlconfig files.
  • The alpha-2 release defaulted to use scopes for schema discovery. This is now opt-in in the "Languages & Frameworks" > "GraphQL" settings card.

Getting and installing the alpha releases

The alpha releases will be published directly in this repository and is added to your IDE using a custom plugin repository URL:

  • In your IDE, click "Settings" > "Plugins" > "Browse repositories..." > "Manage repositories..."
  • In the "Custom Plugin Repositories" dialog that opens, add the following url: https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/raw/v2/alpha-releases/updatePlugins.xml
  • Once added, click "Ok" to return to the "Browse repositories" dialog.
  • You should now see a "Repository: All" dropdown. Select this alpha repository that you just added.
  • You should now see the GraphQL alpha plugin listed.

As new alpahas are released, you should get plugin update notifications as per ususal.

Documentation (work in progress)

https://gist.github.com/jimkyndemeyer/1903b65ff892f0811e76f16d8b530848

Reporting issues

The main issue for tracking the v2 road map is #164. Feedback and questions are welcome in that issue.

For bugs, see the known issues and limitations below. If the issue is not mentioned, use a [v2] prefix when reporting issues for the alpha.

Known issues and limitations

This release is not feature complete, and changes will be made as development continues.