diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c526b5..6d338e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,28 @@ Remindly 的重要變更會記錄在這裡。 ## Unreleased -- 群組共用 AI:管理員開放綁定、群組按鈕進私聊選既有 Key 授權、管理員確認啟用;僅引用指定 Key,支援撤銷、刪 Key 失效及群組內建解析降級(schema v10)。 +## v0.6.0 - 2026-11-06 + +### Added + +- **群組共用 AI**:管理員開放綁定,Key 持有人從群組按鈕進 Bot 私聊選擇既有 Key,最後由管理員同意啟用;不需手填群組 ID 或 Key ID。 +- **雙方同意與權限查核**:私聊選取綁定持有人,授權時重查群組成員及 Key 所有權;管理操作僅限群組管理員,查詢失敗不變更設定。選取前明示訊息傳送範圍與持有人費用歸屬。 +- **授權管理**:持有人可撤銷,管理員可關閉或解除綁定,刪除個人 Key 立即清除所有群組引用;換綁後須重新取得管理員同意。 + +### Changed + +- 群組觸發提醒只使用群組授權的單組 Key,與個人 AI 開關隔離,不改用發訊者、管理員或持有人的其他備援 Key;維持既有群組觸發與追問範圍。 +- 群組 AI 不可用時使用內建解析,呼叫失敗會提示降級;私聊維持原有失敗處理。仍由發起者確認建立,確認卡依草稿顯示實際解析來源。 + +### Fixed + +- 群組明確發起新提醒卻遇到 AI 失敗時,降級解析隔離舊草稿,避免沿用上一筆事項與時間。 + +### Upgrade notes + +- 啟動時自動由 schema v9 升至 v10,新增群組 Key 引用與授權狀態;既有提醒與加密 Key 保留。升級前備份 SQLite,並保留原本的 `AI_ENCRYPTION_KEY`。 +- 群組 AI 預設關閉,升級不會自動共用任何個人 Key。既有個人 Key 不需重新新增。 +- 自動測試使用模擬 Telegram/供應商回應;尚未完成真實 Telegram 按鈕與供應商 Key 的端到端驗收。 ## v0.5.0 - 2026-11-05 diff --git a/pyproject.toml b/pyproject.toml index 425278a..5b1a571 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "remindly" -version = "0.5.0" +version = "0.6.0" description = "Remindly" readme = "README.md" requires-python = ">=3.12" diff --git a/src/remindly/__init__.py b/src/remindly/__init__.py index 336dfbe..44bc140 100644 --- a/src/remindly/__init__.py +++ b/src/remindly/__init__.py @@ -1,3 +1,3 @@ """Remindly.""" -__version__ = "0.5.0" +__version__ = "0.6.0" diff --git a/uv.lock b/uv.lock index 0be3f50..152e512 100644 --- a/uv.lock +++ b/uv.lock @@ -151,7 +151,7 @@ wheels = [ [[package]] name = "remindly" -version = "0.5.0" +version = "0.6.0" source = { editable = "." } dependencies = [ { name = "cryptography" },