Releases: hasura/graphql-engine
v2.45.0-beta.1
Changelog
Bug fixes and improvements
Server
- Fix issue where websocket connections did not time out when clients failed to initialize the protocol.
- When using GraphQL schema introspection to introspect directives, the
isRepeatable
field now returns a valid value instead ofnull
. - Update
--http-log-query-only-on-error
flag /HASURA_GRAPHQL_HTTP_LOG_QUERY_ONLY_ON_ERROR
env var behavior to includeoperationName
in thequery
field ofhttp-log
for successful requests when set totrue
. - Add
--http-log-query-only-on-error
flag /HASURA_GRAPHQL_HTTP_LOG_QUERY_ONLY_ON_ERROR
env var (defaultfalse
) to include query field inhttp-log
only when the request results in an error. - Add
hasura_postgres_connection_error_total
metric to count the number of Postgres connection errors. (Cloud / Enterprise edition only) - Fix Postgres URI label in metrics. (Cloud / Enterprise edition only)
v2.44.0
Changelog
Bug fixes and improvements
Server
- Gzip compress OpenTelemetry (OTLP) export transport. This is supported by all compliant servers.
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.36.8
Changelog
Server
- Use
HASURA_GRAPHQL_HTTP_LOG_QUERY_ONLY_ON_ERROR: true
(defaultfalse
) env var or--http-log-query-only-on-error
flag to include query field inhttp-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 includeoperationName
in thequery
field ofhttp-log
for successful requests when set totrue
. - 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
Changelog
Bug fixes and improvements
Server
- Gzip compress OpenTelemetry (OTLP) export transport. This is supported by all compliant servers.
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
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
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
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 queryupdate_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
andspan_id
fields to logs for Enterprise Classic edition (Enterprise edition only)
v2.42.0-beta.1
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 queryupdate_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
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
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.