Releases: hakancelikdev/unimport
Releases · hakancelikdev/unimport
1.3.0
[1.3.0] - 2025-08-01
Added
- Python 3.13 support added
Changed
- Python 3.8 support dropped
- Updated minimum Python version requirement from 3.8+ to 3.9+
- Removed Python 3.8 from CI/CD pipeline and testing environments
- Updated all configuration files to reflect Python 3.9+ support
- Upgraded all package versions in use
Fixed
- Replace deprecated lib2to3 imports with ast module in test cases
- Fixed deprecation warning in Python 3.10+ compatibility
- Updated test cases to use modern ast module instead of deprecated lib2to3 package
- All tests now pass without deprecation warnings
1.2.1
1.2.0
[1.2.0] - 2023-12-22
Changed
- Python 3.6 support dropped
- Python 3.7 support dropped
Fixed
-
Improved Type Comment Analysis
To ensure accurate type comment analysis, a crucial fix was implemented in the code.
The update involves refining the process by adding a check within ast.AnnAssign and
ast.arg types. Specifically, the code now includes a verification that
visit_Constant occurs under an annotation, addressing unnecessary name discovery
issues for better accuracy in type_comment assessment.import sys from typing import ( List, ) test_list: List[str] = ["spam", "eggs"] # it thought spam and eggs were a ast.Name object.
1.1.0
[1.1.0] - 2023-11-17
Added
- Support for Python version 3.11.
- It is suitable for the versions we officially support, Unimport cannot be used with Python version 3.12.
1.0.1
Finally, version 1.0.0 is ready
[1.0.0] - 2023-07-07
Added
-
Automatically pick up config options from setup.cfg if it is present in the project
root else check and if it exists use pyproject.toml.
#256If you want you can disable this feature by passing
--disable-auto-discovery-config -
Add github-action #229
-
Add support like command line commands in configuration files. #287
Fixed
- ignore-init setting is not working from command line call
#263 - Running without options or a config file
#281 - Attribute as import refactor #284
Changed
- Raise more human-readable exceptions when the key is mistyped in the configuration
#286