Repository navigation
v1.2.0
Release v1.2.0
發布日期 (Date): 2026-05-23
主要亮點 (Highlights):
- 新增智能 View 差異比對與自動同步功能,支援欄位變更偵測與安全的 View 重建流程
- EN: Added intelligent view difference detection and automatic synchronization. Views are now intelligently tracked and safely rebuilt when column definitions change.
🌟 What's New / 主要更新
🚀 Features / 新功能
-
新增 View 差異比對與智能同步
- 自動偵測 View 變更:識別新增的 View、偵測欄位名稱或順序改變
- 安全部署流程:當 View 欄位改變時,系統會在表格異動前先 DROP 舊 View 後重建,避免 PostgreSQL 不支援的操作
- 支援複雜 SQL 解析:能正確提取包含別名、巢狀括號、引號識別符的 View 定義
EN:
- Auto-detects View additions and column changes (name, count, or order)
- Safe deployment: Views are dropped and recreated before table changes to prevent incompatible operations
- Robust SQL parsing for complex SELECT statements
-
改進部署日誌與可視化
- 日誌現在顯示資料表和 View 的數量
- Diff 結果在部署計畫中清晰呈現
EN:
- Deployment logs now display both table and View counts
- View changes are clearly shown in the deployment plan
🛠 Refactoring & Improvements / 重構與效能優化
-
SchemaChange模型屬性重命名:TableName→EntityName- 原因:屬性現在同時表示表格或 View,需要更通用的名稱
- 受影響檔案已全數更新
EN: Renamed
SchemaChange.TableNametoEntityNamefor semantic clarity. The property now represents either a table or View name. All impacted files have been updated. -
新增本地化資源字符串:View 變更的多語言支援
EN: Added localized resource strings for View change messages
🐛 Bug Fixes / 問題修復
- 無 / None
⚠️ Breaking Changes / 重大變更
- 無 / None