Skip to content

Releases: PyCQA/isort

4.3.5 - NOTE: Last Python2 Release

25 Feb 04:03
Compare
Choose a tag to compare

This is the final Python 2.x release of isort, and includes the following major changes:

Potentially Interface Breaking:

  • The -r option for removing imports has been renamed -rm to avoid accidental deletions and confusion with the -rc recursive option.
  • __init__.py has been removed from the default ignore list. The default ignore list is now empty - with all items needing to be explicitly ignored.
  • Isort will now by default ignore .tox / venv folders in an effort to be "safe". You can disable this behaviour by setting the "--unsafe" flag, this is separate from any skip or not skip rules you may have in place.
  • Isort now allows for files missing closing newlines in whitespace check
  • distutils support has been removed to simplify setup.py

New:

  • Official Python 3.7 Compatibility.
  • Support for using requirements files to auto determine third-paty section if pipreqs & requirementslib are installed.
  • Added support for using pyproject.toml if toml is installed.
  • Added support for XDG_HOME if appdirs is installed.
  • An option has been added to enable ignoring trailing comments ('ignore_comments') defaulting to False.
  • Added support to enable line length sorting for only specific sections
  • Added a correctly_sorted property on the SortsImport to enable more intuitive programmatic checking.

Fixes:

  • Improved black compatibility.
  • Isort will no detect files in the CWD as first-party.
  • Fixed several cases where '-ns' or 'not_skip' was being incorrectly ignored.
  • Fixed sorting of relative path imports ('.', '..', '...', etc).
  • Fixed bugs caused by a failure to maintain order when loading iterables from config files.
  • Correctly handle CPython compiled imports and others that need EXT_SUFFIX to correctly identify.
  • Fixed handling of Symbolic Links to follow them when walking the path.
  • Fixed handling of relative known_paths.
  • Fixed lack of access to all wrap modes from the CLI.
  • Fixed handling of FIFO files.
  • Fixed a bug that could result in multiple imports being inserted on the same line.

4.3.4

12 Feb 19:15
Compare
Choose a tag to compare

+### 4.3.4 - Feburary 12, 2018 - hotfix release

  • Fixed issue #671: isort is corrupting CRLF files

4.3.3

08 Feb 06:03
Compare
Choose a tag to compare

4.3.3 - Feburary 5, 2018 - hotfix release

  • Fixed issue #665: Tabs turned into single spaces

4.3.2

08 Feb 06:00
Compare
Choose a tag to compare

16a3dfb8d9b0a9a697c788072c795f258317ed9e

4.3.1

02 Feb 19:43
Compare
Choose a tag to compare
  • Fixed setup.py errors
  • Fixed issue #654: Trailing comma count error
  • Fixed issue #651: Add imports option is broken
  • Fixed issue #650: Wrong error message displayed

4.3.0

02 Feb 06:40
556e40a
Compare
Choose a tag to compare
  • Fixed #557: force_alphabetical_sort and force_sort_within_sections can now be utilized together without extra new lines
  • Fix case-sensitive path existence check in Mac OS X
  • Added --no-lines-before for more granular control over section output
  • Fixed #493: Unwanted conversion to Windows line endings
  • Implemented --version-number to retrieve just the version number without the isort logo
  • Breaking changes
    • Python 2.7+ only (dropped 2.6) allowing various code simplifications and improvements.

4.2.15 Hotfix

09 Jun 16:29
Compare
Choose a tag to compare

IMPORTANT NOTE: This will be the last release with Python 2.6 support, subsequent releases will be 2.7+ only

  • Fixed certain one line imports not being successfully wrapped

4.2.14

06 Jun 06:20
Compare
Choose a tag to compare

IMPORTANT NOTE: This will be the last release with Python 2.6 support, subsequent releases will be 2.7+ only

  • Fixed #559 & #565: Added missing standard library imports

4.2.13 hotfix

02 Jun 15:45
Compare
Choose a tag to compare

4.2.13 - June 2, 2017 - hotfix release

IMPORTANT NOTE: This will be the last release with Python 2.6 support, subsequent releases will be 2.7+ only

  • Fixed #553: Check only and --diff now work together again

4.2.12 hotfix

02 Jun 15:45
Compare
Choose a tag to compare

Fixed a problem with the wheel distribution