Skip to content

v0.3.2

Choose a tag to compare

@talkasab talkasab released this 20 Aug 18:57
· 236 commits to main since this release

[v0.3.2] - 2025-08-20

Added

  • Added comprehensive test coverage for previously untested functionality:
    • 11 tests for Index.search() functionality including limit, case sensitivity, and multiple terms
    • 7 integration tests for AI tools with @pytest.mark.callout decorator
    • 3 tests for find_similar_models() function including edge cases
    • 15 error handling tests for network failures, MongoDB issues, and invalid data
  • Updated test documentation to reflect actual MongoDB implementation of Index
  • Fixed all linting issues for clean CI/CD pipeline
  • Performance Optimization: Optimized similar_finding_models tool for significantly faster execution:
    • Reduced runtime from 15-20 seconds to 4-9 seconds (up to 75% improvement)
    • Added smart model selection with fallback mechanisms
    • Implemented batch MongoDB queries to reduce round trips
    • Added lightweight term generation with intelligent fallback to full models
  • Release Automation: Created comprehensive release automation system:
    • Added scripts/release.py with full release pipeline automation
    • Integrated loguru logging with version-specific log files
    • Added Taskfile commands: task release, task release:check, task release:dry
    • Supports dry-run mode, pre-flight checks, and automatic PyPI publishing

Changed

  • Corrected Index documentation in README.md and CLAUDE.md from JSONL to MongoDB implementation
  • Fixed find_similar_models() documentation to accurately describe its purpose and signature
  • Updated type annotations in test functions to satisfy ruff linting requirements
  • Replaced generic Exception catches with specific exception types (JSONDecodeError, ValidationError)

Fixed

  • Fixed test validation errors by using proper 3-character source codes (TST, TES, TEX)
  • Added missing pytest import in test_tools.py
  • Corrected find_similar_models test signature to match actual implementation