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
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,39 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Versions follow

---

## [0.6.3] - 2026-04-08

### Added

- **Index Creation Guard for Empty Tables** (user-facing):
- Added row count check before attempting vector/FTS index creation to prevent noisy error messages
- LanceDB IVF/PQ indices require ≥256 rows for training data
- Silently defers index creation with info-level log instead of 3 retry error messages
- Evidence:
- Spec: N/A (bug fix, no spec required)
- Code: src/store.ts (MIN_ROWS_FOR_INDEX constant, countRows guard in createVectorIndexWithRetry/createFtsIndexWithRetry)
- Tests: test/unit/index-race-condition.test.ts (6 new test cases)
- Surface: internal-api
- Fixes #70

### Changed

- **LanceDB Version Bump** (internal-only):
- Upgraded `@lancedb/lancedb` from `0.27.1` to `0.27.2`
- Evidence:
- Code: package.json, package-lock.json
- Tests: typecheck, build, test:foundation (31 pass), test:retrieval (2 pass)
- Related: #69

### Documentation

- **Test Database Directories** (internal-only):
- Added test database directories to .gitignore
- Evidence:
- Code: .gitignore

---

## [0.6.2] - 2026-04-05

### Added
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Alternatively, install via `.tgz` release asset or build from source. See [Insta

## 🗺️ Version History

- **v0.6.3**: Index Creation Guard (defer on empty/insufficient tables, fix #70), LanceDB 0.27.2
- **v0.6.2**: Index Race Condition Fix (concurrent-process conflict handling, jitter backoff)
- **v0.6.1**: Event TTL/Archival, Index Creation Resilience, Duplicate Consolidation Performance
- **v0.6.0**: Learning Dashboard, KPI Pipeline, Feedback-Driven Ranking, Task-Type Aware Injection
Expand All @@ -198,5 +199,5 @@ See [CHANGELOG.md](CHANGELOG.md) for all changes.
- **Issues**: Submit errors or requests on [GitHub Issues](https://github.com/tryweb/lancedb-opencode-pro/issues).
- **License**: MIT License - see [LICENSE](LICENSE).

**Last Updated**: 2026-04-05
**Latest Version**: v0.6.2
**Last Updated**: 2026-04-08
**Latest Version**: v0.6.3
3 changes: 2 additions & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ docker compose exec opencode-dev npm run verify:full

## 🗺️ 版本歷史

- **v0.6.3**: 索引建立守衛(空表/不足資料時延後建立,修復 #70)、LanceDB 0.27.2
- **v0.6.2**: 修復索引競爭條件(並發衝突處理、jitter 重試)
- **v0.6.1**: 事件 TTL/歸檔、索引建立彈性、去重複效能優化
- **v0.6.0**: 新增學習儀表板、KPI 管線、反饋驅動排序、任務類型感知注入
Expand All @@ -191,5 +192,5 @@ _[舊版歷史請參閱 CHANGELOG.md]_
- **報告問題**: 軟體錯誤回報或功能請求,請至 [GitHub Issues](https://github.com/tryweb/lancedb-opencode-pro/issues) 提交。
- **授權協議**: MIT License - 詳見 [LICENSE](LICENSE)。

**最後更新**: 2026-04-05
**最後更新**: 2026-04-08
**最新版本**: v0.6.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lancedb-opencode-pro",
"version": "0.6.2",
"version": "0.6.3",
"description": "LanceDB-backed long-term memory provider for OpenCode",
"type": "module",
"main": "dist/index.js",
Expand Down