v0.12.7a: add CHANGELOG entry for post-deploy fixes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,21 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### What was just completed (2026-02-18 session 44)
|
||||||
|
- **v0.12.7a — Post-deploy fixes:**
|
||||||
|
|
||||||
|
**Fix A: Restore now shows snapshots for all apps (`internal/api/router.go`)**
|
||||||
|
- Root cause: `filterSnapshotsByPaths` filtered older snapshots (pre-v0.12.7) by HDD paths. Older snapshots don't contain HDD paths (backup wasn't mandatory yet), so Immich got zero snapshots.
|
||||||
|
- Fix: removed HDD path filtering entirely from `backupSnapshots`. All snapshots contain config + DB dumps and are useful for any app. `RestoreApp` extracts whatever paths are available from the chosen snapshot.
|
||||||
|
- `filterSnapshotsByPaths` and `pathCovers` functions kept (unused, no compile error).
|
||||||
|
|
||||||
|
**Fix B: Clarified "no cross-drive" warning (`internal/web/handlers.go`, `backups.html`, `style.css`)**
|
||||||
|
- Root cause: "Nincs beállítva" / red dot implied no backup at all — misleading since nightly restic now always covers HDD data.
|
||||||
|
- `handlers.go`: status `"red"` → `"yellow"`, StatusText → `"Nincs második másolat (csak helyi mentés)"`
|
||||||
|
- `backups.html`: added `✓ Helyi mentés auto` badge before the `⚠ Nincs 2. másolat` warning
|
||||||
|
- `style.css`: `.layer-auto-ok` class added (green text for the auto badge)
|
||||||
|
|
||||||
|
**Files modified (3):** `internal/api/router.go`, `internal/web/handlers.go`, `internal/web/templates/backups.html`, `internal/web/templates/style.css`
|
||||||
|
|
||||||
### What was just completed (2026-02-18 session 43)
|
### What was just completed (2026-02-18 session 43)
|
||||||
- **v0.12.7 — Backup Architecture Overhaul (mandatory HDD backup, pre-dump, restore for all apps):**
|
- **v0.12.7 — Backup Architecture Overhaul (mandatory HDD backup, pre-dump, restore for all apps):**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user