|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [0.3.0] - 2025-01-16 |
| 9 | + |
| 10 | +### Added |
| 11 | +- **Language support**: Java, C#, Ruby, Bash, C, and C++ parsing via tree-sitter |
| 12 | +- **CI improvements**: Rust caching, `cargo fmt --check`, `cargo clippy`, and `cargo test` in workflows |
| 13 | +- **/status command**: Check index health and provider info |
| 14 | +- **Batch operations**: High-performance bulk inserts for embeddings and chunks (~10-18x speedup) |
| 15 | +- **Auto garbage collection**: Configurable automatic cleanup of orphaned embeddings/chunks |
| 16 | +- **Documentation**: ARCHITECTURE.md, TROUBLESHOOTING.md, comprehensive AGENTS.md |
| 17 | + |
| 18 | +### Changed |
| 19 | +- Upgraded tree-sitter from 0.20 to 0.24 (new LANGUAGE constant API) |
| 20 | +- Optimized `embedBatch` for Google and Ollama providers with Promise.all |
| 21 | +- Enhanced skill documentation with filter examples |
| 22 | + |
| 23 | +### Fixed |
| 24 | +- Node version consistency in publish workflow (Node 24 → Node 22) |
| 25 | +- Clippy warnings in Rust code |
| 26 | + |
| 27 | +## [0.2.1] - 2025-01-10 |
| 28 | + |
| 29 | +### Fixed |
| 30 | +- Rate limit handling and error messages |
| 31 | +- TypeScript errors in delta.ts |
| 32 | + |
| 33 | +## [0.2.0] - 2025-01-09 |
| 34 | + |
| 35 | +### Added |
| 36 | +- **Branch-aware indexing**: Embeddings stored by content hash, branch catalog tracks membership |
| 37 | +- **SQLite storage**: Persistent storage for embeddings, chunks, and branch catalog |
| 38 | +- **Slash commands**: `/search`, `/find`, `/index`, `/status` registered via config hook |
| 39 | +- **Global config support**: `~/.config/opencode/codebase-index.json` |
| 40 | +- **Provider-specific rate limiting**: Ollama has no limits, GitHub Copilot has strict limits |
| 41 | + |
| 42 | +### Changed |
| 43 | +- Migrated from JSON file storage to SQLite database |
| 44 | +- Improved rate limit handling for GitHub Models API (15 req/min) |
| 45 | + |
| 46 | +## [0.1.11] - 2025-01-07 |
| 47 | + |
| 48 | +### Added |
| 49 | +- Community standards: LICENSE, Code of Conduct, Contributing guide, Security policy, Issue templates |
| 50 | + |
| 51 | +### Fixed |
| 52 | +- Clippy warnings and TypeScript type errors |
| 53 | + |
| 54 | +## [0.1.10] - 2025-01-06 |
| 55 | + |
| 56 | +### Added |
| 57 | +- **F16 quantization**: 50% memory reduction for vector storage |
| 58 | +- **Dead-letter queue**: Failed embedding batches are tracked for retry |
| 59 | +- **JSDoc/docstring extraction**: Comments included with semantic nodes |
| 60 | +- **Overlapping chunks**: Improved context continuity across chunk boundaries |
| 61 | +- **maxChunksPerFile config**: Control token costs for large files |
| 62 | +- **semanticOnly config**: Only index functions/classes, skip generic blocks |
| 63 | + |
| 64 | +### Changed |
| 65 | +- Moved inverted index from TypeScript to Rust native module (performance improvement) |
| 66 | + |
| 67 | +### Fixed |
| 68 | +- GitHub Models API for embeddings instead of Copilot API |
| 69 | + |
| 70 | +## [0.1.9] - 2025-01-05 |
| 71 | + |
| 72 | +### Fixed |
| 73 | +- Use GitHub Models API for embeddings instead of Copilot API |
| 74 | + |
| 75 | +## [0.1.8] - 2025-01-04 |
| 76 | + |
| 77 | +### Fixed |
| 78 | +- Only export default plugin to prevent OpenCode loader crash |
| 79 | +- Downgrade to zod v3 to match OpenCode SDK version |
| 80 | + |
| 81 | +## [0.1.3] - 2025-01-02 |
| 82 | + |
| 83 | +### Changed |
| 84 | +- Use Node.js 24 for npm 11+ trusted publishing support |
| 85 | +- Externalize @opencode-ai/plugin to prevent runtime conflicts |
| 86 | + |
| 87 | +### Fixed |
| 88 | +- ESM output as main entry for Bun/OpenCode compatibility |
| 89 | +- Native binding loading in CJS context |
| 90 | + |
| 91 | +## [0.1.1] - 2025-01-01 |
| 92 | + |
| 93 | +### Added |
| 94 | +- CI/CD workflows for testing and publishing |
| 95 | +- Comprehensive README with badges, diagrams, and examples |
| 96 | + |
| 97 | +### Fixed |
| 98 | +- NAPI configuration for OIDC trusted publishing |
| 99 | + |
| 100 | +## [0.1.0] - 2024-12-30 |
| 101 | + |
| 102 | +### Added |
| 103 | +- **Initial release** |
| 104 | +- Semantic codebase indexing with tree-sitter parsing |
| 105 | +- Vector similarity search with usearch (HNSW algorithm) |
| 106 | +- Hybrid search combining semantic + BM25 keyword matching |
| 107 | +- Support for TypeScript, JavaScript, Python, Rust, Go, JSON |
| 108 | +- Multiple embedding providers: GitHub Copilot, OpenAI, Google, Ollama |
| 109 | +- Incremental indexing with file hash caching |
| 110 | +- File watcher for automatic re-indexing |
| 111 | +- OpenCode tools: `codebase_search`, `index_codebase`, `index_status`, `index_health_check` |
| 112 | + |
| 113 | +[0.3.0]: https://github.com/Helweg/opencode-codebase-index/compare/v0.2.1...v0.3.0 |
| 114 | +[0.2.1]: https://github.com/Helweg/opencode-codebase-index/compare/v0.2.0...v0.2.1 |
| 115 | +[0.2.0]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.11...v0.2.0 |
| 116 | +[0.1.11]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.10...v0.1.11 |
| 117 | +[0.1.10]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.9...v0.1.10 |
| 118 | +[0.1.9]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.8...v0.1.9 |
| 119 | +[0.1.8]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.3...v0.1.8 |
| 120 | +[0.1.3]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.1...v0.1.3 |
| 121 | +[0.1.1]: https://github.com/Helweg/opencode-codebase-index/compare/v0.1.0...v0.1.1 |
| 122 | +[0.1.0]: https://github.com/Helweg/opencode-codebase-index/releases/tag/v0.1.0 |
0 commit comments