Repository navigation
v0.6.0-codere
·
49 commits
to main
since this release
Codanna v0.6.0-codere Release
๐ Release Highlights
This release builds on v0.6.0 with critical C# improvements, Windows compatibility fixes, and new benchmark support.
๐ง Critical Fixes
C# Import Extraction Fixed
- Major improvement: C# parser now correctly extracts imports (0 โ 932 imports on test project)
- Resolution rate improved from 5.8% to 50% (8.6x improvement)
- Enables proper cross-file symbol resolution and extension method tracking
- Extension methods like
HttpClient.GetFromJsonAsync()now tracked correctly
Windows Platform Compatibility
- Fixed path separator issues in tests
- Cross-platform file:// URL handling
- All tests now pass on Windows
Enhanced Static Method Resolution
- Added fallback resolution for static methods
- Significantly improves call graph accuracy
- +80 additional relationships tracked (13% improvement)
โจ New Features
C# Benchmark Support
# Benchmark with generated code
codanna benchmark csharp
# Benchmark your own file
codanna benchmark csharp --file path/to/file.csPerformance: 41,910 symbols/second (4.2x faster than target)
Improved C# Parser
- Generic type parameter stripping for better method resolution
- Await expression support
- Constructor call tracking
- Module path preservation
๐ Real-World Impact
Tested on large C# codebase (8,197 symbols, 303 files):
| Metric | Before | After | Improvement |
|---|---|---|---|
| Imports extracted | 0 | 932 | โ |
| Resolution rate | 5.8% | 50% | 8.6x |
| Relationships tracked | 478 | 632 | +32% |
| Windows tests | โ Failing | โ Passing | Fixed |
๐ Installation
Windows (x64)
# Download the binary from releases
# Add to PATH or use directly
codanna.exe --versionLinux/macOS
# Build from source
cargo build --release
# Or download pre-built binary from releases
chmod +x codanna
./codanna --version๐ Usage Examples
C# Benchmark
# Generate and benchmark test code
codanna benchmark csharp
# Output:
# Symbols parsed: 1927
# Average time: 45.98ms
# Rate: 41,910 symbols/second
# Performance: โ 4.2x faster than targetIndex C# Project
cd /path/to/csharp/project
codanna index .Search and Track Calls
# Find extension method
codanna mcp search_symbols query:"GetFromJsonAsync" limit:5
# Find all callers (now works with extension methods!)
codanna mcp find_callers "GetFromJsonAsync"๐ What's Changed
Core Improvements
- Fixed C# import extraction with tree-sitter fallback
- Added static method resolution fallback
- Improved generic type handling
- Enhanced await expression support
- Module path preservation for namespaces
Platform Support
- Windows path handling fixed
- Cross-platform file:// URL support
- Platform-agnostic test assertions
Testing
- โ 465+ tests passing
- โ Windows compatibility verified
- โ Real-world C# codebase validation
๐ฆ What's Included
- Windows x64 binary (codanna.exe)
- Full source code
- C# example files with comprehensive language coverage
- Documentation and audit reports
๐ Links
- Full Changelog: Compare changes
- Pull Request: View PR (update with PR number)
- Main Repository: bartolli/codanna
- This Fork: sergitorres-codere/codanna
๐ Acknowledgments
Built on top of the excellent work by @bartolli and the codanna project.
Special thanks to:
- The tree-sitter-c-sharp maintainers
- The Rust and tree-sitter communities
๐ Documentation
For full documentation, visit the main repository.
Quick Start
# Index your project
codanna index /path/to/project
# Search symbols
codanna mcp search_symbols query:"MyClass"
# Benchmark C# performance
codanna benchmark csharpC# Specific Features
- โ Import extraction and namespace resolution
- โ Extension method tracking
- โ Generic type support
- โ Async/await pattern support
- โ Static method resolution
- โ Property and field tracking
- โ Interface implementation detection
๐ Known Issues
None specific to this release. See the main repository issues for general project issues.
๐ฎ Future Plans
This fork focuses on C# improvements. Future enhancements may include:
- Additional C# language features
- Performance optimizations
- Enhanced MCP tools
For upstream features, see the main repository roadmap.
Version: v0.6.0-codere
Base Version: v0.6.0
Release Date: 2025-10-19
License: Same as upstream (check main repository)
๐ค Generated with Claude Code