All Versions
64
Latest Version
Avg Release Cycle
18 days
Latest Release
-

Changelog History
Page 1

  • v2.1.1 Changes

    • โšก๏ธ server: implement update mutations for MS SQL Server (closes #7834)
    • server: provides a more comprehensive fix for the JSON ser/de backwards incompatibility that was initially addressed by 45481db (#7906)
  • v2.1.0 Changes

    • โœ… server: fix issue interpreting urls from environment in the TestWebhookTransform endpoint.
    • server: fixes JSON ser/de backwards incompatibility introduced for metadata parsing and 'create_remote_relationship' queries (#7906)
    • console: add sample context section to webhook transforms
    • ๐Ÿ“‡ cli: hasura metadata diff shows diff with more context in directory mode
    • ๐Ÿ“‡ cli: revert change to split metadata related to remote schemas into seperate files (introduced in v2.1.0-beta.2)
  • v2.1.0-beta.3 Changes

    • 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
    • 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: implement delete mutations for MS SQL Server (closes #7626)
    • ๐Ÿ“‡ 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: support nested output object types in actions (#4796)
    • server: fallback to unauthorized role when JWT is not found in cookie (fix #7272)
    • ๐Ÿง server: add support for building linux/arm64 docker image (#6337, #1266)
    • ๐Ÿ“‡ server: provide option to explicitly recreate event triggers for sources in the reload_metadata API
    • 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)
    • server: fix BigQuery queries failing with more than one array relationship
    • 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
    • ๐Ÿ“‡ metadata SDK: add type definitions for config v3
    • 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)
  • v2.1.0-beta.2 Changes

    Action transforms

    Action transforms are used to perform transformations on the HTTP request generated by an action. This allows you to integrate REST APIs or existing APIs without writing a middleware service that transforms the action's request to the one expected by the API.

    ๐Ÿ“„ Read more in the docs.

    Function field names customization (#7405)

    It is now possible to specify the GraphQL names of tracked SQL functions in Postgres sources, and different names may be given to the _aggregate and suffix-less versions. Aliases may be set by both /v1/metadata/pg_track_function and the new API endpoint /v1/metadata/pg_set_function_customization.

    Root field name and type name customization per source (#6974)

    ๐Ÿ›  When adding a source it is now possible to specify prefixes and suffixes that will be added to all root field names and type names generated for that source. It is also possible to specify a root "namespace" field to use for the source.

    ๐Ÿ› Bug fixes and improvements

    • ๐Ÿ“‡ server: do not recreate event triggers if tables haven't changed on reloading metadata
    • server: moves request_transform into the Action Definition the create_action metadata API call.
    • ๐Ÿ“œ server: call auth webhooks even when the request is malformed JSON or otherwise fails to parse (close #7532)
    • โšก๏ธ server: updates kriti to v0.2.1 which adds an escapeUri function
    • โš™ server: add cascade option to mssql_run_sql metadata API
    • server: fix bug which recreated event triggers every time the graphql-engine started up
    • server: fix bug in OpenAPI when multiple REST endpoints have the same URL path but different method
    • ๐Ÿ‘ server: add support for GraphQL block strings
    • server: Correctly translate permissions on functions to SQL (#7617)
    • server: add transformed request to action error responses
    • server: allow nullable action responses (#4405)
    • ๐Ÿ‘ server: add support for openapi json of REST Endpoints
    • 0๏ธโƒฃ server: enable inherited roles by default in the graphql-engine
    • ๐Ÿ‘ server: support MSSQL insert mutations
    • server: fix bug in OpenAPI when multiple REST endpoints have the same URL path but different method
    • server: forward Set-Cookie headers from auth webhook
    • console: design cleanup Modify and Add Table forms (close #7454)
    • console: enable custom graphql root fields for mssql under modify tab
    • console: allow dropping indices on all schemas
    • console: fix bug with displaying 1-to-1 relationship with the same column mapping (close #7552)
    • console: add request transforms for actions
    • ๐Ÿ“‡ console: fix v2 metadata imports
    • console: design cleanup Modify and Add Table forms (close #7454)
    • console: enable custom graphql root fields for mssql under modify tab
    • ๐Ÿ“‡ cli: split remote schema permissions metadata into seperate files (#7033)
    • ๐Ÿ“‡ cli: support action request transforms in metadata
    • cli: make --database-name optional in migrate subcommands when using a single database (#7434)
    • ๐Ÿ‘ cli: support absolute paths in --envfile (#5689)
    • ๐Ÿ“‡ cli: split remote schema permissions metadata into seperate files (#7033)
  • v2.1.0-beta.1 Changes

    • server: Ignore unexpected fields in action responses (#5731)
    • server: add webhook transformations for Actions and EventTriggers
    • โšก๏ธ server: optimize SQL query generation with LIMITs
    • ๐Ÿ”€ server: add GraphQL request query in the payload for synchronous actions
    • ๐ŸŒฒ server: improve the event trigger logging on errors NOTE: This change introduces a breaking change, earlier when there was a client error when trying to process an event, then the status was reported as 1000. Now, the status 1000 has been removed and if any status was received by the graphql-engine from the webhook, the status of the invocation will be the same otherwise it will be NULL.
    • ๐Ÿ‘ server: support extensions field in error responses from action webhook endpoints (fix #4001)
    • server: fix custom-check based permissions for MSSQL (#7429)
    • ๐ŸŽ server: query performance improvements
    • ๐Ÿšš server: remove identity notion for table columns (fix #7557)
    • ๐Ÿ‘ server: support MSSQL transactions
    • ๐ŸŒฒ server: log individual operation details in the http-log during a batch graphQL query execution
    • โฑ server: update create_scheduled_event API to return event_id in response
    • ๐Ÿ“‡ server: fix bug which allowed inconsistent metadata to exist after the replace_metadata API even though allow_inconsistent_object is set to false.
    • server: fix explicit null values not allowed in nested object relationship inserts (#7484)
    • server: introspect_remote_schema API now returns original remote schema instead of customized schema
    • server: prevent empty subscription roots in the schema (#6898)
    • ๐Ÿ‘ server: support database-to-database joins (for now, limited to Postgres as the target side of the join)
    • ๐Ÿ‘ server: add support for user comments for trackable functions (#7490)
    • ๐Ÿ‘ console: support tracking of functions with return a single row
    • console: add GraphQL customisation under Remote schema edit tab
    • console: fix cross-schema array relationship suggestions
    • ๐ŸŽ console: add performance fixes for handle large db schemas
    • ๐Ÿ— console: fix missing cross-schema computed fields in permission builder
    • ๐Ÿ”’ console: add time limits setting to security settings
    • ๐Ÿ“‡ cli: add support for network metadata object
    • cli: hasura migrate apply --all-databases will return a non zero exit code if operation failed on atleast one database (#7499)
    • cli: migrate create --from-server creates the migration and marks it as applied on the server
    • ๐Ÿ“‡ cli: support query_tags in metadata
    • ๐Ÿš€ cli: add hasura deploy command
    • ๐Ÿ“‡ cli: allow exporting and applying metadata from yaml/json files
    • cli: allow squashing specific set of migrations. A new --to flag is introduced in migrate squash command. eg: hasura migrate squash --from <v1> --to <v4>
    • ๐Ÿ“‡ cli: hasura init --endpoint <endpoint> adds an option to export metadata and create initial migration from the server.
  • v2.0.10 Changes

    • server: fix bug which recreated event triggers every time the graphql-engine started up
    • ๐Ÿšš server: remove identity notion for table columns (fix #7557)
    • ๐ŸŽ console: add performance fixes for handling large db schemas
  • v2.0.9 Changes

    • ๐Ÿ“‡ server: fix export_metadata V2 bug which included cron triggers with include_in_metadata: false
    • server: disable mutation for materialised views (#6688)
    • server: set tracecontext and userInfo for DML actions on Postgres sources
    • server: add support for connection_parameters on pg_add_source API
    • cli: add progress bar for migrate apply command (#4795)
    • ๐Ÿ cli: embed cli-ext for windows binaries (#7509)
  • v2.0.8 Changes

    • server: fix nullability of object relationships (close #7201)
    • โšก๏ธ server: update non-existent event trigger, action and query collection error msgs (close #7396)
    • 0๏ธโƒฃ server: fix broken untrack_function for non-default source
    • ๐Ÿ‘ server: Adding support for TLS allowlist by domain and service id (port)
    • ๐Ÿ‘ server: add support for graphql-ws clients
    • console: fix error due to rendering inconsistent object's message
    • ๐Ÿ‘ console: support insecure TLS allowlist
    • ๐Ÿ‘ console: support computed fields in remote schema join
    • โšก๏ธ console: fix data sidebar not updated when a table is renamed
    • cli: fix delay starting console using hasura console (#7255)
  • v2.0.7 Changes

    • โฌ‡๏ธ server: fix v2 -> v1 downgrade bug when cron triggers exist
    • server: add index on the event_id column of the hdb_cron_event_invocation_logs table
    • server: fix GraphQL type for remote relationship field (close #7284)
    • ๐Ÿ‘ server: support EdDSA algorithm and key type for JWT
    • server: fix GraphQL type for single-row returning functions (close #7109)
    • ๐Ÿ‘ console: add support for creation of indexes for Postgres data sources
    • ๐Ÿ“„ docs: document the cleanup process for scheduled triggers
    • console: allow same named queries and unnamed queries on allowlist file upload
    • ๐Ÿ— console: support computed fields in permission builder
    • console: add custom timeouts to actions
  • v2.0.6 Changes

    • ๐Ÿ‘ server: Add support for inherited roles for mutations, remote schema, actions and custom function permissions
    • server: fix an issue with remote relationships when join columns are aliased (close #7180)
    • server: fix for incorrect __typename value in nested remote joins with a customized remote schema
    • 0๏ธโƒฃ server: fix a bug where some unicode characters in default string values for fields in remote schemas could lead to internal errors
    • server: bigquery: implement _in and _nin operators. (close #7343)
    • โœ… server: bigquery: custom root names, table names and field names for bigquery are included in tests
    • console: fix untracked foreign-key relationships suggestion across schemas
    • console: allow resolution of conflicting inherited role permissions
    • cli: fix SDL formatting in actions.graphql(#7296)