MyGit

v2.14.0

hasura/graphql-engine

版本发布时间: 2022-10-31 22:22:43

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

Changelog

Highlights

GraphQL Type Generator in Actions

While creating a new Action, now you can use a type generator on the Console to easily create GraphQL types from JSON sample requests

image

Aggregate functions in where-clauses

We now support aggregation functions in where-clauses, initially requested in #1498, see docs.

This allows queries such as the following to fetch the names of students that have an average grade above a certain value across their science classes:

query {
  students(_where: {
   classes_aggregate: {
     average: {
       arguments: "grade",
       filter: {department: {_eq: "science"}},
       predicate: { _gt: 10 }
     }
  })
 {
   name
 }

Bug fixes and improvements

Server

Console

CLI

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

1、 cli-hasura-darwin-amd64 75.05MB

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.92MB

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