Skip to content

35th alpha release for v1.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@hasura-bot hasura-bot released this 18 Jan 15:14
· 7649 commits to master since this release

Changelog

New features

  • Hasura now supports PostGIS topology operators in the GraphQL boolean expression itself.
    Example - Fetch a list of geometry values which are within the given polygon value using ST_within:
    query geom_table($polygon: geometry){
      geom_table(where: {geom_col: {_st_within: $polygon}}){
        id geom_col
      }
    }
    Where $polygon is:
    {
      "polygon": {
        "type": "Polygon",
        "coordinates": [
          [[0,0],[0,2],[2,2],[2,0],[0,0]]
        ]
      }
    }
    See docs for more details. (closes #1051) (#1372)
  • Adds a new flag --server-host and env var HASURA_GRAPHQL_SERVER_HOST tp specify the host address the server should bind to. Huge shoutout 📣 to @nathanstitt for submitting this PR. (#1280)
  • Introduces new optimisation in the run_sql query type, which will result in better performance for non-schema modifying queries (like insert/select/update/delete etc.). (close #1362) (#1406)

Bug fixes

  • Fixes a typo in the error message shown when pgcrypto extension is not available. (fix #1322) (#1331)
  • Server now accept null (null) and empty arrays ([]) for relationship values and object values during insert. (closes #1352) (#1360)
  • Fixes a console redirect bug that occurs when the schema is changes. (#1389)
  • Console now creates correct down migrations for permission actions. (close #1366) (#1376)
  • Fixes a bug that caused incorrect array relationships to show up as suggested when there are circular foreign keys. (close #1296) (#1306)

Other changes

  • Adds a new flag --use-prepared-statements <bool> and env var HASURA_GRAPHQL_USE_PREPARED_STATEMENTS to disable using prepared statements while executing SQL on the database. It is enabled by default. (close #1392) (#1396)
  • Schema selection drop down on the console is moved to the top on the left sidebar. (close #1092) (#1118)
  • Console now redirects to login page only if access-denied response happens. (close #1364) (#1363)
  • Fixes a bug that caused incorrect delivered time to appear on the event trigger logs in console. (close #1309) (#1312)
  • console: add css property to completely show column values (close #1246) (#1337)
  • Fixes various console bugs. (close #1303) (close #1049) (close #1282) (#1330) (close #1307) (close #1308) (close #1332) (#1336)