Skip to content

v2.2.0 - Return to Simplicity

Compare
Choose a tag to compare
@johnhuang316 johnhuang316 released this 25 Aug 06:09
· 28 commits to master since this release

What's New

Architectural Refinement: Back to Custom Indexing

  • Direct tree-sitter imports: Eliminated fallback mechanisms for cleaner, more predictable parsing
  • Simplified architecture: Moved away from complex SCIP protocol back to efficient custom JSON indexing
  • Fail-fast approach: Clear error messages when dependencies are missing, no silent degradation
  • Enhanced performance: Streamlined indexing process with reduced overhead and faster access

Improved Language Strategy Implementation

  • 7 Specialized Languages: Python, JavaScript, TypeScript, Java, Go, Objective-C, Zig now use direct tree-sitter AST parsing
  • 50+ Fallback Languages: All other file types continue to use reliable fallback indexing
  • No Regex Fallbacks: Specialized strategies use pure AST parsing for maximum accuracy
  • Cleaner Error Handling: Dependencies issues surface immediately with actionable error messages

Enhanced Parsing Accuracy

  • Better Symbol Extraction: Improved class, method, and function detection across all supported languages
  • Accurate Call Relationships: Enhanced tracking of function calls and dependencies
  • Robust Import Analysis: Better detection of module imports and exports
  • Comprehensive Testing: Validated parsing accuracy across 67 sample files in multiple languages

Technical Improvements

Dual-Strategy Architecture

  • Specialized Parsing: Tree-sitter AST analysis for core languages with full symbol extraction
  • Universal Coverage: Fallback strategy ensures all file types are indexed with basic metadata
  • Clean Separation: Clear distinction between specialized and fallback parsing approaches

Development Experience

  • Clearer Documentation: Updated all README files to accurately reflect the dual-strategy approach
  • Better Testing: Comprehensive validation across multiple programming languages
  • Simplified Maintenance: Reduced complexity makes the codebase easier to understand and extend

Migration Notes

This release represents a return to the custom indexing approach that prioritizes:

  • Efficiency over protocol compliance
  • Simplicity over complex standards
  • Performance over theoretical extensibility
  • Clarity over abstraction

The previous SCIP-based approach (v2.0.x - v2.1.x) encountered efficiency issues and limited ecosystem support. This release refocuses on the project's core mission: providing fast, accurate code indexing for LLM applications.

Breaking Changes

None - fully backward compatible with existing MCP integrations


Full Changelog: v2.1.2...v2.2.0