Skip to content

v0.4.1 — Stabilization & Performance Improvements

Choose a tag to compare

@chelslava chelslava released this 31 Aug 23:14
· 4 commits to main since this release

Release v0.4.1 — Stabilization & Performance Improvements

This release brings major performance optimizations and reliability fixes across hybrid search, AST call site detection, gitignore handling, definition lookups, and filesystem watcher concurrency:

⚡ Performance & Scalability

  • Single-Pass Call-Graph Ranking (Issue #21): Replaced redundant $O(C \times N)$ sequential file scans and tree-sitter parses in hybrid search with a single $O(N)$ batch pass (batch_count_ast_usages), dramatically reducing search latency on larger repositories.
  • Instant $O(1)$ Definition Resolution (Issue #24): Accelerated go_to_definition by querying ChromaDB metadata index directly (where={"name": ...}), delivering sub-millisecond lookup latency with transparent fallback to live AST extraction for unindexed workspaces.

🐛 Bug Fixes & Reliability

  • Pointer Dereferences & Constructor Instantiations (Issue #22): Added -> member normalization and support for new_expression (TypeScript/JavaScript/C++) and object_creation_expression (Java/C#) in find_ast_usages.
  • .gitignore Rule Ordering & Negations (Issue #23): Fixed premature return in _is_gitignored. Pattern evaluation is now sequential so trailing override and negation rules (!pattern) properly restore files.
  • Watcher Mutex & Gitignore Filtering (Issue #25): Prevented spurious re-indexing on gitignored file modifications and added optional asyncio.Lock synchronization for race-free background watcher operation.

🧪 Test Suite & Quality

  • Test suite expanded to 69 tests (100% pass across Ubuntu, Windows, and macOS on Python 3.12 and 3.13).
  • Full compliance with ruff strict linter and formatter.