Release Notes: v0.3.1
This release focuses on improving the robustness and consistency of file pattern handling across various search strategies, as well as enhancing the internal file indexing structure for better stability.
Key Changes
Improved File Pattern Handling (Fixes #10)
- Addressed inconsistencies in how
file_pattern
parameters are handled across different search strategies (ugrep
,ripgrep
,ag
,grep
,basic
). - Ensures that file patterns like
"src/*.py"
work consistently, providing more reliable search results. - Enhanced
search_code_advanced
tool docstring with detailed documentation on how each search tool handles file patterns and fuzzy matching.
Refactored File Index Structure
- Improved the internal
file_index
data structure to preventKeyError
crashes in thefind_files
tool. - Ensures consistent representation of file and directory entries, making the indexing logic more maintainable.
Documentation Updates
- Refined
README.md
files (English and Chinese) for clarity and accuracy. - Clarified tooling, improved setup instructions, and restructured usage examples for a better user experience.
Full Changelog: v0.3.0...v0.3.1