Skip to content

v1.0.2

Choose a tag to compare

@lawrence8358 lawrence8358 released this 06 Mar 13:24
· 30 commits to main since this release
414d153

發布日期 (Date): 2026-03-06

主要亮點 (Highlights):

  • 簡化路徑設定方式:不再需要 basePath + 子目錄的兩層結構,schema 與 initData 直接指定完整路徑即可
  • EN: Simplified path configuration — schema and initData now take full directory paths directly, eliminating the need for a basePath + subdirectory two-layer structure

🌟 What's New / 主要更新

🚀 Features / 新功能

  • 無 / None

🛠 Refactoring & Improvements / 重構與效能優化

  • 路徑設定簡化:Config 檔與 CLI 中的 schema 和 initData 現在直接填入完整目錄路徑,不再需要透過 basePath 組合。設定更直覺,減少路徑拼接造成的錯誤

    EN: Simplified path configuration: schema and initData in config files and CLI now accept full directory paths directly, without needing basePath to combine. This makes configuration more intuitive and reduces path-resolution errors

🐛 Bug Fixes / 問題修復

  • 無 / None

⚠️ Breaking Changes / 重大變更

  • CLI --base-path 選項已移除:請改用 --schema 與 --init-data 直接指定目錄的完整路徑

    EN: CLI --base-path option removed: Use --schema and --init-data to specify full directory paths directly

  • Config 檔格式變更:paths 區段不再支援 basePath 欄位,請將 schema 與 initData 更新為完整路徑。升級範例:

    EN: Config file format changed: The basePath field under paths is no longer supported. Update schema and initData to full paths. Migration example:

    // 舊格式 (Before)
    "paths": {
      "basePath": "C:/MyProject",
      "schema": "Schema",
      "initData": "InitData"
    }
    
    // 新格式 (After)
    "paths": {
      "schema": "C:/MyProject/Schema",
      "initData": "C:/MyProject/InitData"
    }