github hasura/graphql-engine v2.22.0-beta.1

latest releases: cli/v2.41.0-beta.1, v2.41.0-beta.1, v2.40.2...
pre-release15 months ago

Changelog

Highlights

Apollo Federation (GA)

Apollo federation support is now stable. You need to turn on the feature using either the flag --enable-apollo-federation or by
setting the environment variable HASURA_GRAPHQL_ENABLE_APOLLO_FEDERATION to true.

Please note that the existing way of turning on the feature (via HASURA_GRAPHQL_EXPERIMENTAL_FEATURES) is still supported but is deprecated.

Dynamic DB Connection Routing (GA) (Cloud / Enterprise edition only)

Dynamic DB connection routing has now been added to console and it is now GA. Hasura Cloud and Enterprise customers can now leverage dynamic routing to implement different kinds of database topology patterns with Hasura.

dynamic-db-routing

Read more in the docs

Cache webhook auth token (Cloud / Enterprise edition only)

Hasura can now cache the authentication webhook response in the webhook mode.

For caching you need to return either:

  • a Cache-Control variable, modeled on the Cache-Control HTTP Header, to specify a relative expiration time, in seconds.
  • an Expires variable, modeled on the Expires HTTP Header, to specify an absolute expiration time. The expected format is "%a, %d %b %Y %T GMT".

Behaviour changes

  • In instances with configured per-role API limits, exported metadata includes a mapping from role names to limit configuration. Previously these entries were given in the order they were created. Now the entries are ordered by role name instead. (Cloud / Enterprise edition only)

Bug fixes and improvements

Server

  • Fix the created_at timestamp value in Postgres event triggers by setting UTC as the default timezone
  • Add environment variable HASURA_GRAPHQL_AUTH_HOOK_SEND_REQUEST_BODY to remove the request body from the request to the authentication webhook (docs)
  • Add additional error information to invocation logs when a HTTP Exception Error is thrown during event triggers and scheduled triggers (one-off, cron) execution
  • Fix bug which added the query to the operation key for the http-log for metadata queries irrespective of the value of the environment variable HASURA_GRAPHQL_ENABLE_METADATA_QUERY_LOGGING
  • Add field detail.operation.query.type to http-log log types always whenever available
  • Fix row limits applied to tables via permissions being incorrectly applied to aggregates of said tables in Data Connector-based data sources
  • Fix table queries which used only introspection fields not returning any data when made to Data Connector-based data sources
  • Fix scheduled events not showing up on console when the payload construction is failed (fix #9311)
  • Fixed bug in Query Response Cache bucket size and bucket rate defaulting. (Cloud / Enterprise edition only)

Console

  • Add date-time data entry pickers during row insert for Data Connector-based data sources
  • Fix error notifications for slow running queries
  • Disable non insertable columns in the insert row form for Data Connector-based data sources
  • Fix bug with untrack table for Data Connector-based data sources.

Don't miss a new graphql-engine release

NewReleases is sending notifications on new releases.