Skip to content

Commit a9bbeed

Browse files
committed
Allow icons/toIcon in JSON schema, update READMEs
Update the GitHub Actions JSON schema validator to support flexible icon definitions: remove `icon` from the strict required list, add an `anyOf` clause to require either `icon` or `icons`, introduce a `toIcon` property, and validate `icons` as a non-empty array of strings. Also refresh the main README and all localized README files to document the new animated icon loop, flexible icon schema, updated glass badge/gradient icon wording, refined row layout, lower continue controls, and related UI copy edits.
1 parent d8c7871 commit a9bbeed

7 files changed

Lines changed: 59 additions & 31 deletions

File tree

.github/workflows/validate-json.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,19 @@ jobs:
4747
"type": "array",
4848
"items": {
4949
"type": "object",
50-
"required": ["icon", "title", "subtitle", "body"],
50+
"required": ["title", "subtitle", "body"],
51+
"anyOf": [
52+
{ "required": ["icon"] },
53+
{ "required": ["icons"] }
54+
],
5155
"properties": {
5256
"icon": { "type": "string" },
57+
"toIcon": { "type": "string" },
58+
"icons": {
59+
"type": "array",
60+
"items": { "type": "string" },
61+
"minItems": 1
62+
},
5363
"title": { "type": "string" },
5464
"subtitle": { "type": "string" },
5565
"body": { "type": "string" }

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,14 @@ That's it — SwiftNEW auto-triggers when the app version changes.
6969
7070
| Feature | Since | Description |
7171
|---------|:-----:|-------------|
72-
| 🔁 Animated Icons | 6.4.0 | `toIcon` / `icons` support with native SF Symbol replacement transitions |
73-
| 🎯 Default Icon Style | 6.4.0 | Rounded glass icon badges with white/black-to-clear backdrops and gradient glyphs |
74-
| 🌊 Liquid Mesh | 6.4.0 | `meshStyle`: `.still` or `.liquid` animated mesh backgrounds |
75-
| 🏷️ Heading Prefix | 6.4.0 | Customize the heading title line with `headingPrefix` |
76-
| 🧩 Layout Polish | 6.4.0 | Larger icons, tighter row spacing, and rounder primary buttons |
72+
| 🔁 Animated Icon Loop | 6.4.0 | Loop through SF Symbols with native replace transitions |
73+
| 🧾 Flexible Icon Schema | 6.4.0 | Define icons with `icon`, `toIcon`, or a full `icons` array |
74+
| 🎯 Default Glass Badge | 6.4.0 | Rounded glass icon badges give rows a softer default look |
75+
| 🌈 Gradient Icon Glyphs | 6.4.0 | Icon glyphs use a top-leading to bottom-trailing theme gradient |
76+
| 🧩 Refined Row Layout | 6.4.0 | Larger icons, tighter rows, and rounder action buttons |
77+
| ⬇️ Lower Continue Controls | 6.4.0 | Continue controls sit closer to the bottom for easier reach |
78+
| 🌊 Liquid Mesh Motion | 6.4.0 | `meshStyle`: `.still` or `.liquid` animated mesh backgrounds |
79+
| 🏷️ Custom Heading Prefix | 6.4.0 | Customize the heading title line with `headingPrefix` |
7780
| 🔍 In-Sheet Search | 6.3.0 | Filter the current release notes by title / subtitle / body |
7881
| 🛡️ Resilient Loading | 6.3.0 | Handles loading failures with an inline retry state instead of an endless spinner |
7982
| 🏷️ Customizable Heading | 6.3.0 | `headingStyle`: `.version`, `.versionOnly`, or `.appName` |

README/README_hc.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@
7070
7171
| 功能 | 起始版本 | 說明 |
7272
|---------|:-----:|-------------|
73-
| 🔁 動畫圖示 | 6.4.0 | 支援 `toIcon` / `icons`,用原生 SF Symbol 替換過渡 |
74-
| 🎯 預設圖示樣式 | 6.4.0 | 圓角玻璃圖示徽章、黑白至透明底色同漸層 glyph |
75-
| 🌊 流動網格 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 動畫網格背景 |
76-
| 🏷️ 標題前綴 | 6.4.0 | 用 `headingPrefix` 自訂標題第一行 |
77-
| 🧩 版面打磨 | 6.4.0 | 更大圖示、更順眼列距同更圓主要按鈕 |
73+
| 🔁 動畫圖示循環 | 6.4.0 | 用原生 SF Symbol 替換過渡循環切換圖示 |
74+
| 🧾 彈性圖示格式 | 6.4.0 | 可用 `icon`、`toIcon` 或完整 `icons` 陣列定義圖示 |
75+
| 🎯 預設玻璃徽章 | 6.4.0 | 圓角玻璃圖示徽章令預設列樣式更柔和 |
76+
| 🌈 漸層圖示字形 | 6.4.0 | 圖示 glyph 使用由左上至右下嘅主題漸層 |
77+
| 🧩 列版面打磨 | 6.4.0 | 更大圖示、更緊湊列距同更圓操作按鈕 |
78+
| ⬇️ 下移 Continue 控制 | 6.4.0 | Continue 控制更貼近底部,操作更順手 |
79+
| 🌊 流動網格動效 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 動畫網格背景 |
80+
| 🏷️ 自訂標題前綴 | 6.4.0 | 用 `headingPrefix` 自訂版本上方標題行 |
7881
| 🔍 內嵌搜尋 | 6.3.0 | 用標題 / 副標題 / 內文過濾當前版本說明 |
7982
| 🏷️ 自訂標題 | 6.3.0 | `headingStyle`:`.version`、`.versionOnly`、`.appName` |
8083
| 🔢 可選 Build 編號 | 6.3.0 | 用 `showBuild: false` 隱藏 build 編號 |

README/README_ja.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@
7070
7171
| 機能 | 追加バージョン | 説明 |
7272
|---------|:-----:|-------------|
73-
| 🔁 アニメーションアイコン | 6.4.0 | `toIcon` / `icons` とネイティブ SF Symbol 置換トランジションに対応 |
74-
| 🎯 デフォルトアイコンスタイル | 6.4.0 | 丸いガラスアイコンバッジ、白/黒から透明への背景、グラデーション付きグリフ |
75-
| 🌊 リキッドメッシュ | 6.4.0 | `meshStyle`: `.still` または `.liquid` のアニメーションメッシュ背景 |
76-
| 🏷️ 見出しプレフィックス | 6.4.0 | `headingPrefix` で見出しタイトル行をカスタマイズ |
77-
| 🧩 レイアウト改善 | 6.4.0 | 大きなアイコン、調整された行間隔、より丸い主要ボタン |
73+
| 🔁 アニメーションアイコンループ | 6.4.0 | ネイティブ SF Symbol 置換トランジションでアイコンを循環表示 |
74+
| 🧾 柔軟なアイコンスキーマ | 6.4.0 | `icon`、`toIcon`、または完全な `icons` 配列でアイコンを定義 |
75+
| 🎯 デフォルトガラスバッジ | 6.4.0 | 丸いガラスアイコンバッジで行の標準表示をより柔らかく |
76+
| 🌈 グラデーションアイコングリフ | 6.4.0 | アイコングリフに左上から右下へのテーマグラデーションを適用 |
77+
| 🧩 行レイアウト改善 | 6.4.0 | 大きなアイコン、詰まった行間隔、より丸い操作ボタン |
78+
| ⬇️ 下部寄せ Continue コントロール | 6.4.0 | Continue コントロールを下部に近づけて押しやすく |
79+
| 🌊 リキッドメッシュモーション | 6.4.0 | `meshStyle`: `.still` または `.liquid` のアニメーションメッシュ背景 |
80+
| 🏷️ カスタム見出しプレフィックス | 6.4.0 | `headingPrefix` でバージョン上の見出し行をカスタマイズ |
7881
| 🔍 シート内検索 | 6.3.0 | タイトル / サブタイトル / 本文で現在のリリースノートを絞り込み |
7982
| 🏷️ カスタマイズ可能なヘッダー | 6.3.0 | `headingStyle`:`.version`、`.versionOnly`、`.appName` |
8083
| 🔢 ビルド番号オプション | 6.3.0 | `showBuild: false` でビルド番号を非表示 |

README/README_ko.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@
7070
7171
| 기능 | 도입 버전 | 설명 |
7272
|---------|:-----:|-------------|
73-
| 🔁 애니메이션 아이콘 | 6.4.0 | `toIcon` / `icons` 지원과 네이티브 SF Symbol 교체 전환 |
74-
| 🎯 기본 아이콘 스타일 | 6.4.0 | 둥근 유리 아이콘 배지, 흰색/검정색-투명 배경, 그라디언트 글리프 |
75-
| 🌊 리퀴드 메시 | 6.4.0 | `meshStyle`: `.still` 또는 `.liquid` 애니메이션 메시 배경 |
76-
| 🏷️ 헤딩 접두어 | 6.4.0 | `headingPrefix` 로 헤딩 제목 줄 사용자 지정 |
77-
| 🧩 레이아웃 개선 | 6.4.0 | 더 큰 아이콘, 균형 잡힌 행 간격, 더 둥근 주요 버튼 |
73+
| 🔁 애니메이션 아이콘 루프 | 6.4.0 | 네이티브 SF Symbol 교체 전환으로 아이콘을 순환 표시 |
74+
| 🧾 유연한 아이콘 스키마 | 6.4.0 | `icon`, `toIcon`, 전체 `icons` 배열로 아이콘 정의 |
75+
| 🎯 기본 유리 배지 | 6.4.0 | 둥근 유리 아이콘 배지로 기본 행 스타일을 더 부드럽게 표시 |
76+
| 🌈 그라디언트 아이콘 글리프 | 6.4.0 | 아이콘 글리프에 좌상단에서 우하단으로 이어지는 테마 그라디언트 적용 |
77+
| 🧩 행 레이아웃 개선 | 6.4.0 | 더 큰 아이콘, 더 촘촘한 행 간격, 더 둥근 동작 버튼 |
78+
| ⬇️ 낮아진 Continue 컨트롤 | 6.4.0 | Continue 컨트롤을 하단에 더 가깝게 배치해 조작성을 개선 |
79+
| 🌊 리퀴드 메시 모션 | 6.4.0 | `meshStyle`: `.still` 또는 `.liquid` 애니메이션 메시 배경 |
80+
| 🏷️ 커스텀 헤딩 접두어 | 6.4.0 | `headingPrefix` 로 버전 위 헤딩 줄 사용자 지정 |
7881
| 🔍 시트 내 검색 | 6.3.0 | 제목 / 부제 / 본문으로 현재 릴리스 노트 필터링 |
7982
| 🏷️ 커스터마이즈 가능한 헤더 | 6.3.0 | `headingStyle`:`.version`、`.versionOnly`、`.appName` |
8083
| 🔢 빌드 번호 옵션 | 6.3.0 | `showBuild: false` 로 빌드 번호 숨김 |

README/README_tc.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@
7070
7171
| 功能 | 起始版本 | 說明 |
7272
|---------|:-----:|-------------|
73-
| 🔁 動畫圖示 | 6.4.0 | 支援 `toIcon` / `icons`,使用原生 SF Symbol 替換過渡 |
74-
| 🎯 預設圖示樣式 | 6.4.0 | 圓角玻璃圖示徽章、黑白至透明底色與漸層圖示 |
75-
| 🌊 流動網格 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 動畫網格背景 |
76-
| 🏷️ 標題前綴 | 6.4.0 | 透過 `headingPrefix` 自訂標題第一行 |
77-
| 🧩 版面優化 | 6.4.0 | 更大圖示、更平衡列距與更圓的主要按鈕 |
73+
| 🔁 動畫圖示循環 | 6.4.0 | 使用原生 SF Symbol 替換過渡循環切換圖示 |
74+
| 🧾 靈活圖示格式 | 6.4.0 | 可用 `icon`、`toIcon` 或完整 `icons` 陣列定義圖示 |
75+
| 🎯 預設玻璃徽章 | 6.4.0 | 圓角玻璃圖示徽章讓預設列表樣式更柔和 |
76+
| 🌈 漸層圖示字形 | 6.4.0 | 圖示字形使用由左上至右下的主題漸層 |
77+
| 🧩 優化列表版面 | 6.4.0 | 更大圖示、更緊湊列距與更圓的操作按鈕 |
78+
| ⬇️ 下移 Continue 控制 | 6.4.0 | Continue 控制更貼近底部,操作更順手 |
79+
| 🌊 流動網格動效 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 動畫網格背景 |
80+
| 🏷️ 自訂標題前綴 | 6.4.0 | 透過 `headingPrefix` 自訂版本上方標題行 |
7881
| 🔍 內嵌搜尋 | 6.3.0 | 依標題 / 副標題 / 內文過濾目前版本說明 |
7982
| 🏷️ 自訂標題 | 6.3.0 | `headingStyle`:`.version`、`.versionOnly`、`.appName` |
8083
| 🔢 可選建置號碼 | 6.3.0 | 透過 `showBuild: false` 隱藏建置號碼 |

README/README_zh.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@
7070
7171
| 功能 | 起始版本 | 说明 |
7272
|---------|:-----:|-------------|
73-
| 🔁 动画图标 | 6.4.0 | 支持 `toIcon` / `icons`,使用原生 SF Symbol 替换过渡 |
74-
| 🎯 默认图标样式 | 6.4.0 | 圆角玻璃图标徽章、黑白至透明底色与渐层图标 |
75-
| 🌊 流动网格 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 动画网格背景 |
76-
| 🏷️ 标题前缀 | 6.4.0 | 通过 `headingPrefix` 自定义标题第一行 |
77-
| 🧩 布局优化 | 6.4.0 | 更大图标、更平衡行距和更圆的主按钮 |
73+
| 🔁 动画图标循环 | 6.4.0 | 使用原生 SF Symbol 替换过渡循环切换图标 |
74+
| 🧾 灵活图标格式 | 6.4.0 | 可用 `icon`、`toIcon` 或完整 `icons` 数组定义图标 |
75+
| 🎯 默认玻璃徽章 | 6.4.0 | 圆角玻璃图标徽章让默认列表样式更柔和 |
76+
| 🌈 渐变图标字形 | 6.4.0 | 图标字形使用从左上到右下的主题渐变 |
77+
| 🧩 优化列表布局 | 6.4.0 | 更大图标、更紧凑行距和更圆的操作按钮 |
78+
| ⬇️ 下移 Continue 控制 | 6.4.0 | Continue 控制更贴近底部,操作更顺手 |
79+
| 🌊 流动网格动效 | 6.4.0 | `meshStyle`:`.still` 或 `.liquid` 动画网格背景 |
80+
| 🏷️ 自定义标题前缀 | 6.4.0 | 通过 `headingPrefix` 自定义版本上方标题行 |
7881
| 🔍 内嵌搜索 | 6.3.0 | 按标题 / 副标题 / 正文过滤当前版本说明 |
7982
| 🏷️ 自定义标题 | 6.3.0 | `headingStyle`:`.version`、`.versionOnly`、`.appName` |
8083
| 🔢 可选构建号 | 6.3.0 | 通过 `showBuild: false` 隐藏构建号 |

0 commit comments

Comments
 (0)