All Versions
82
Latest Version
Avg Release Cycle
20 days
Latest Release
575 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v5.0.2 Changes
July 04, 2020- Ensured black profile was complete, adding missing line_length definition.
-
v5.0.1 Changes
July 04, 2020- Fixed a runtime error in a vendored dependency (toml).
-
v5.0.0 Changes
July 04, 2020๐ฅ Breaking changes:
- isort now requires Python 3.6+ to run but continues to support formatting on ALL versions of python including Python 2 code.
- isort deprecates official support for Python 3.4, removing modules only in this release from known_standard_library:
- user
- Config files are no longer composed on-top of each-other. Instead the first config file found is used.
- Since there is no longer composition negative form settings (such as --dont-skip or it's config file variant
not_skip
) are no longer required and have been removed.
- Since there is no longer composition negative form settings (such as --dont-skip or it's config file variant
- Two-letter shortened setting names (like
ac
foratomic
) now require two dashes to avoid ambiguity:--ac
. - For consistency with other tools
-v
now is shorthand for verbose and-V
is shorthand for version. See Issue: #1067. length_sort_{section_name}
config usage has been deprecated. Insteadlength_sort_sections
list can be used to specify a list of sections that need to be length sorted.safety_excludes
andunsafe
have been deprecated- Config now includes as default full set of safety directories defined by safety excludes.
--recursive
option has been removed. Directories passed in are now automatically sorted recursive.--apply
option has been removed as it is the default behaviour.- isort now does nothing, beyond giving instructions and exiting status code 0, when ran with no arguments.
- a new
--interactive
flag has been added to enable the old style behaviour.
- a new
- isort now works on contiguous sections of imports, instead of one whole file at a time.
isort now formats all nested "as" imports in the "from" form.NOTE: This was undone in version 5.1.0 due to feedback it caused issues with some project conventions.import x.y as a
becomesfrom x import y as a
.keep_direct_and_as_imports
option now defaults toTrue
.appdirs
is no longer supported. Unless manually specified, config should be project config only.toml
is now installed as a vendorized module, meaning pyproject.toml based config is always supported.- Completely new Python API, old version is removed and no longer accessible.
- New module placement logic and module fully replaces old finders. Old approach is still available via
--old-finders
.
Internal:
- isort now utilizes mypy and typing to filter out typing related issues before deployment.
isort now utilizes black internally to ensure more consistent formatting.
- ๐ profile support for common project types (black, django, google, etc)
- ๐ Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: Github Issues for more.
-
v4.3.21 Changes
June 25, 2019- ๐ Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax
-
v4.3.20 Changes
May 14, 2019- ๐ Fixed issue #948 - Pipe redirection broken on Python2.7
-
v4.3.19 Changes
May 12, 2019- ๐ Fixed issue #942 - correctly handle pyi (Python Template Files) to match
black
output
- ๐ Fixed issue #942 - correctly handle pyi (Python Template Files) to match
-
v4.3.18 Changes
May 01, 2019- ๐ Fixed an issue with parsing files that contain unicode characters in Python 2
- ๐ Fixed issue #924 - Pulling in pip internals causes depreciation warning
- ๐ Fixed issue #938 - Providing a way to filter explicitly passed in files via configuration settings (
--filter-files
) - ๐ Improved interoperability with toml configuration files
-
v4.3.17 Changes
April 07, 2019- ๐ Fixed issue #905 & #919: Import section headers behaving strangely
-
v4.3.16 Changes
March 23, 2019- ๐ Fixed issue #909 - skip and skip-glob are not enforced when using settings-path.
- ๐ Fixed issue #907 - appdirs optional requirement does not correctly specify version
- ๐ Fixed issue #902 - Too broad warning about missing toml package
- ๐ Fixed issue #778 - remove
user
from known standard library as it's no longer in any supported Python version.
-
v4.3.15 Changes
March 10, 2019- ๐ Fixed a regression with handling streaming input from pipes (Issue #895)
- ๐ Fixed handling of \x0c whitespace character (Issue #811)
- ๐ Improved CLI documentation