Skip to content

Releases: hakancelikdev/unimport

1.3.0

18 Sep 05:13

Choose a tag to compare

[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

19 Sep 04:34

Choose a tag to compare

Added

  • Python 3.12 support added

1.2.0

22 Dec 16:31

Choose a tag to compare

[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

17 Nov 20:59

Choose a tag to compare

[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

17 Nov 18:54

Choose a tag to compare

[1.0.1] - 2023-11-17

Changed

  • Implement strtobool function (and remove distutils dependency)
    #297

Finally, version 1.0.0 is ready

07 Jul 11:07

Choose a tag to compare

[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.
    #256

    If 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

Fix: ignore-init setting is not working from the command line call

06 Jul 05:42

Choose a tag to compare

[0.16.1] - 2023-07-05

Fixed

  • Fix: ignore-init setting is not working from the command line call
    #263

Support like CLI in configuration files & Human-readable exceptions

03 Apr 22:44

Choose a tag to compare

[0.16.0] - 2023-04-04

Added

  • Add support like command line commands in configuration files. #287

Changed

  • Raise more human-readable exceptions when the key is mistyped in the configuration. #286

Fix: attribute as import refactor issue

31 Mar 00:00

Choose a tag to compare

[0.15.0] - 2023-03-31

Fixed

  • Fix: attribute as import refactor #284

0.14.1 - Fix: running without options or a config file

04 Feb 07:24

Choose a tag to compare

[0.14.1] - 2023-02-04

Fixed

  • Running without options or a config file #281.