Now requires Python 3.10 or higher (dropped support for Python 3.8 and 3.9)
-
Fixed Windows CI failures by updating Python version requirements
-
All tests now pass on Windows, macOS, and Linux
-
Modernized type hints throughout the codebase
- Replaced
Optional[str]
withstr | None
- Replaced
Dict[str, Any]
withdict[str, Any]
- Replaced
List[Device]
withlist[Device]
- Replaced
-
Removed legacy typing imports for cleaner code
-
Updated GitHub Actions to test Python 3.10, 3.11, 3.12, and 3.13
-
Updated all documentation to reflect Python 3.10+ requirement
-
Updated badges in README to show Python 3.10+
This release modernizes the codebase to use Python 3.10+ features, ensuring better maintainability and positioning the project for the future. The modern union syntax (str | None
) is cleaner and more readable than the old Optional
syntax.
pip install simple-lan-scanner[cli]==1.0.1
Note: Ensure you have Python 3.10 or higher installed before upgrading.