kandown 0.21.6 → 0.21.7

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.7 — 2026-07-20 — "Web UI Vector Logo & CLI Changelog Fix"
4
+
5
+ - **Added**: **Vector Brand Logo Component (`LogoSvg.tsx`)** — unified header and empty state UI components to render the official multi-color brand vector logo from `logo.svg`.
6
+ - **Fixed**: **CLI Changelog Display on Update & First Run** — fixed `checkVersionSeenNotices()` in `bin/kandown.js` so release changelogs render cleanly whenever a new version is detected or installed, ensuring version notices and changelogs are printed reliably in the terminal during updates.
7
+
3
8
  ## 0.21.6 — 2026-07-20 — "Favicons & CI Workflow Fix"
4
9
 
5
10
  - **Added**: **Official Favicon Suite from `logo.svg`** — generated multi-format favicons (`favicon.svg`, inline base64 SVG data URI, `favicon.ico`, `favicon-16x16.png`, `favicon-32x32.png`, `favicon-48x48.png`, `favicon-96x96.png`), `apple-touch-icon.png` (180x180), `android-chrome-192x192.png`, `android-chrome-512x512.png`, and Web Manifests (`manifest.json`, `site.webmanifest`).
package/bin/kandown.js CHANGED
@@ -330,6 +330,7 @@ async function checkForUpdate(argv = process.argv) {
330
330
  }
331
331
 
332
332
  tuiDone('✓', `${c.green}Updated to v${postVersion}${c.reset} — restarting…`);
333
+ printVersionChangelog(postVersion);
333
334
  printBreakingChangeNotices(current, postVersion);
334
335
  log('');
335
336
 
@@ -458,11 +459,9 @@ function checkVersionSeenNotices() {
458
459
  if (typeof raw?.lastSeen === 'string') lastSeen = raw.lastSeen;
459
460
  } catch { /* first run, or corrupted cache — treat as unknown */ }
460
461
 
461
- if (lastSeen && lastSeen !== current) {
462
- printVersionChangelog(current);
463
- printBreakingChangeNotices(lastSeen, current);
464
- }
465
462
  if (lastSeen !== current) {
463
+ printVersionChangelog(current);
464
+ if (lastSeen) printBreakingChangeNotices(lastSeen, current);
466
465
  try { writeFileSync(VERSION_SEEN_CACHE, JSON.stringify({ lastSeen: current })); } catch { /* best-effort */ }
467
466
  }
468
467
  }