Skip to content
Compare
Choose a tag to compare
@namoscato namoscato released this 13 Sep 02:08
· 74 commits to main since this release
ee1635e

Features

Support config v3 #113

v2.2.0 adds support for Hasura migrations config v3, including the ability to diff across upgraded config versions:

In the example above, the value is in what is not rendered. The absence of other summary headings denotes no change in actual table metadata despite the major directory structure change.

Otherwise, the feature set remains the same with the addition of a database name prefix to config v3 table changes.

Upgrading

These changes are backwards compatible with config v2; therefore, a major version bump was unnecessary.

If your workflow leverages the paths event trigger keyword, the ** wildcard character is necessary to match on config v3 subfolders:

--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -2,7 +2,7 @@ name: ci
 on:
   pull_request:
     paths:
-      - "metadata/*.yaml"
+      - "metadata/**.yaml"
 jobs:
   hasura-change-summary:
     runs-on: ubuntu-latest

Internal