GraphQL-Ruby Newsletter logo

GraphQL-Ruby Newsletter

Subscribe
Archives
June 18, 2018

GraphQL 1.8 awaits you!

Hi again!

I'm writing to share that GraphQL 1.8 is released and ready for prime time! Big thanks to the folks who tried it out during prerelease and in its early stable versions. (Of course, it's also been running in GitHub for several months.)

Since the stable release, we've updated the documentation and Rails generators to use the new class-based API. Also, the gem includes some class-based scalars and Relay types which you can use verbatim or take as inspiration for your own code.

As you consider migrating, here are a few resources:

- Migration guide
- "Why a new Schema Definition API?"
- "Updating GitHub to GraphQL 1.8"

Personally, I have one more big feature to merge in 1.8: integrated authorization. After that, I plan to start on 1.9, which will include a breaking change to GraphQL's AST nodes (immutability) and some improved AST manipulation tools (for example, a better visitor). I hope this will lay the groundwork for a faster and more dynamic GraphQL runtime.

As always, check the changelog for a full list of features and fixes. Happy coding!

Robert
Don't miss what's next. Subscribe to GraphQL-Ruby Newsletter:
Docs GitHub
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.