Skip to content

Releases: hasura/graphql-engine

v2.36.8

19 Sep 15:10
Compare
Choose a tag to compare

Changelog

Server

  • Use HASURA_GRAPHQL_HTTP_LOG_QUERY_ONLY_ON_ERROR: true (default false) env var or --http-log-query-only-on-error flag to include query field in http-log only when the request results in an error.
  • Updated HASURA_GRAPHQL_HTTP_LOG_QUERY_ONLY_ON_ERROR and --http-log-query-only-on-error to include operationName in the query field of http-log for successful requests when set to true.
  • Improved memory usage behavior when running the engine with the non-moving gc (with +RTS --nonmoving-gc -RTS) for improved tail latencies. The recommended configuration in this mode is: +RTS --nonmoving-gc --nonmoving-dense-allocator-count=34 -A64M -RTS

Build

  • Updates Ubuntu Jammy base image to get the latest security updates.
  • Updates Red Hat UBI base image to get the latest security updates.

v2.44.0-beta.1

23 Sep 04:49
Compare
Choose a tag to compare
v2.44.0-beta.1 Pre-release
Pre-release

Changelog

Bug fixes and improvements

Server

Build

  • Updates Ubuntu Jammy base image to get the latest security updates.
  • Updates Red Hat UBI base image to get the latest security updates.

v2.43.0

27 Aug 14:54
Compare
Choose a tag to compare

Changelog

Bug fixes and improvements

Server

  • Fix Native Query validation for Hasura instances using SSL certificates.
  • Fix spurious log entries regarding event trigger cleanup not being scheduled for BigQuery sources as event triggers are not supported. (Cloud / Enterprise edition only)

Data Connectors

  • Add support for list parameters in Snowflake Native Queries. Parameters starting and ending with square brackets will be tokenized by commas; leading and trailing single and double quotes will be removed from the tokenized parameters. (Cloud / Enterprise edition only)
  • Switched scalar type for MySQL timestamp column to simple datetime, without timezone. (Cloud / Enterprise edition only)

v2.43.0-beta.1

22 Aug 11:04
Compare
Choose a tag to compare
v2.43.0-beta.1 Pre-release
Pre-release

Changelog

Bug fixes and improvements

Server

  • Fix Native Query validation for Hasura instances using SSL certificates.
  • Fix spurious log entries regarding event trigger cleanup not being scheduled for BigQuery sources as event triggers are not supported. (Cloud / Enterprise edition only)

Data Connectors

  • Add support for list parameters in Snowflake Native Queries. Parameters starting and ending with square brackets will be tokenized by commas; leading and trailing single and double quotes will be removed from the tokenized parameters. (Cloud / Enterprise edition only)
  • Switched scalar type for MySQL timestamp column to simple datetime, without timezone. (Cloud / Enterprise edition only)

v2.42.0

08 Aug 09:30
Compare
Choose a tag to compare

Changelog

Behaviour changes

  • In certain circumstances, all HTTP headers were included in the set of session variables. This has now been reduced to only the session variables. This change affects a number of areas, including the HTTP logs, query validation, JWT claims, rate limiting, and accessing session variables in Kriti code.

  • When update_*_many is given an empty list of updates, the result will now be an empty list, rather than an object. Previously, this meant that an empty list of updates would result in a result of the wrong type.

  • In rare cases, sensitive headers were written to the GraphQL Engine logs. These cases are now handled correctly to avoid logging sensitive information.

Bug fixes and improvements

Server

  • Add field ignored_client_headers to Action definition to specify an explicit list of client headers to ignore when forwarding headers to the webhook handler.

  • Add an experimental feature flag remove_empty_subscription_responses to filter empty responses in subscription queries for Postgres data sources. This should reduce Hasura-to-database and Hasura-to-client network overhead for users with many streaming subscriptions seeing empty results.

  • Add an experimental feature flag no_null_unbound_variable_default to remove unbound nullable variables with no defaults from the query, as per the spec.

    For example, if $unbound: String is not given a variable assignment, the query update_table({ _set: { column: $unbound }}) will not update any columns.

  • Quote Postgres custom scalar types in SQL. This enables using custom type names that are not just lowercase identifiers.

  • Add missing trace_id and span_id fields to logs for Enterprise Classic edition (Enterprise edition only)

v2.42.0-beta.1

02 Aug 08:07
Compare
Choose a tag to compare
v2.42.0-beta.1 Pre-release
Pre-release

Changelog

Behaviour changes

  • In certain circumstances, all HTTP headers were included in the set of session variables. This has now been reduced to only the session variables. This change affects a number of areas, including the HTTP logs, query validation, JWT claims, rate limiting, and accessing session variables in Kriti code.

  • When update_*_many is given an empty list of updates, the result will now be an empty list, rather than an object. Previously, this meant that an empty list of updates would result in a result of the wrong type.

  • In rare cases, sensitive headers were written to the GraphQL Engine logs. These cases are now handled correctly to avoid logging sensitive information.

Bug fixes and improvements

Server

  • Add field ignored_client_headers to Action definition to specify an explicit list of client headers to ignore when forwarding headers to the webhook handler.

  • Add an experimental feature flag remove_empty_subscription_responses to filter empty responses in subscription queries for Postgres data sources. This should reduce Hasura-to-database and Hasura-to-client network overhead for users with many streaming subscriptions seeing empty results.

  • Add an experimental feature flag no_null_unbound_variable_default to remove unbound nullable variables with no defaults from the query, as per the spec.

    For example, if $unbound: String is not given a variable assignment, the query update_table({ _set: { column: $unbound }}) will not update any columns.

  • Quote Postgres custom scalar types in SQL. This enables using custom type names that are not just lowercase identifiers.

v2.36.7

02 Aug 07:56
Compare
Choose a tag to compare

Changelog

This is a patch release for v2.36

Behaviour changes

  • In certain circumstances, all HTTP headers were included in the set of session variables. This has now been reduced to only the session variables. This change affects a number of areas, including the HTTP logs, query validation, JWT claims, rate limiting, and accessing session variables in Kriti code.
  • In rare cases, sensitive headers were written to the GraphQL Engine logs. These cases are now handled correctly to avoid logging sensitive information.

Build

  • Updates ubuntu jammy base image to get the latest security updates.

v2.40.3

30 Jul 09:29
Compare
Choose a tag to compare

Changelog

This is a patch release for v2.40

Bug fixes and improvements

Data Connectors

  • Update RedHat base image to get the latest security updates.

v2.41.0

11 Jul 17:05
Compare
Choose a tag to compare

Changelog

Bug fixes and improvements

Server

  • For JWT key servers that do not implement caching, keys will now refresh every 60 seconds instead of every second.
  • Gracefully handle and log certain unexpected internal exceptions.
  • Fix an intermittent bug triggered when clearing the cache, which results in an internal error. (Cloud / Enterprise edition only)
  • Add session_variables attribute to GraphQL spans in OpenTelemetry traces. (Cloud / Enterprise edition only)
  • Add a new OpenTelemetry span for the auth webhook. (Cloud / Enterprise edition only)
  • Enhance SpanKind for server and client spans according to the OpenTelemetry specification (Cloud / Enterprise edition only)

Console

  • Add VPC collaborators feature for Cloud Enterprise users. (Cloud only)

Build

  • Updates ubuntu jammy base image to get the latest security updates.

v2.41.0-beta.1

08 Jul 11:17
Compare
Choose a tag to compare
v2.41.0-beta.1 Pre-release
Pre-release

Changelog

Bug fixes and improvements

Server

  • For JWT key servers that do not implement caching, only refresh keys every 60 seconds rather than ever single second.
  • Gracefully handle and log certain unexpected internal exceptions.

Build

  • Updates ubuntu jammy base image to get the latest security updates