Repository navigation
🎉 Version 0.10.0 - Major Refactoring & Modernization
This release brings a complete overhaul of the DNSDumpster API wrapper with modern Python best practices, comprehensive testing, and improved maintainability.
✨ New Features
- Enhanced HTML Parsing: Updated to parse the latest DNSDumpster.com HTML response format
- Type Hints: Full type annotations throughout the codebase for better IDE support and type safety
- Custom Exceptions: New exception hierarchy (
DNSDumpsterAPIError,DNSDumpsterRequestError,DNSDumpsterParseError) for better error handling - Network Map & Excel Export: Now captures both base64 data AND direct URLs for images and Excel files
🔧 Improvements
- Code Refactoring: Extracted helper methods for cleaner, more maintainable code:
_extract_ip_address(),_extract_reverse_dns(),_extract_asn()_extract_subnet(),_extract_country(),_extract_asn_name()
- Better Logging: Improved verbose mode with structured logging
- Table Discovery: Smart table finding by heading text instead of hardcoded indices
- Backward Compatibility: All old API keys (
domain,as,provider) maintained alongside new keys
🧪 Testing
- 38 comprehensive tests covering all functionality
- 81% code coverage for main API module
- Unit tests for all parsing methods
- Integration tests with mocked HTTP responses
- Edge case testing for error handling and malformed data
📚 Documentation
- Enhanced README with prominent UNOFFICIAL disclaimer
- Usage examples for common scenarios
- API response structure documentation
- Contributing guidelines and development setup instructions
- Testing instructions for contributors
🔄 CI/CD
- GitHub Actions workflows for automated testing and publishing
- Multi-platform testing (Ubuntu, Windows, macOS)
- Python 3.8-3.12 support verified
- Automatic PyPI publishing on release tags
📦 Dependencies
- Updated to modern package management with pyproject.toml
- Comprehensive dev dependencies including pytest, black, flake8, mypy, isort
- Full test coverage tools and documentation generators
🐛 Bug Fixes
- Fixed parsing errors with new DNSDumpster HTML structure
- Improved error handling for missing or malformed data
- Better handling of empty tables and edge cases
⚠️ Breaking Changes
None! Full backward compatibility is maintained with previous versions.
📝 Migration Guide
No migration needed. Existing code will continue to work as before. New features and improvements are available through the same API interface.
🙏 Acknowledgments
Thanks to all contributors and users who provided feedback. This release ensures the wrapper stays up-to-date with DNSDumpster.com's latest changes while maintaining the simplicity and reliability you expect.