Skip to content

v1.3.1 - 核心安全性更新與全面體驗優化 (Core Security Update & Comprehensive Experience Optimization)

Choose a tag to compare

@chinglin-k chinglin-k released this 09 Aug 13:37
· 37 commits to main since this release
1adba57

🚀 版本概覽 / Release Overview

本次更新(v1.3.1)針對系統進行了深度的安全性與穩定性修補,解決了包含驗證繞過、資訊洩漏及計數器濫用等多項潛在風險。同時,我們全面優化了多語系支援(i18n)機制,並將內部程式碼品質與專案文件進行了高度對齊,確保未來維護的可靠性。

This release (v1.3.1) introduces critical security and stability patches, resolving potential risks including validation bypass, information disclosure, and rate limit abuse. Furthermore, we have comprehensively optimized the multi-language (i18n) support and strictly aligned the codebase quality with project documentation for enhanced future maintainability.


🛡️ 安全性與隱私修復 / Security & Privacy Fixes

  • [BUG-01] 強化後端表單驗證:修補必填欄位可透過空字串繞過前端直接寫入的問題。
    Hardened backend form validation to prevent mandatory field bypass using empty strings.
  • [BUG-02] 清理 Git 歷史紀錄:徹底清除並覆寫歷史紀錄中不慎外流的 Google Spreadsheet ID,避免機敏資料外洩。
    Scrubbed Git history and force-pushed to permanently remove a leaked Google Spreadsheet ID.
  • [BUG-03] 防範資訊洩漏 (CWE-209):隱藏後端發生例外錯誤時回傳的原始細節,統一轉換為安全的 INTERNAL_ERROR。
    Prevented information disclosure by masking raw backend exceptions with a generic INTERNAL_ERROR.

⚙️ 核心邏輯與功能優化 / Core Logic & Functional Enhancements

  • [BUG-04] 錯誤訊息在地化遮蔽:優化前端顯示邏輯,自動攔截全大寫內部錯誤代碼,並轉換為友善的在地化提示。
    Optimized frontend error handling to intercept internal error codes and translate them into user-friendly localized messages.
  • [BUG-08] 升級流量限制防護:計數器(Counter)API 現已支援基於 clientId 的個別限流機制,並適度調升全域速率上限以容納新生入住等尖峰流量。
    Upgraded rate-limiting defenses for the Counter API by implementing clientId-based individual quotas and appropriately raising the global limit for peak traffic.
  • [BUG-06 & BUG-07] 多語系與平台相容性修復:修正韓語意圖判斷引擎的關鍵字亂碼,並調整 Teams 客服按鈕的深連結喚起方式,以繞過 iOS/Safari 的彈跳視窗阻擋機制。
    Fixed corrupted Korean keywords in the intent engine and modified the Teams contact button deep-linking strategy to bypass iOS/Safari pop-up blockers.

🎨 介面與文件對齊 / UI & Documentation Alignment

  • [BUG-05, BUG-09, BUG-10] 程式碼品質與無障礙設計:補齊前端遺漏的 .aria 多語系標籤、統一 CSS 註解格式,並全面導入 CSS 變數以取代硬編碼色碼。
    Improved code quality and accessibility by completing missing .aria i18n tags, standardizing CSS comments, and replacing hardcoded hex colors with CSS variables.
  • [DOC-01, DOC-02] 全面文件同步:更新並對齊了包含 CHANGELOG.md、AGENTS.md 及 doc/ 目錄下的所有架構與需求文件,確保與 v1.3.1 程式碼狀態完全一致。
    Synchronized all architectural and requirement documentation to ensure strict alignment with the v1.3.1 codebase.