From 37318ee543c53944f67046839e021fc65a2b28f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:17:04 +0000 Subject: [PATCH 1/2] docs: archive changelog for v0.8.6 --- CHANGELOG.md | 16 ++++++++++++++++ .../unreleased/account-modal-effect-deps.md | 7 ------- .../unreleased/kiro-prompt-cache-estimate.md | 7 ------- changelog/unreleased/sqlite-dsn-pragmas.md | 7 ------- changelog/unreleased/ui-security-headers.md | 7 ------- 5 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 changelog/unreleased/account-modal-effect-deps.md delete mode 100644 changelog/unreleased/kiro-prompt-cache-estimate.md delete mode 100644 changelog/unreleased/sqlite-dsn-pragmas.md delete mode 100644 changelog/unreleased/ui-security-headers.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 3476de222..512351d93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,22 @@ Published user-facing notes for GitHub Releases and the console update page. Write upcoming notes as bilingual files in `changelog/unreleased/`. +## 0.8.6 - 2026-12-04 + +### English + +- Account check-in records and models modals now declare their data-loader effect dependencies explicitly via `useCallback`, eliminating stale-closure risk when the loader later gains inputs. Pagination size stays stable across account switches, with no duplicate refetch on page-size change. +- Kiro usage again reports estimated prompt-cache reads and writes. Kiro still does not send cache figures, so the gateway tracks prompt prefixes per account for five minutes and reports the repeated part as a cache read. +- Move the SQLite `busy_timeout` setting into the connection DSN so it is applied on every connection opened after an idle recycle or connection-level error, instead of only on the first pooled connection. Lock contention now waits up to 5 seconds before returning `SQLITE_BUSY`, matching the existing `foreign_keys` DSN fix. +- Add browser hardening headers to the operator console and its static assets: `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`, and `Referrer-Policy: no-referrer`. The public OpenAI/Anthropic gateway endpoints keep their protocol-only response surface unchanged. + +### 中文 + +- 打卡记录与账号模型弹窗的数据加载 effect 现在通过 `useCallback` 显式声明依赖,避免加载函数后续新增入参时产生陈旧闭包;切换账号时分页尺寸保持稳定,调整分页尺寸时不会重复拉取。 +- Kiro 用量再次附带估算的提示缓存读写。Kiro 本身仍不返回缓存数字,网关按账号把 prompt 前缀记五分钟,把重复部分报成缓存读取。 +- 将 SQLite `busy_timeout` 设置下沉到连接 DSN,使其在空闲连接回收或连接级错误后新开的每一条连接上都生效,而不再只作用于首个池内连接。锁竞争时会先等待最多 5 秒再返回 `SQLITE_BUSY`,与既有的 `foreign_keys` DSN 修复保持一致。 +- 为运维控制台及其静态资源增加浏览器加固响应头:`X-Content-Type-Options: nosniff`、`X-Frame-Options: DENY`、`Referrer-Policy: no-referrer`。对外的 OpenAI / Anthropic 网关端点保持原有协议响应面不变。 + ## 0.8.5 - 2026-12-04 ### English diff --git a/changelog/unreleased/account-modal-effect-deps.md b/changelog/unreleased/account-modal-effect-deps.md deleted file mode 100644 index 4e5c4d2b6..000000000 --- a/changelog/unreleased/account-modal-effect-deps.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- Account check-in records and models modals now declare their data-loader effect dependencies explicitly via `useCallback`, eliminating stale-closure risk when the loader later gains inputs. Pagination size stays stable across account switches, with no duplicate refetch on page-size change. - -### 中文 - -- 打卡记录与账号模型弹窗的数据加载 effect 现在通过 `useCallback` 显式声明依赖,避免加载函数后续新增入参时产生陈旧闭包;切换账号时分页尺寸保持稳定,调整分页尺寸时不会重复拉取。 diff --git a/changelog/unreleased/kiro-prompt-cache-estimate.md b/changelog/unreleased/kiro-prompt-cache-estimate.md deleted file mode 100644 index eafe25b6a..000000000 --- a/changelog/unreleased/kiro-prompt-cache-estimate.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- Kiro usage again reports estimated prompt-cache reads and writes. Kiro still does not send cache figures, so the gateway tracks prompt prefixes per account for five minutes and reports the repeated part as a cache read. - -### 中文 - -- Kiro 用量再次附带估算的提示缓存读写。Kiro 本身仍不返回缓存数字,网关按账号把 prompt 前缀记五分钟,把重复部分报成缓存读取。 diff --git a/changelog/unreleased/sqlite-dsn-pragmas.md b/changelog/unreleased/sqlite-dsn-pragmas.md deleted file mode 100644 index 5ca46397e..000000000 --- a/changelog/unreleased/sqlite-dsn-pragmas.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- Move the SQLite `busy_timeout` setting into the connection DSN so it is applied on every connection opened after an idle recycle or connection-level error, instead of only on the first pooled connection. Lock contention now waits up to 5 seconds before returning `SQLITE_BUSY`, matching the existing `foreign_keys` DSN fix. - -### 中文 - -- 将 SQLite `busy_timeout` 设置下沉到连接 DSN,使其在空闲连接回收或连接级错误后新开的每一条连接上都生效,而不再只作用于首个池内连接。锁竞争时会先等待最多 5 秒再返回 `SQLITE_BUSY`,与既有的 `foreign_keys` DSN 修复保持一致。 diff --git a/changelog/unreleased/ui-security-headers.md b/changelog/unreleased/ui-security-headers.md deleted file mode 100644 index 5df154265..000000000 --- a/changelog/unreleased/ui-security-headers.md +++ /dev/null @@ -1,7 +0,0 @@ -### English - -- Add browser hardening headers to the operator console and its static assets: `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`, and `Referrer-Policy: no-referrer`. The public OpenAI/Anthropic gateway endpoints keep their protocol-only response surface unchanged. - -### 中文 - -- 为运维控制台及其静态资源增加浏览器加固响应头:`X-Content-Type-Options: nosniff`、`X-Frame-Options: DENY`、`Referrer-Policy: no-referrer`。对外的 OpenAI / Anthropic 网关端点保持原有协议响应面不变。 From 89027e5ed424cbeb53fc00b8f1fabb98dfb91666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8F=8A?= <522caiji@gmail.com> Date: Sat, 5 Dec 2026 01:18:06 +0800 Subject: [PATCH 2/2] ci: trigger required checks for the changelog archive