Changelog
This is the final beta release for v2.1.0
Highlights
Event Trigger transforms
You can now modify the HTTP request that is sent to your Event Trigger webhook by using Event Trigger transforms.
This allows you to invoke any existing or 3rd party APIs directly without writing any middleware to transform the request first.
As with Action transforms, you can modify the HTTP method, URL and the body.
Support for Mac M1
Hasura now supports the arm64 architecture and works on Mac M1 (closes #6337)
Caveat: MS-SQL as a data source is not supported on arm64/M1 yet (refer #7903)
SQL Server Delete Mutations
Delete mutations for SQL Server are now supported. Only Update mutations are remaining.
Bug fixes and improvements
- server: allows the use of mock env vars in the
test_webhook_transform
metadata API action - server: fix event invocation logs to include transformed request bodies (fix #2983)
- server: fix aggregate queries with nodes field in selection set for sql server (fix #7871)
- server: fix permissions are not respected for aggregations in sql server (fix #7773)
- server: the syntax for remote relationships in metadata is changed to be
consistent with future remote relationships work. However, the older syntax
is still accepted and this is a non-breaking change. - server: fix JSON path in error when parsing sources in metadata (fix #7769)
- server: log locking DB queries during source catalog migration
- server: fix to allow remote schema response to contain an "extensions" field (#7143)
- server: support database-to-database joins with BigQuery
- server: improved startup time when using large remote schemas
- server: fix rest-endpoints bug allow list arguments (fix #7135)
- server: fallback to unauthorized role when JWT is not found in cookie (fix #7272)
- server: provide option to explicitly recreate event triggers for sources in the
reload_metadata
API (fix #7711) - server: fix
gen_hasura_uuid
migration to be idempotent, so that it doesn't fail if the database is already initialised with source migrations. - server: fix mssql
table_by_pk
query returning empty array (fix #7784) - console: add comments to tracked functions
- console: add select all columns option while selecting the columns in event triggers
- console: add request transforms for events
- cli: fix cli-console failing to add migrations if there are tabs in SQL body (#7362)
- cli: sign windows binary of Hasura CLI (#7147)
- cli: core CLI features are not blocked in environments without internet (#7695)
- metadata SDK: add type definitions for config v3