Skip to content

Releases: Fieldguide/action-hasura-change-summary

v2.4.3

19 Nov 20:22
20574ba
Compare
Choose a tag to compare

Features

  • Default github_token input #284

Internal

v2.4.2

24 Jul 13:46
7c5294a
Compare
Choose a tag to compare

Bugs

  • Fix consistent column permission merging #245

Docs

  • Note limitations in README; fix example #234 (thanks @chillu!)

Internal

v2.4.1

24 May 23:42
67be333
Compare
Choose a tag to compare

Bugs

  • Ignore empty column changes #225

v2.4.0

22 May 19:31
2dd1ab5
Compare
Choose a tag to compare

Features

Expose column permission changes #221

Column and computed field permission changes are now summarized below the existing permission tables.

Expanding the summary enumerates the changed column names across operation and role. Changes that are consistent across roles will be vertically merged for readability.

For example:

10 added column permissions
insert select update
manager ➕ name ➕ created_at
➕ id
➕ last_login_at
➕ name
➕ name
user

Output job summary #224

The change_html output is now additionally written as a GitHub Actions Job Summary and displayed on the summary page of a workflow run.

Internal

v2.3.1

13 Dec 02:23
0b3a153
Compare
Choose a tag to compare

Internal

v2.3.0

16 Oct 15:36
bb21697
Compare
Choose a tag to compare

Features

  • Add changed table count #133

Internal

v2.2.0

13 Sep 02:08
ee1635e
Compare
Choose a tag to compare

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

v2.1.1

03 Jul 22:02
94c43d7
Compare
Choose a tag to compare

Bugs

  • Fix console link inner trailing space #92

Internal

v2.1.0

15 May 14:19
0ff2f10
Compare
Choose a tag to compare

Features

  • Expose tracked table permissions #75
  • Improve logging #74

Internal

v2.0.0

01 May 17:00
22ef0e5
Compare
Choose a tag to compare

Breaking Changes

  • Rename change_html output (from change_markdown)
  • Remove change output

Features

  • Diff updated table permissions #62

Internal