GraphQL-Ruby Newsletter logo

GraphQL-Ruby Newsletter

Subscribe
Archives
April 15, 2018

GraphQL 1.8 is coming!

Hi!

A new version of GraphQL is just around the corner. Version 1.8.0 will be a big one because it contains a new class-based API for defining your schema and types. The new API is opt-in, gradually adoptable, and backwards-compatible. It's also a lot friendlier 😊

If you're interested in learning more before the forthcoming stable release, here are a few links:

- "Why a new Schema Definition API?"
- "Updating GitHub to GraphQL 1.8"
- Release tracking issue
- Guides

When you're ready to try it out, you'll find some prerelease versions on RubyGems.

I'm really excited about this feature and it wouldn't have been possible without my teammates at GitHub and friends in the community, so thanks to all of you!

While we're at it, here are a few other notable updates since the last email:

GraphQL v1.7.x:
  • Improved Subscription serialization (better handling of recursive structures, use GlobalID)
  • New class-based Language::Printer for custom schema dumps
  • Lots of other fixes to parsing, connections, execution, and more -- details in the changelog
GraphQL Pro is now v1.7.4:
  • Subscription transport with Pusher, to support any Rack app
  • Lots of improvements to stable cursors (eg, custom functions, SQL case statements)
  • More fixes and features in the changelog
GraphQL-Ruby Javascript Client (v1.4.0):
  • Apollo Link support for subscriptions and persisted queries
  • Generate JSON artifacts for persisted queries with --outfile-type=json
  • Persisted queries support Apollo batching middleware
  • More in the changelog
That's all for now, see you again soon with a stable version release 😎

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.