Releases: nrempel/hostie
Releases · nrempel/hostie
v0.2.0
[0.2.0] - 2024-01-XX
Fixed
- BREAKING: Fixed hostname collision detection bug that caused false positives
- Previously adding
host
would fail iflocalhost
existed - Now only exact hostname matches prevent additions
- Previously adding
- BREAKING: Fixed remove function being too aggressive
- Previously removing
host
would also removelocalhost
andmyhost
- Now only exact IP+hostname combinations are removed
- Previously removing
- Fixed file formatting issues that could create double newlines
- Fixed inconsistent async usage throughout codebase
Changed
- Renamed project from
locdev
tohostie
- Updated to Rust edition 2024
- Removed unnecessary tokio dependency (now fully synchronous)
- Improved code quality with clippy fixes
- Modernized GitHub Actions workflows
- Added comprehensive integration tests (24 total tests)
- Improved cross-platform support (Windows hosts file path)
- Enhanced clap CLI configuration following modern best practices
Added
- Cross-platform hosts file path detection (Windows/Unix)
- Environment variable support for testing (
HOSTIE_HOSTS_FILE
) - Comprehensive test suite covering all edge cases and bug scenarios
- Better error handling and user feedback
- Whitespace handling for various hosts file formats