Hasura v2.8.3 Release Notes

  • ๐Ÿ› Bug fixes and improvements

    • ๐Ÿ“‡ cli: fix performance regression with large metadata in metadata apply

    During the execution of metadata apply command, the YAML metadata is converted into JSON format because the server API accepts metadata in JSON format. For large metadata(> ~20k LOC), due to a recent change this conversion was taking upwards of 2 minutes of time, increasing exponentially with metadata size.
    With the changes in this release, the performance regression has been fixed. Following is a benchmark comparison of time taken for YAML to JSON conversion before and after the changes for different metadata sizes: | Metadata size(LOC) | Before(seconds) | After(seconds) | |--------------------|-----------------|----------------| | 10k | 8.7 | 0.22 | | 20k | 15.9 | 0.29 | | 50k | 89.5 | 0.52 | | 100k | 271.9 | 0.81 | | 300k | - | 2.3 |