ghcr-manager 1.0.3 → 1.0.4

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
@@ -7,6 +7,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v1.0.4] - 2026-06-06
11
+
12
+ ### Added
13
+
14
+ - Added user-facing cleanup behavior documentation, including the tag-based protection model, graph-aware cleanup
15
+ explanation, and digest-pull caveats.
16
+ - Added a visualizer grid toggle so graphs can be aligned for screenshots.
17
+
18
+ ### Changed
19
+
20
+ - Visualizer screenshots and graph-related docs were refreshed.
21
+ - The visualizer graph area now uses a simpler, cleaner white background.
22
+ - Cleanup summary Markdown now uses an updated index icon label in its rendered output.
23
+
24
+ ### Fixed
25
+
26
+ - Fixed the published `ghcr-manager-visualizer` npm package so `npx ghcr-manager-visualizer` runs correctly under Node.
27
+
10
28
  ## [v1.0.3] - 2026-06-05
11
29
 
12
30
  ### Changed
package/README.md CHANGED
@@ -38,7 +38,7 @@ jobs:
38
38
 
39
39
  - name: Preview GHCR cleanup
40
40
  id: ghcr-manager
41
- uses: ghcr-manager/ghcr-manager@v1.0.3
41
+ uses: ghcr-manager/ghcr-manager@v1.0.4
42
42
  with:
43
43
  command: cleanup
44
44
  token: ${{ github.token }}
@@ -81,7 +81,7 @@ The action supports two commands:
81
81
  ### Preview cleanup
82
82
 
83
83
  ```yaml
84
- - uses: ghcr-manager/ghcr-manager@v1.0.3
84
+ - uses: ghcr-manager/ghcr-manager@v1.0.4
85
85
  with:
86
86
  command: cleanup
87
87
  token: ${{ github.token }}
@@ -102,7 +102,7 @@ The action supports two commands:
102
102
  ### Apply cleanup
103
103
 
104
104
  ```yaml
105
- - uses: ghcr-manager/ghcr-manager@v1.0.3
105
+ - uses: ghcr-manager/ghcr-manager@v1.0.4
106
106
  with:
107
107
  command: cleanup
108
108
  token: ${{ github.token }}
@@ -124,7 +124,7 @@ off `dry-run`.
124
124
  ### Scan one package
125
125
 
126
126
  ```yaml
127
- - uses: ghcr-manager/ghcr-manager@v1.0.3
127
+ - uses: ghcr-manager/ghcr-manager@v1.0.4
128
128
  with:
129
129
  command: scan
130
130
  token: ${{ github.token }}
@@ -199,6 +199,8 @@ Current naming:
199
199
 
200
200
  - [GitHub Action usage](https://github.com/ghcr-manager/ghcr-manager/blob/main/docs/action-usage.md): action commands,
201
201
  including `cleanup` and `scan`
202
+ - [Cleanup behavior](https://github.com/ghcr-manager/ghcr-manager/blob/main/docs/cleanup-behavior.md): how graph-aware
203
+ cleanup decides what stays, what can be deleted, and why some graph sections are removed together
202
204
  - [ghcr-manager-visualizer](https://github.com/ghcr-manager/ghcr-manager/blob/main/visualizer/README.md): local graph
203
205
  inspection and scan-to-scan comparison
204
206
  - [Multi-package workflows](https://github.com/ghcr-manager/ghcr-manager/blob/main/docs/db-merge-workflows.md): cleaning
@@ -223,8 +225,20 @@ For a first look in the visualizer, start with:
223
225
  - package: select one with `2images` or `2multiarch` in the name
224
226
  - tag search: `image` or `multiarch`
225
227
 
226
- For more details, see
227
- [visualizer/README.md](https://github.com/ghcr-manager/ghcr-manager/blob/main/visualizer/README.md).
228
+ For more details, see [visualizer](https://github.com/ghcr-manager/ghcr-manager/blob/main/visualizer/README.md) and
229
+ [test-scenarios](https://github.com/ghcr-manager/ghcr-manager/blob/main/docs/test/scenarios.md).
230
+
231
+ ## Cleanup Behavior
232
+
233
+ Cleanup is tag-based for both selection and protection. Use tags to say what should be cleaned up, and use retained tags
234
+ to keep image and multi-arch graphs protected.
235
+
236
+ Manifests reachable from retained tags stay protected. Manifests no longer reachable from any retained tag may be
237
+ removed during cleanup. If you pull images by digest, make sure those digests are still reachable through tags that your
238
+ cleanup rules keep.
239
+
240
+ For the full explanation and graph examples, see
241
+ [cleanup-behavior](https://github.com/ghcr-manager/ghcr-manager/blob/main/docs/cleanup-behavior.md).
228
242
 
229
243
  ## Project
230
244
 
@@ -17,7 +17,7 @@ export function renderCleanupSummaryMarkdown(summary, options) {
17
17
  `| 🔖 Deleted tags | ${summary.changes.deletedTags} |`,
18
18
  `| 🖼️ Deleted images | ${summary.changes.deletedImages} |`,
19
19
  `| 📚 Deleted multi-arch manifests | ${summary.changes.deletedMultiArchManifests} |`,
20
- `| 🧱 Deleted indexes | ${summary.changes.deletedIndexes} |`,
20
+ `| 🗂️ Deleted indexes | ${summary.changes.deletedIndexes} |`,
21
21
  `| 📄 Deleted total | ${summary.changes.deletedTotal} |`,
22
22
  `| 🔗 Tag-only updates | ${summary.untagOnlyRoots.length} |`,
23
23
  `| 🛡️ Blocked items | ${summary.blockedRoots.length} |`,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ghcr-manager",
3
3
  "description": "Inspect, analyze, and manage GitHub Container Registry packages.",
4
4
  "homepage": "https://github.com/ghcr-manager/ghcr-manager#readme",
5
- "version": "v1.0.3",
5
+ "version": "v1.0.4",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "keywords": [