Skip to content

v1.4.0 - Code Refactoring and Export Tool Improvements

Choose a tag to compare

@davo20019 davo20019 released this 26 Oct 05:14
· 53 commits to main since this release

Version 1.4.0 - Code Refactoring and Export Tool Improvements

Changed

  • Refactored export tools for better maintainability
    • Split large exports.py (1,952 lines) into 4 focused modules:
      • exports_common.py - Shared utilities (path validation, config loading)
      • exports_taxonomy.py - Taxonomy term CSV export (~550 lines)
      • exports_nodes.py - Node/content CSV export (~600 lines)
      • exports_users.py - User account CSV export (~500 lines)
    • Each module now has single responsibility and clear purpose
    • Improved code organization and navigation
    • No breaking changes - pure refactoring

Fixed

  • Added missing limit parameter to export_taxonomy_usage_to_csv for API consistency
  • Fixed "unexpected keyword argument 'limit'" error in taxonomy export tool

Technical Details

  • All 31 tests passing
  • Ruff and black formatting verified
  • Modular architecture improves maintainability
  • Consistent API across all export tools

Installation

pip install drupal-scout-mcp==1.4.0

Or install from source:

git clone https://github.com/davo20019/drupal-scout-mcp.git
cd drupal-scout-mcp
git checkout v1.4.0
pip install -e .