Hasura - v2.8.3


This is a patch release for v2.8.2

Changelog

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 |


Details

date
June 30, 2022, 2:04 p.m.
name
v2.8.3
type
Patch
👇
Register or login to:
  • 🔍View and search all Hasura releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or