Releases: Fieldguide/action-hasura-change-summary
v2.4.3
v2.4.2
Bugs
- Fix consistent column permission merging #245
Docs
Internal
- Upgrade dependencies v2.4.1...v2.4.2
v2.4.1
Bugs
- Ignore empty column changes #225
v2.4.0
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
- Bump and expand ESLint #218
- Upgrade dependencies v2.3.1...v2.4.0
v2.3.1
Internal
- Bump Node.js runtime version from 12 to 16 #164
- Upgrade dependencies v2.3.0...v2.3.1
v2.3.0
Features
- Add changed table count #133
Internal
- Bump Dependabot open-pull-requests-limit #143
- Upgrade dependencies v2.2.0...v2.3.0
v2.2.0
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
- Upgrade dependencies v2.1.1...v2.2.0
v2.1.1
Bugs
- Fix console link inner trailing space #92
Internal
- Cache ci/build npm dependencies #99
- Upgrade dependencies v2.1.0...v2.1.1
v2.1.0
v2.0.0
Breaking Changes
- Rename
change_html
output (fromchange_markdown
) - Remove
change
output
Features
- Diff updated table permissions #62
Internal
- Fix pull request build workflow #59
- Upgrade dependencies v1.1.0...v2.0.0