# v0.6.0 Release Notes

> v0.5.2 -> v0.6.0

## Summary

Introduces a local daemon access layer and redesigns durable storage around snapshots with incremental logs.

<details>
<summary>翻譯</summary>

新增本機 daemon 存取層，並以快照與增量日誌重新設計耐久儲存。

</details>

## ⚠️ Breaking Changes

### AOF persistence layout changed

The legacy single `record.aof` file is no longer loaded. AOF remains the incremental write log: persisted data now uses numbered snapshots alongside rotated AOF log files in the database directory.

**Migration:**

1. Open the database with `v0.5.2` and export its records through the existing application or store API.
2. Upgrade to `v0.6.0`.
3. Import the exported records into a new database directory.
4. Retain the old `record.aof` until the imported data is verified.

<details>
<summary>翻譯</summary>

不再讀取舊版單一 `record.aof` 檔案。AOF 仍保留作為增量寫入日誌；資料庫目錄現在使用編號快照搭配輪替的 AOF 日誌檔。

**遷移方式：**

1. 使用 `v0.5.2` 透過既有應用程式或 Store API 匯出資料。
2. 升級至 `v0.6.0`。
3. 將匯出資料匯入新的資料庫目錄。
4. 驗證匯入資料前，保留舊的 `record.aof`。

</details>

## Changes

### FEAT

- Add a Unix-socket daemon API with client reuse, request framing, lifecycle control, and store operations (@pardnchiu) [3b24d2d]

<details>
<summary>翻譯</summary>

- 新增 Unix socket daemon API，提供用戶端重用、請求框架、生命週期控制與 Store 操作

</details>

### REFACTOR

- Redesign AOF persistence as durable snapshots plus rotated incremental logs, including recovery and obsolete-file cleanup  (@pardnchiu) [387d9af, 3b24d2d]

<details>
<summary>翻譯</summary>

- 將 AOF 持久化重構為耐久快照搭配輪替的增量日誌，並加入復原與舊檔清理

</details>

### PERF

- Build embedding cache hash input without an intermediate formatted string allocation (@pardnchiu) [3b24d2d]

<details>
<summary>翻譯</summary>

- 建立 embedding 快取雜湊輸入時，移除中間格式化字串配置

</details>

## Scope

- `core/daemon/` — FEAT
- `core/store/` — REFACTOR, PERF

---

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
