@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.3.1] - 2025-01-18
9+
10+ ### Added
11+ - ** Query embedding cache** : LRU cache (100 entries, 5min TTL) avoids redundant API calls for repeated searches
12+ - ** Query similarity matching** : Reuses cached embeddings for similar queries (Jaccard similarity ≥0.85)
13+ - ** Batch metadata lookup** : ` VectorStore.getMetadata() ` and ` getMetadataBatch() ` for efficient chunk retrieval
14+ - ** Parse timing metrics** : Tracks ` parseMs ` for tree-sitter parsing duration
15+ - ** Query cache stats** : Separate tracking for exact hits, similar hits, and misses
16+
17+ ### Changed
18+ - BM25 keyword search now uses ` getMetadataBatch() ` - O(n) instead of O(total) for result metadata lookup
19+
20+ ### Fixed
21+ - Remove console output from Logger (was leaking to stdout)
22+ - Record embedding API metrics for search queries (previously only tracked during indexing)
23+ - Record embedding API metrics during batch retries
24+
825## [ 0.3.0] - 2025-01-16
926
1027### Added
@@ -110,6 +127,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110127- File watcher for automatic re-indexing
111128- OpenCode tools: ` codebase_search ` , ` index_codebase ` , ` index_status ` , ` index_health_check `
112129
130+ [ 0.3.1 ] : https://github.com/Helweg/opencode-codebase-index/compare/v0.3.0...v0.3.1
113131[ 0.3.0 ] : https://github.com/Helweg/opencode-codebase-index/compare/v0.2.1...v0.3.0
114132[ 0.2.1 ] : https://github.com/Helweg/opencode-codebase-index/compare/v0.2.0...v0.2.1
115133[ 0.2.0 ] : https://github.com/Helweg/opencode-codebase-index/compare/v0.1.11...v0.2.0
0 commit comments