Skip to content

v0.5.2 - Type Safety Improvements

Choose a tag to compare

@sydney-nebulock sydney-nebulock released this 25 Jan 05:10
· 79 commits to main since this release

🔧 Type Safety Improvements

This patch release resolves mypy type checking errors in the plugin system.

Fixed

  • Type Annotations: Fixed 8 mypy errors in plugin_system.py

    • Added proper Optional return types for get_agent() and get_command()
    • Fixed Dict type annotations to use Type[Any] for values
  • Python 3.8-3.12 Compatibility: Improved importlib.metadata handling

    • Python 3.10+: Uses entry_points(group=...) parameter
    • Python 3.8-3.9: Uses dict-like entry_points().get(...) access
    • Maintains backward compatibility across all supported versions

Technical Details

All changes maintain backward and forward compatibility:

  • No breaking changes to public API
  • Supports Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
  • All 70 tests passing

Installation

pip install --upgrade agentic-threat-hunting-framework>=0.5.2

Full Changelog: v0.5.1...v0.5.2