Skip to content

Releases: hasura/graphql-engine

v2.40.0-beta.1

05 Jun 07:55
Compare
Choose a tag to compare
v2.40.0-beta.1 Pre-release
Pre-release

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 config HASURA_GRAPHQL_REDIS_TIMEOUT to set a timeout for Redis queries (Enterprise edition only)

v2.36.4

28 May 09:50
Compare
Choose a tag to compare

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

29 May 11:57
Compare
Choose a tag to compare

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

09 May 13:40
Compare
Choose a tag to compare

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

09 May 08:54
Compare
Choose a tag to compare

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 and parameterized_query_hash labels to the hasura_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

02 May 07:15
Compare
Choose a tag to compare
v2.39.0-beta.1 Pre-release
Pre-release

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 and parameterized_query_hash labels to the hasura_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

02 Apr 17:37
Compare
Choose a tag to compare

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

24 Mar 15:06
Compare
Choose a tag to compare

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

15 Mar 21:59
Compare
Choose a tag to compare
v2.38.0-beta.1 Pre-release
Pre-release

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.

v2.37.1

28 Feb 11:47
Compare
Choose a tag to compare

Changelog

This is a patch release for v2.37

Bug fixes and improvements

Server

  • Fix output of error field for asynchronous actions with 2xx response status.

Data connectors

  • Remove explicit NULL ordering when generating ORDER BY statements.
    Some dialects such as MySQL do not support ORDER BY ... NULLS FIRST/LAST
    The translation to ORDER BY CASE WHEN causes the optimizer to be unable to use indices.