snapdrift 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1 - 2026-08-06
4
+
5
+ ### Fixes
6
+
7
+ - **The root action can actually be published to the Marketplace** — its description was 130 characters, and GitHub rejects the listing at 125 or more, so ticking "Publish this Action to the GitHub Marketplace" on the `v0.8.0` release failed validation. Shortened to 115 characters, leading with "visual regression" so the listing matches what people search for. `npm run validate:actions` and `tests/marketplace-metadata.test.js` now enforce the limit against the root action; the sub-action descriptions are unaffected, since the rule only applies to the published entry point.
8
+
3
9
  ## 0.8.0 - 2026-08-06
4
10
 
5
11
  ### Features
package/README.md CHANGED
@@ -48,7 +48,7 @@ You keep ownership of checkout, build, startup, readiness, and teardown. SnapDri
48
48
 
49
49
  ```yaml
50
50
  - name: SnapDrift Baseline
51
- uses: ranacseruet/snapdrift@v0.8.0
51
+ uses: ranacseruet/snapdrift@v0.8.1
52
52
  with:
53
53
  mode: baseline
54
54
  repo-config-path: .github/snapdrift.json
@@ -58,7 +58,7 @@ You keep ownership of checkout, build, startup, readiness, and teardown. SnapDri
58
58
 
59
59
  ```yaml
60
60
  - name: SnapDrift Report
61
- uses: ranacseruet/snapdrift@v0.8.0
61
+ uses: ranacseruet/snapdrift@v0.8.1
62
62
  with:
63
63
  mode: pr-diff
64
64
  github-token: ${{ secrets.GITHUB_TOKEN }}
package/action.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: SnapDrift
2
- description: Capture, compare, and report UI drift for Playwright-based apps — baseline publishing and pull request visual diffs in one action.
2
+ description: Visual regression for Playwright apps — capture routes, diff against a baseline, and report drift on pull requests.
3
3
  author: CodeSamplez
4
4
 
5
5
  branding:
@@ -15,10 +15,12 @@ branding:
15
15
  # action's own directory. `tests/marketplace-metadata.test.js` fails the build if those pins drift
16
16
  # from the root `package.json` version.
17
17
  #
18
- # The pins are commit SHAs carrying the version in a trailing comment, so that a consumer pinning
19
- # this action to a SHA gets an immutable chain rather than a mutable tag one level down. The SHA is
20
- # the commit that introduced the release's wrapper actions; the release commit cannot reference its
21
- # own SHA. The test accepts a plain `@vX.Y.Z` tag too, for unreleased refs.
18
+ # The pins are commit SHAs, so that a consumer pinning this action to a SHA gets an immutable chain
19
+ # rather than a mutable tag one level down. The SHA is the commit holding the wrapper content this
20
+ # release ships — not the release tag itself, which a release commit cannot reference. It therefore
21
+ # only moves when the wrappers change. The trailing comment records the release the pin was last
22
+ # verified for, and the test requires it to match the package version, so every release has to look
23
+ # at it. The test accepts a plain `@vX.Y.Z` tag too, for unreleased refs.
22
24
 
23
25
  inputs:
24
26
  mode:
@@ -146,7 +148,7 @@ runs:
146
148
  - name: SnapDrift baseline
147
149
  id: baseline
148
150
  if: inputs.mode == 'baseline'
149
- uses: ranacseruet/snapdrift/actions/baseline@539953ab07065be805be393d69bd3c9b6d53cf6e # v0.8.0
151
+ uses: ranacseruet/snapdrift/actions/baseline@539953ab07065be805be393d69bd3c9b6d53cf6e # v0.8.1
150
152
  with:
151
153
  repo-config-path: ${{ inputs.repo-config-path }}
152
154
  route-ids: ${{ inputs.route-ids }}
@@ -156,7 +158,7 @@ runs:
156
158
  - name: SnapDrift pull request diff
157
159
  id: pr-diff
158
160
  if: inputs.mode == 'pr-diff'
159
- uses: ranacseruet/snapdrift/actions/pr-diff@539953ab07065be805be393d69bd3c9b6d53cf6e # v0.8.0
161
+ uses: ranacseruet/snapdrift/actions/pr-diff@539953ab07065be805be393d69bd3c9b6d53cf6e # v0.8.1
160
162
  with:
161
163
  github-token: ${{ inputs.github-token }}
162
164
  repo-config-path: ${{ inputs.repo-config-path }}
@@ -46,7 +46,7 @@ SnapDrift owns route selection, capture, comparison, skipped-report generation,
46
46
 
47
47
  ```yaml
48
48
  - name: SnapDrift Baseline
49
- uses: ranacseruet/snapdrift@v0.8.0
49
+ uses: ranacseruet/snapdrift@v0.8.1
50
50
  with:
51
51
  mode: baseline
52
52
  repo-config-path: .github/snapdrift.json
@@ -71,7 +71,7 @@ Then add SnapDrift after the app is running:
71
71
 
72
72
  ```yaml
73
73
  - name: SnapDrift Report
74
- uses: ranacseruet/snapdrift@v0.8.0
74
+ uses: ranacseruet/snapdrift@v0.8.1
75
75
  with:
76
76
  mode: pr-diff
77
77
  github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -86,8 +86,8 @@ The wrappers remain published in their own right, and are equivalent to the disp
86
86
 
87
87
  | Entry point | Equivalent to |
88
88
  |-------------|---------------|
89
- | `ranacseruet/snapdrift@v0.8.0` with `mode: baseline` | `ranacseruet/snapdrift/actions/baseline@v0.8.0` |
90
- | `ranacseruet/snapdrift@v0.8.0` with `mode: pr-diff` | `ranacseruet/snapdrift/actions/pr-diff@v0.8.0` |
89
+ | `ranacseruet/snapdrift@v0.8.1` with `mode: baseline` | `ranacseruet/snapdrift/actions/baseline@v0.8.1` |
90
+ | `ranacseruet/snapdrift@v0.8.1` with `mode: pr-diff` | `ranacseruet/snapdrift/actions/pr-diff@v0.8.1` |
91
91
 
92
92
  Use the wrappers directly when you want to skip the dispatcher's input indirection, and the lower-level `capture`, `compare`, `scope`, `resolve-baseline`, `stage`, `comment`, and `enforce` actions when you need to orchestrate the stages yourself.
93
93
 
@@ -130,7 +130,7 @@ jobs:
130
130
  done
131
131
 
132
132
  - name: SnapDrift Report
133
- uses: ranacseruet/snapdrift@v0.8.0
133
+ uses: ranacseruet/snapdrift@v0.8.1
134
134
  with:
135
135
  mode: pr-diff
136
136
  github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -170,7 +170,7 @@ jobs:
170
170
  done
171
171
 
172
172
  - name: SnapDrift Report
173
- uses: ranacseruet/snapdrift@v0.8.0
173
+ uses: ranacseruet/snapdrift@v0.8.1
174
174
  with:
175
175
  mode: pr-diff
176
176
  github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -70,7 +70,7 @@ jobs:
70
70
  # ────────────────────────────────────────────────────────────────────────
71
71
 
72
72
  - name: Publish SnapDrift baseline
73
- uses: ranacseruet/snapdrift@v0.8.0
73
+ uses: ranacseruet/snapdrift@v0.8.1
74
74
  with:
75
75
  mode: baseline
76
76
  repo-config-path: .github/snapdrift.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snapdrift",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "SnapDrift captures, compares, and reports UI drift for Playwright-based app checks.",