Usort

Latest version: v1.0.8.post1

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.0.4

Bugfix release

* Make sure indentation is tracked (188)

shell-session
$ git shortlog -sn v1.0.3...
1 Amethyst Reese

1.0.3

Bugfix release

* Skip visiting CST nodes that cannot have import statements (187)
* Skip deep copying CST after parsing (167)
* Optimize passing multiple paths to usort CLI (161)
* Don't use trailrunner to format exactly one file (160)

shell-session
$ git shortlog -sn v1.0.2...
2 Amethyst Reese
2 Zsolt Dollenstein
1 Arseny Boykov

1.0.2

Bugfix release

* Fix unstable sorting from basic imports with mixed categories (145, 146)
* Fix documentation examples (142)
* Updated stdlibs for Python 3.10 (138)

shell-session
$ git shortlog -sn v1.0.1...
7 dependabot[bot]
5 Amethyst Reese
2 Tim Hatch

1.0.1

Bugfix release

* Handle single line from-imports with parens (128)
* Significant speedup when sorting files that don't produce warnings (126)
* Documentation for the "Why µsort" topic (130)
* Updated copyright, attribution, and logos to Meta Platforms, Inc (131)
* Dependency updates

shell-session
$ git shortlog -sn v1.0.0...
14 Amethyst Reese
12 dependabot[bot]
3 Zsolt Dollenstein

1.0.0

Feature release

* New feature: sorting items in a single import statement (81)
* New feature: merging imports from the same module (81)
* Supports usort:skip directives on first and last line of multi-line imports (108)
* Supports usort:skip directives that aren't the first comment directive on a line (108)
* Deprecation: `usort_bytes()` and `usort_string()` replaced by `usort()` (88)
* Fix reading the configured black line length from pyproject.toml (110)
* Improved performance by sorting multiple files in parallel (70)
* Officially support Python 3.10 (74)
* Documentation improvements (91, 108, 109)

shell-session
$ git shortlog -sn v0.6.4...
104 Amethyst Reese
18 dependabot[bot]
7 Tim Hatch
3 Jason Fried

1.0.0rc1

Release Candidate:

* Supports usort:skip directives on first and last line of multi-line imports (108)
* Supports usort:skip directives that aren't the first comment directive on a line (108)
* Fix reading the configured black line length from pyproject.toml (110)
* Documentation improvements (108, 109)

shell-session
git shortlog -sn v1.0.0b1...
10 Amethyst Reese

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.