tags

Adding Multiple JWTs, Environment Flags, Preview Apps, and more!

31 March, 2022 | 3 min read

We’re back with another round of features and services to help you build better, faster, and for a wider series of use-cases. This release includes a bunch of project organization improvements, CI/CD improvements, and even more federation support to the console. These features can be broadly categorized into workloads, performance, and deployments.

Starting with our workload focus, we’ve introduced two new features that allow for a wider set of uses, multiple JWTs, and support for remote database relationships.

Multiple JWTs

You can now define multiple JWT configurations for your different clients and services. This feature is particularly useful for creating service-level tokens, creating differentiated tokens between desktop and mobile clients, or in cases where you might be switching over to a different auth provider while keeping the older one active for backward compatibility.

Catch the recording from the Hasura Community call from Lyndon Maydwell about Multiple JWTs in action.

Support for remote database relationships

Hasura now supports creating relationships between databases in the console. Using the familiar workflow of creating relationships between remote schemas, you can now define relationality between your federated data sources. As different databases bring different workload functionality to the Hasura ecosystem, this feature allows you to make that connection between the transactional and time-series, relational, and wide-table data.

Along with these features, we’re introducing improved performance for querying from the database itself with experimental SQL optimization.

Experimental SQL Optimization

Row-level permissions are applied by transforming into SQL ‘WHERE’ clauses. However, if some tables have similar row-level permissions, the generated SQL can produce repetitive code which may not perform well. We’ve added an experimental feature flag to improve on this. Note, it’s explicitly experimental due to some underlying security implications of accessing row-level data. Users should carefully analyze the generated queries for any unexpected disclosure.

On top of these improvements to clients and database improvements, we’re introducing a bunch of new features to assist those managing multiple projects or relying heavily on a CI/CD pipeline for their deploys. These features are designed to help with the deployment lifecycle of a Hasura project. From searching for product deployments to ephemeral instances on feature branches for those working with CI/CD, these features are a welcome addition to the Hasura Cloud dashboard!

Project Search on Cloud dashboard

A special feature for multi-project users, you can now search for projects in the project dashboard! For agencies or in-house teams running multiple projects, this is a welcome feature to quickly find the exact project you are looking for.

Preview Apps YAML Generator

Preview apps in Hasura Cloud allow you to generate temporary HGE instances with ephemeral database support for previewing versions of metadata and migration data without applying that data to a production environment. This is particularly useful for feature branches and temporary experiments without the need to set up another dedicated project in a cloud environment. You can read more about preview apps in the new docs, or try out the YAML generator here.

Environment labels on dashboard and console

Another much-requested feature landing in the product today is environment labels (including color banners) for both the dashboard and console! If you want to provide visual signaling to the entire team about which environment they are viewing. This will be particularly helpful for teams working with metadata and migrations as this will help deter accidental editing of the production environment, causing inconsistent metadata in your CI/CD workflows.

GitHub integration notifications

Github CI/CD integration is a powerful feature for automating the metadata and migrations to Hasura Cloud. Now, you can customize the notifications you get for both successful or errored deploys to find the perfect balance of signal versus noise in your system operations.

And with that, we wrap up this release and get back to working on bringing even more features to the Hasura Cloud platform. We are excited to have you on this journey with us and we appreciate all your feedback and contributions as we build the tools for tomorrow’s builders.

Webinar: Instant streaming APIs on Postgres, with built-in auth
View Recording
Hasura Con
The Hasura User Conference | June 28 - 30, 2022
New Product Announcements
View Recordings


Subscribe IlluSubscribe Illu

Monthly product updates in your inbox. No spam.

Loading...