Hasura - v2.36.0-beta.1


Changelog

Behaviour changes

  • We have fixed GraphQL query validation where queries that assigned a null value to a variable with a declared non-nullable type were previously allowed.

For example:

graphql query ($user_id: Int!) { users(where: {id: {_eq: $user_id}}){ id name } }
json { "user_id": null }
Now, queries with this aforementioned condition will be properly invalidated and rejected.

Since, it is a behavior change, we are introducing a server option to preserve the old behavior when either of the following are set to true:

  • Environment variable: HASURA_GRAPHQL_BACKWARDS_COMPAT_NULL_IN_NONNULLABLE_VARIABLES
  • Flag: --null-in-nonnullable-variables

The above configuration is optional, and the default value is false i.e, new fixed behavior is applied

Bug fixes and improvements

Server

  • Change to Postgres array introspection to improve query performance
  • MS SQL Server: handle missing type information for columns when querying metadata.
  • The pg_dump version has been upgraded to v16, so that it can extract data from PostgreSQL 16 databases.
  • Fix websocket connection failure when hide_aggregation_predicates and hide_stream_fields experimental features are enabled.

Console

  • Support creation of REST endpoint from a table in new data tab UI.
  • Support computed fields in new permissions UI
  • Truncate large json values in browse rows for data-connector backed databases.

Data Connectors

  • hasura/graphql-data-connector image now supports all non-root user IDs and groups
  • Fixes duplicate alias issue in Snowflake for multiple relationships to the same table in a single query.

Build

RedHat UBI-based graphql-engine docker images are now available.

hasura/graphql-engine:v2.36.0-beta.1.ubi
hasura/graphql-engine:v2.36.0-beta.1.cli-migrations-v2.ubi
hasura/graphql-engine:v2.36.0-beta.1.cli-migrations-v3.ubi

Details

date
Dec. 1, 2023, 6:03 p.m.
name
v2.36.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