Hasura - v2.30.0-beta.1


Changelog

Highlights

Create REST endpoints from a table with one click

With a single click in the Data view of the Console, you can create REST endpoints from tables 🎉 By simply navigating to a table, you can choose which CRUD operations to create, and then interact with these endpoints from the API tab of the Console.

Behaviour changes

  • Update Hasura WebSockets to adhere to the graphql-ws protocol standards for cases where connection initialization fails. Upon encountering a failed initialization, the connection is now closed with a server error code 4403: Forbidden, in accordance with the specifications mentioned in the spec.

Bug fixes and improvements

Server

  • Add operation_name to subscription Prometheus metrics and Query Tags from parsed executable document when not explicitly included in the body of the request from the client.
  • Use the knowledge of a column's nullability to generate simpler permissions SQL expressions for columns that are not nullable (fixes #9637).
  • You can now create multiple table relationships (using create_array_relationship and create_object_relationship) within a single metadata transaction using the bulk_atomic Metadata API.
  • Extend livequery-poller-log to log the error details for both live queries and streaming subscriptions in the case of any error. Previously there was no way for a user to debug or know what went wrong when the poller thread goes in an error state.
  • Adds more detailed error messages on HTTP exception errors in log lines for Event and Scheduled Triggers improving the clarity and ease of troubleshooting.
  • Logical Model array/object fields are no longer required in order to create Native Query relationships.
  • Support __typename for namespaced subscriptions (fixes #8174).
  • Fix over-zealous validation for relationships with after_parent insertion order. This is expected to fix issues #8522, #9451, and #9709.
  • A failing Postgres connection will now log a JSON object containing the number of times the connection has been retried, and the host to which a connection is being attempted. (Cloud / Enterprise edition only)
  • Fix hasura_active_subscription_pollers_in_error_state metric not decrementing when subscriptions are closed. (Cloud / Enterprise edition only)

Console

  • Fix manual relationship creation for CockroachDB on the Console.
  • Permissions can be enabled for Snowflake functions from the Console.
  • Display boolean comparator in permissions builder for Postgres Computed fields (fixes #9101).
  • Support Function Custom Field customization for GDC-backed data sources.
  • Fixes the "Next" button state for paginated row views on the Console. Previously, when there were no more rows, the "Next" button was still enabled.
  • Fix an issue where the data tab tree view would not refresh after a SQL execution (fixes #8695).
  • Adds support for customizing function root fields in Postgres and Citus.
  • Fixes request and response transforms generated when importing from an OpenAPI spec and Kriti reserved keywords are present in field names (fixes #9734).
  • Long column names truncated in the Insert & Edit row UI now have an icon that shows the full name on hover.

Data Connectors

  • Feature enhancements to the Oracle connector: (Cloud / Enterprise edition only)
  • You now have the option to choose the schemas to include in introspection. It accepts a comma separated list that is case sensitive. If left blank it will only return the users owned schema.
  • Materialized views will now be returned during introspection and be allowed to track.
  • Added multi-schema support for Snowflake. (Cloud / Enterprise edition only)

Build

  • Updates base image to get the latest security updates

Details

date
July 12, 2023, 7:43 p.m.
name
v2.30.0-beta.1
type
Pre-release
👇
Register or login to:
  • 🔍View and search all Hasura releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or