v0.5.2 - Type Safety Improvements
🔧 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
Optionalreturn types forget_agent()andget_command() - Fixed
Dicttype annotations to useType[Any]for values
- Added proper
-
Python 3.8-3.12 Compatibility: Improved
importlib.metadatahandling- 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
- Python 3.10+: Uses
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.2Full Changelog: v0.5.1...v0.5.2