From 8ad5832a1de9c97d419830aae55d890a7e8b09ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=BB=8D=E5=BA=B7?= <3052147989@qq.com> Date: Sat, 7 Mar 2026 18:49:10 +0800 Subject: [PATCH] =?UTF-8?q?release:=20v1.5.1=20=E2=80=94=20Microsoft=20Ref?= =?UTF-8?q?resh=20Token=20=E6=BB=9A=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/DEVLOG.md | 15 +++++++++++++++ outlook_web/__init__.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/DEVLOG.md b/docs/DEVLOG.md index e42f530..62ce6bc 100644 --- a/docs/DEVLOG.md +++ b/docs/DEVLOG.md @@ -1,5 +1,20 @@ # DEVLOG(发布记录) +## v1.5.1(2026-03-07) + +### 新增功能 +- **Microsoft Refresh Token 滚动更新**:在刷新成功时自动保存服务端返回的新 refresh_token(加密存储),覆盖单账号刷新/批量刷新/定时任务/失败重试,提升长期稳定性 + +### 修复 +- **刷新失败信息更清晰**:refresh token 测试接口解析响应更稳健(JSON 解析失败时回退到响应详情),避免错误信息丢失 + +### 重要变更 +- **刷新接口签名扩展**:新增 `test_refresh_token_with_rotation()` 返回新的 refresh_token;调度器与刷新服务的回调签名更新为 `(success, error_msg, new_refresh_token)` + +### 测试/验证 +- 单元测试:`python -m unittest discover -s tests -v`(229 tests,全部通过) +- 回归关注:Outlook OAuth 单账号刷新、批量刷新、定时刷新任务与失败重试场景下 refresh_token 自动更新 + ## v1.5.0(2026-03-06) ### 新增功能 diff --git a/outlook_web/__init__.py b/outlook_web/__init__.py index 43ee81c..b153f8d 100644 --- a/outlook_web/__init__.py +++ b/outlook_web/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.5.0" +__version__ = "1.5.1" from outlook_web.app import create_app