Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions changelog/unreleased/account-modal-effect-deps.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/unreleased/kiro-prompt-cache-estimate.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/unreleased/sqlite-dsn-pragmas.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/unreleased/ui-security-headers.md

This file was deleted.

Loading