Announcing Hasura GraphQL v1.3 - Data Federation, Relay, Scheduled Triggers and more
After few weeks of being in beta, Hasura v1.3.0 is now released. This is one of the biggest Hasura releases till date, with 3 huge features being launched - Remote Joins, Relay support and Scheduled Triggers. See the changelog for more details!
Let's talk about these features in the broader context of what they enable.
Data Federation enables a unified data layer for all your data and a federated way to execute requests on it. With Hasura Remote Joins, data federation becomes easy. All you need to do is point your data sources to Hasura and a unified GraphQL API is created automatically. But the real magic of Remote Joins is that you can create relationships across these various data models (with different underlying sources) using declarative configuration and get "joined" data to your clients instantly.
In this release, you will now be able to create relationships across tables and remote schemas. Imagine building an e-commerce website with a user's order page getting data from Postgres as well as Stripe in a single query. Or having multiple domain databases and performing a join across them similar to a normalized table join.
We have released Relay as a
beta endpoint in v1.3.0 as there are more things we are going to include in future releases before promoting it to
Extending the eventing capabilities of Hasura, you can now trigger webhooks based on a cron schedule or timestamp. Scheduled Triggers open up a whole new set of use-cases in Hasura like generating daily reports or sending post-signup emails.
Other improvements and road ahead
This release also extends various existing functionalities like accessing session variables inside computed fields, automatic dependency cascade in the console, a new seed command in the CLI, among others. Read the changelog for the full list of changes.
Our plans for the near future is to continue to improve and extend existing features while also bringing new features like GraphQL transactions and few surprises. Stay tuned!
Try it out!
Get started with Scheduled Triggers on Hasura Cloud today!
If you're already running Hasura, make sure you're on version
1.3 or above and you're good to go!