Changelog
Added
- Comprehensive test suite with pytest
- Unit tests for ErrorSchema and FastAPIErrorSchema
- Unit tests for error group functionality
- Unit tests for exception mappingr examples and usage
- Added detailed installation guide
- Added contribution guidelines (CONTRIBUTING.md)
- Added issue and PR templates
Enhanced
- Improved error handling in location detection
- Better handling of file paths that don't start with entrypoint
- Smarter relative path resolution using common parent directories
- Added fallback mechanisms for edge cases
- Type safety improvements
- Added explicit type definitions
- Enhanced type hints throughout the codebase
- Code organization
- Better module structure
- Clearer separation of concerns
- Improved code documentation and docstrings
Fixed
- Location detection in test environments
- Edge cases in path handling for error locations
- Documentation typos and unclear sections