Added
- Enhanced error handling with new exception hierarchy
- Added `ParameterNotSupportedError` for more precise error reporting
- Added `ConstraintNotFoundError` for missing constraint references
- Added `ConfigResult` class for standardized configuration loading results
- Added comprehensive exception documentation in advanced usage guide
- Added type annotations to improve type safety and mypy compatibility
- Added explicit error handling for network operations and configuration loading
Changed
- Streamlined logging API by removing individual logging functions from the public interface
- Simplified logging documentation in advanced usage guide to focus on essential information
- Improved type safety throughout the codebase with proper annotations
- Enhanced configuration loading with better error reporting and handling
- Refactored model version validation to use specific exception types
- Updated documentation to include detailed exception handling examples
- Improved error messages with more context and troubleshooting information
Fixed
- Fixed type annotations in logging module to properly support Optional parameters
- Fixed tests to handle structured logging data correctly
- Removed legacy `_log` function and updated all code to use direct logging functions
- Fixed mypy errors related to logging implementation
- Fixed mypy type errors in registry and configuration handling
- Fixed handling of configuration results in version comparison logic
- Fixed documentation build configuration for mkdocstrings 0.29.0
- Fixed potential issues with None values in configuration data
- Fixed thread safety issue in registry cleanup method
- Fixed resource leak in network requests by properly closing response objects
- Fixed thread safety issue in cleanup method to prevent race conditions
- Fixed race condition in configuration refresh by adding proper locking around version check
- Fixed duplicate alias detection to prevent multiple models using the same alias