MyGit

v2.13.0

hasura/graphql-engine

版本发布时间: 2022-10-12 20:49:21

hasura/graphql-engine最新发布版本:v2.44.0(2024-10-08 18:36:54)

Changelog

Auto cleanup for event triggers

(Enterprise edition only)

You can now configure automatic clean up of event triggers logs with various configuration parameters. Read more about it here

auto-cleanup

Source health checks

(Enterprise edition only)

Introducing health checks for data sources. Health check on a source can be enabled and configurable via an optional health_check field in the source metadata. Example for a Postgres source.

POST /v1/metadata HTTP/1.1
Content-Type: application/json
X-Hasura-Role: admin

{
  "type":"pg_add_source",
  "args":{
    "name":"<db_name>",
    "configuration":{
      "connection_info":{
        "database_url":{
          "from_env":"<DATABASE_URL_ENV>"
        }
      }
    },
    "health_check": {
      "test": {
        "sql": "SELECT 1"
      },
      "interval": 300,
      "timeout": 5,
      "retries": 3,
      "retry_interval": 5
    }
  }
}

Please refer to our docs for more information.

Reporting source health check

(Enterprise edition only)

Health check reports of sources can be obtained through a GET request from the /healthz/sources, an admin-only endpoint, on demand. Learn more about the API here.

Currently, Hasura supports enabling health checks on Postgres and MS SQL Server databases. Support for other data sources will be added soon.

Bug fixes and improvements

相关地址:原始地址 下载(tar) 下载(zip)

1、 cli-hasura-darwin-amd64 75.04MB

2、 cli-hasura-darwin-arm64 75.11MB

3、 cli-hasura-linux-amd64 23.42MB

4、 cli-hasura-linux-arm64 22MB

5、 cli-hasura-windows-amd64.exe 68.91MB

查看:2022-10-12发行的版本