Releases: hasura/graphql-engine
v2.40.0
Changelog
Bug fixes and improvements
Server
- Explicitly close database connection after a Native Query validation step finishes.
- Fix bug in streaming subscriptions that causes some database pollers to be left open after the relevant users unsubscribe from the subscription.
- Fix a few bugs in the admin-only cache management endpoints,
/pro/cache/clear
and/pro/cache/metrics
: (Cloud / Enterprise edition only)- The underlying management queries would sometimes miss keys. This has been remedied.
- They now return the internal error details when one occurs.
- The type of the
clearedItemCount
field in the/pro/cache/clear
endpoint response has been changed from a string to a number. (Cloud / Enterprise edition only) - Add
HASURA_GRAPHQL_REDIS_TIMEOUT
env var to set a timeout for Redis queries (Enterprise edition only)
v2.40.0-beta.1
Changelog
Bug fixes and improvements
Server
- Explicitly close database connection after a Native Query validation step finishes.
- Fix bug in streaming subscriptions that causes some database pollers to be left open after the relevant users unsubscribe from the subscription.
- Fix a few bugs in the admin-only cache management endpoints,
/pro/cache/clear
and/pro/cache/metrics
: (Cloud / Enterprise edition only)- The underlying management queries would sometimes miss keys. This has been remedied.
- They now return the internal error details when one occurs.
- The type of the
clearedItemCount
field in the/pro/cache/clear
endpoint response has been changed from a string to a number. (Cloud / Enterprise edition only) - Add
HASURA_GRAPHQL_REDIS_TIMEOUT
env var to set a timeout for Redis queries (Enterprise edition only)
v2.36.4
Changelog
This is a patch release for v2.36
Bug fixes and improvements
Server
- Explicitly close database connection after a Native Query validation step finishes.
Build
- Update the Ubuntu and Red Hat UBI base images to receive the latest security updates.
v2.39.2
Changelog
This is a patch release for v2.39
Bug fixes and improvements
Server
- Run setup for scheduled events off the main thread so as not to slow startup.
v2.39.1
Changelog
This is a patch release for v2.39
Bug fixes and improvements
Build
- Fix bug where connections to read replicas would persist even after they were removed from the data source config. (Cloud / Enterprise edition only)
v2.39.0
Changelog
Bug fixes and improvements
Server
- The server now logs timing information on error when possible, e.g. when an SQL query fails.
- Generate an info message instead of a warning when the GC is forced to run.
- Add
operation_name
andparameterized_query_hash
labels to thehasura_graphql_requests_total
Prometheus metric. (Cloud / Enterprise edition only) - Support env variable template to set the OpenTelemetry status (fix #10177) (Cloud / Enterprise edition only)
- Fix bug causing unstable connections for projects with multiple sources using the same SSL certificates. (Enterprise edition only)
Console
- Fix values not being suggested in dropdowns of the permissions builder if only 1 option exists
v2.39.0-beta.1
Changelog
Bug fixes and improvements
Server
- The server now logs timing information on error when possible, e.g. when an SQL query fails.
- Generate an info message instead of a warning when the GC is forced to run.
- Add
operation_name
andparameterized_query_hash
labels to thehasura_graphql_requests_total
Prometheus metric. (Cloud / Enterprise edition only) - Support env variable template to set the OpenTelemetry status (fix #10177) (Cloud / Enterprise edition only)
Console
- Fix values not being suggested in dropdowns of the permissions builder if only 1 option exists
v2.38.1
Changelog
This is a patch release for v2.38
Bug fixes and improvements
Build
- Update the Red Hat UBI base images to receive latest security updates
v2.38.0
Changelog
Behaviour changes
-
Add automatic quoting to Native Query parameters for Snowflake. (Cloud / Enterprise edition only)
Note that this may affect existing Native Queries in contexts where query authors have manually added quotes around parameter injection sites; removing the manual quotes should resolve this issue.
Bug fixes and improvements
Server
-
Add the ability to force refresh of dynamic db connection strings. (Cloud / Enterprise edition only)
When the
HASURA_SECRETS_BLOCKING_FORCE_REFRESH_URL
env var is defined, then on retry Hasura will post this payload to the URL:{"filename": <path>}
Crucially it is assumed that the Hasura server only returns after the referenced secret file has been updated.
-
Ignore dynamic headers
x-real-ip
,x-forwarded-for
,true-client-ip
while generating cache keys. (Cloud / Enterprise edition only)
Console
- Fix console crash when using Native Queries in an array relationship.
- Add ClickHouse and Trino database logos. Fix an issue where some logos may not have been displaying correctly for data-connector backed databases.
Data Connectors
- In the JVM connection pool, validate connections when borrowing them. This prevents the issue where, for example, the DB server is terminated and the pool is unaware that the connection is in an invalid state, leading to errors.
- Inline query parameters in output generated by the GraphiQL
Analyze
button (i.e. the Explain API). Also, use dialect-specific SQL based on the current connector rather than a default/generic dialect.
v2.38.0-beta.1
Changelog
Bug fixes and improvements
Server
- Ignore dynamic headers
x-real-ip
,x-forwarded-for
,true-client-ip
while generating cache keys. (Cloud / Enterprise edition only)
Console
- Fix console crash when using Native Queries in an array relationship.
- Add ClickHouse and Trino database logos. Fix an issue where some logos may not have been displaying correctly for data-connector backed databases.
Data Connectors
- Inline query parameters in output generated by the GraphiQL
Analyze
button (i.e. the Explain API). Also, use dialect-specific SQL based on the current connector rather than a default/generic dialect.