Changelog
Bug fixes and improvements
Server
- Fix an issue where Postgres reset JSON parameters to empty strings after a transaction, causing event trigger failures when executing mutations outside Hasura. The
insert_event_log
trigger function now correctly handles empty strings. - Attempt to set haskell runtime threads based on cgroup CPU limits, when present, for better automatic sizing in docker and kubernetes environments. Users with small CPU limits on servers with many cores should expect to see somewhat lower memory usage and possibly improved performance.
- Add optional
no_transaction
flag (defaultfalse
) torun_sql
API (Postgres) to execute SQL statements outside transaction blocks, with support for splitting multiple statements. Useful for operations likeCREATE INDEX CONCURRENTLY
. - Fix the
hasura_active_subscriptions
metric becoming inconsistent (e.g. showing a negative value). - Fix an issue where a source's metadata would be erased if the source was inconsistent and then a source update was performed.
- Mark remote schemas as inconsistent when type conflicts occur with the existing schema.
- Only show internal actions errors in logs if
HASURA_GRAPHQL_DEV_MODE
orHASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS
are switched on. - Increase upper bound of execution time metrics to 100s. (Cloud / Enterprise edition only)
- Add metrics
hasura_events_fetch_query_time
andhasura_events_fetched_total
. (Cloud / Enterprise edition only) - Fix metrics label for DB with non-standard URI. (Cloud / Enterprise edition only)