Skip to content

v3.1.0

Latest

Choose a tag to compare

@j7-dev j7-dev released this 13 Aug 11:29

   🚨 Breaking Changes

  • profit-shop:
    • 賣場前台改走 WooCommerce 原生加購,移除自訂購物車  -  by @j7-dev and Claude Opus 5 (1M context) (61dce)
    • 移除全域設定頁,rewrite 前綴改固定常數 + 版本比對式 flush  -  by @j7-dev and Claude Opus 5 (1M context) (87a18)
    • 夥伴密碼改為一般欄位,明文可查看 / 複製  -  by @j7-dev and Claude Opus 5 (1M context) (90cec)
    • 賣場前台改 PHP + vanilla JS,商品 Modal 改 AJAX 加購  -  by @j7-dev and Claude Opus 5 (1M context) (8cb0b)
    • Settings/items 寫 postmeta 前補 wp_slash,修資料遺失  -  by @j7-dev and Claude Opus 5 (1M context) (7d291)

   🚀 Features

  • profit-partner:
    • 分潤夥伴圖片,並將列表頁對齊標準版型  -  by @j7-dev and Claude Opus 5 (1M context) (52d7a)
  • profit-shop:
    • Phase 1 Tier A+E - Domain ValueObject 與 Exception  -  by @j7-dev and Claude Opus 5 (1M context) (cbd05)
    • Phase 1 Tier B+C+D - Entity / Service / Repository  -  by @j7-dev and Claude Opus 5 (1M context) (83599)
    • Phase 2 - Infrastructure 層(CPT 註冊 + Repository 實作)  -  by @j7-dev and Claude Opus 5 (1M context) (fb216)
    • Phase 3-A - Domain 缺口補完 + Application 骨架  -  by @j7-dev and Claude Opus 5 (1M context) (c1f50)
    • Phase 3-B - Admin CRUD UseCase + V2Api  -  by @j7-dev and Claude Opus 5 (1M context) (b5497)
    • Phase 3-C 綠燈 - Partner Auth + Reports(安全核心)  -  by @j7-dev and Claude Opus 5 (1M context) (cb62b)
    • Phase 3-D Batch 1 - Token 撤銷 getter + Cart HMAC 簽章服務  -  by @j7-dev and Claude Opus 5 (1M context) (78a05)
    • Phase 3-D Batch 2 - Token 撤銷升級 + Settlement 真實 SQL 聚合  -  by @j7-dev and Claude Opus 5 (1M context) (64e4c)
    • Phase 3-D Batch 3 - RateLimiter +per-IP 雙維度 + Cart 價格防竄改  -  by @j7-dev and Claude Opus 5 (1M context) (4e1c7)
    • Phase 3-D Batch 4 - V2Api 收尾整合 + 三輪 reviewer 安全強化  -  by @j7-dev and Claude Opus 5 (1M context) (3b36a)
    • Phase 3-E - validate-slug + ExceptionMapper 解封 + OpenAPI 同步  -  by @j7-dev and Claude Opus 5 (1M context) (0660f)
    • Phase 4-C1 - 賣場前台 PHP renderer + Theme 整合 template  -  by @j7-dev and Claude Opus 5 (1M context) (2d6a7)
    • Phase 4-C2 - AddToCart Hook + Cart UI 分潤標記  -  by @j7-dev and Claude Opus 5 (1M context) (f813e)
    • Phase 5-A 安全核心(IP rate-limit + logout 401 跳過 + env fail-fast)  -  by @j7-dev and Claude Opus 5 (1M context) (4e742)
    • Phase 6-A1 - Partner 自助修密碼後端  -  by @j7-dev and Claude Opus 5 (1M context) (e974a)
    • Phase 6-A2 - Partner 自助修密碼前端 UI  -  by @j7-dev and Claude Opus 5 (1M context) (c80b4)
    • 賣場列表頁對齊標準版型(篩選卡片 + 實體列表)  -  by @j7-dev and Claude Opus 5 (1M context) (2807f)
    • 商品選擇器改為篩選 Modal,並修正 items 契約與表格欄位  -  by @j7-dev and Claude Opus 5 (1M context) (a4089)
    • 賣場表單改 Tabs 版型、商品可拖曳排序,並修好「按了沒反應」  -  by @j7-dev and Claude Opus 5 (1M context) (f857e)
    • 賣場列表 Slug 欄改呈現模式,操作欄加「開啟商店」  -  by @j7-dev and Claude Opus 5 (1M context) (7adbf)
    • 賣場前台照搬 legacy UI,購物車改走自訂 REST API  -  by @j7-dev and Claude Opus 5 (1M context) (ff81d)
    • 賣場商品可逐變體覆寫價格與灌水購買人數  -  by @j7-dev and Claude Opus 5 (1M context) (ab6d0)
    • Shortcode 賣場改顯示「複製」按鈕,並補上短碼實作  -  by @j7-dev and Claude Opus 5 (1M context) (5e90b)
    • 夥伴編輯頁可直接設定報表登入密碼  -  by @j7-dev and Claude Opus 5 (1M context) (bd100)
    • 賣場新增開啟 / 關閉時間與期間外呈現設定  -  by @j7-dev and Claude Opus 5 (1M context) (d4be3)
    • 接通分潤結算鏈路(結帳寫入 + 結算 API + 三項地基修補)  -  by @j7-dev and Claude Opus 5 (1M context) (866fb)
    • 新增結算頁 SPA 與訂單頁分潤資訊面板  -  by @j7-dev and Claude Opus 5 (1M context) (67895)
    • 退款/取消回沖與訂閱續訂分潤帶入  -  by @j7-dev and Claude Opus 5 (1M context) (621f4)
    • 變體清單改走自訂 REST,移除 WooCommerce API 的 100 筆上限  -  by @j7-dev and Claude Opus 5 (1M context) (033f7)
    • 賣場獨立頁面可選佈景主題範本 + template override hook,並修掉頁面建構器不生效的根因  -  by @j7-dev and Claude Opus 5 (1M context) (a408e)
    • 夥伴報表賣場篩選 + 修好從未能用的「遷入舊版」  -  by @j7-dev and Claude Opus 5 (1M context) (c9693)
  • profit-shop-ui:
    • Phase 4-A1 - ProfitShop CRUD UI(商家後台 React 第一批)  -  by @j7-dev and Claude Opus 5 (1M context) (1c1e3)
    • Phase 4-A2 - Partner CRUD + Cart 特殊操作(HIGH-RISK 通過雙審)  -  by @j7-dev and Claude Opus 5 (1M context) (883ed)
    • Phase 4-A3 - Migration + Settings + OneShop 改造收尾  -  by @j7-dev and Claude Opus 5 (1M context) (66105)
    • Phase 4-B1 - Partner portal Skeleton(獨立 SPA + Auth + Login)  -  by @j7-dev and Claude Opus 5 (1M context) (bc3ea)
    • Phase 4-B2 - Partner portal Dashboard + KPI  -  by @j7-dev and Claude Opus 5 (1M context) (7e409)
    • Phase 4-B3 - Trend + Settlements + 收尾(含順手清單 6 條)  -  by @j7-dev and Claude Opus 5 (1M context) (23e76)
  • specs:
    • 建立 Feature Rule ↔ 測試追溯機制,7 個結算 feature 全數標註  -  by @j7-dev and Claude Opus 5 (1M context) (fca3f)
    • 完成全部 255 條 Rule 的測試追溯標註  -  by @j7-dev and Claude Opus 5 (1M context) (75eae)

   🐞 Bug Fixes

  • admin:
    • 補上 antd App provider,修復全專案 notification 失效  -  by @j7-dev and Claude Opus 5 (1M context) (a21c5)
    • 補上 Tailwind entry,並清掉全專案無效的 tw- prefix  -  by @j7-dev and Claude Opus 5 (1M context) (bf90a)
  • ci:
    • Use opus alias instead of pinned claude-opus-4-6  -  by @j7-dev and Claude Opus 5 (1M context) (869b1)
    • Apply opus alias to composite action and issue workflow  -  by @j7-dev and Claude Opus 5 (1M context) (d1055)
    • 修正 insteadOf 被第二行覆寫導致 git@ rewrite 失效  -  by @j7-dev (b7c25)
    • 移除 pnpm/action-setup 的 version 輸入,改由 packageManager 欄位決定  -  by @j7-dev and Claude Opus 5 (1M context) (562bf)
    • 將 lockfile 納入版本控制以修正 frozen-lockfile 安裝失敗  -  by @j7-dev and Claude Opus 5 (1M context) (c593b)
    • 修正 claude-code-action 清除 git auth 後兜底推送失敗  -  by @j7-dev and Claude Opus 5 (1M context) (8bbcf)
    • Support prefixed Bunny CDN URLs in smoke test report regex  -  by @j7-dev and Claude Opus 5 (1M context) (e9fde)
  • partner-portal:
    • BUG-2 TrendChart a.every 三層縱深防禦  -  by @j7-dev and Claude Opus 5 (1M context) (afc95)
  • profit-shop:
    • 補 reviewer 提的 Major - Domain 例外體系與 status invariant  -  by @j7-dev and Claude Opus 5 (1M context) (9ecdb)
    • Phase 2 二輪 - reviewer 必修修正 + IT 補強  -  by @j7-dev and Claude Opus 5 (1M context) (2004b)
    • Phase 3-C 二輪 - reviewer/security 必修 + 順手清單  -  by @j7-dev (f47a5)
    • BUG-1 validate-slug 補既有 powershop CPT + profit_partner term 衝突檢查  -  by @j7-dev and Claude Opus 5 (1M context) (b736c)
    • 購物車顯示賣場覆寫後的原價 / 特價  -  by @j7-dev and Claude Opus 5 (1M context) (e4a45)
    • 賣場前台變體比對與無定價變體的覆寫價救援  -  by @j7-dev and Claude Opus 5 (1M context) (21352)
    • 修 partner token 同秒撤銷,解除 11 條安全核心測試長期紅燈  -  by @j7-dev and Claude Opus 5 (1M context) (0f34a)
    • ToInputValue 對空字串回 0,讓「沒設定」變成「覆寫為 0 元」  -  by @j7-dev and Claude Opus 5 (1M context) (7bda3)
    • 原生表單加購成功後看不到提示——根因是 get_header() 先把通知吃掉了  -  by @j7-dev and Claude Opus 5 (1M context) (e72f6)
    • 賣場頁面範本兩個都會讓功能完全失效的缺陷  -  by @j7-dev and Claude Opus 5 (1M context) (52bed)
  • specs:
    • 追溯腳本補上「解析出 0 條 Rule 即失敗」守門  -  by @j7-dev and Claude Opus 5 (1M context) (bc328)
  • test:
    • 跨夥伴外洩守門用子字串比對 term id,會無中生有地紅  -  by @j7-dev and Claude Opus 5 (1M context) (a357a)
    View changes on GitHub