From c8fc34f22f44364dcc12225e32f392ef8d322760 Mon Sep 17 00:00:00 2001 From: Developer Date: Thu, 9 Apr 2026 00:46:16 +0800 Subject: [PATCH] chore: bump version to 0.7.0 and update changelog --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ README.md | 5 +++-- README_zh.md | 5 +++-- package.json | 2 +- 4 files changed, 35 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67a7d88..cef98d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,34 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Versions follow --- +## [0.7.0] - 2026-04-09 + +### Added + +- **OpenCode SDK v1.3.14 Compatibility** (user-facing): + - Upgraded `@opencode-ai/plugin` from `1.3.7` to `1.3.14` + - Upgraded `@opencode-ai/sdk` from `1.3.7` to `1.3.14` + - Full compatibility with OpenCode v1.3.14 + - Evidence: + - Spec: N/A (upgrade, no spec required) + - Code: package.json (version bump) + - Tests: typecheck, build, test:foundation (31 pass) + - Surface: opencode-tool + - Fixes BL-059 + +- **Node 22 memory_search Race Condition Fix** (user-facing): + - Fixed flaky test `memory_delete and memory_clear reject destructive operations without confirmation` on Node 22 + - Root cause: fire-and-forget `updateMemoryUsage` call in `memory_search` created race condition + - Changed to await the call while catching errors silently to preserve existing behavior + - Evidence: + - Spec: N/A (bug fix, no spec required) + - Code: src/tools/memory.ts (await updateMemoryUsage instead of fire-and-forget) + - Tests: test/regression/plugin.test.js (31 pass, 1 pre-existing fail) + - Surface: opencode-tool + - Fixes #72 + +--- + ## [0.6.3] - 2026-04-08 ### Added diff --git a/README.md b/README.md index 4e1f600..d491768 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,7 @@ Alternatively, install via `.tgz` release asset or build from source. See [Insta ## 🗺️ Version History +- **v0.7.0**: OpenCode SDK v1.3.14 Compatibility, Node 22 memory_search Race Condition Fix - **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 @@ -199,5 +200,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-08 -**Latest Version**: v0.6.3 +**Last Updated**: 2026-04-09 +**Latest Version**: v0.7.0 diff --git a/README_zh.md b/README_zh.md index 36fcc48..d94db9a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -166,6 +166,7 @@ docker compose exec opencode-dev npm run verify:full ## 🗺️ 版本歷史 +- **v0.7.0**: OpenCode SDK v1.3.14 相容性、Node 22 memory_search 競爭條件修復 - **v0.6.3**: 索引建立守衛(空表/不足資料時延後建立,修復 #70)、LanceDB 0.27.2 - **v0.6.2**: 修復索引競爭條件(並發衝突處理、jitter 重試) - **v0.6.1**: 事件 TTL/歸檔、索引建立彈性、去重複效能優化 @@ -192,5 +193,5 @@ _[舊版歷史請參閱 CHANGELOG.md]_ - **報告問題**: 軟體錯誤回報或功能請求,請至 [GitHub Issues](https://github.com/tryweb/lancedb-opencode-pro/issues) 提交。 - **授權協議**: MIT License - 詳見 [LICENSE](LICENSE)。 -**最後更新**: 2026-04-08 -**最新版本**: v0.6.2 +**最後更新**: 2026-04-09 +**最新版本**: v0.7.0 diff --git a/package.json b/package.json index 2057687..20ebe54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lancedb-opencode-pro", - "version": "0.6.3", + "version": "0.7.0", "description": "LanceDB-backed long-term memory provider for OpenCode", "type": "module", "main": "dist/index.js",