Changelog¶
v2.9.1¶
Maintenance release
Fix ruff-api target version handling (#292)
Upgrade minimum ruff-api to 0.2.0 and support Python 3.14 (#291)
$ git shortlog -s v2.9.0...v2.9.1
2 Amethyst Reese
2 Itamar Oren
9 dependabot[bot]
v2.9.0¶
Maintenance release
Upgrade LSP to pygls 2.0 (#272, #275, #262)
Upgrade CLI to support click 8.2 or newer (#269, #259)
Drop support for Python 3.8, 3.9 (#270)
$ git shortlog -s v2.8.0...v2.9.0
6 Amethyst Reese
11 dependabot[bot]
v2.8.0¶
Feature release
New: passes more sorting options to ruff-api to replicate usort options (#247)
Deps: ruff support depends on
ruff-api >= 0.1.0(#247)Docs: Spelling fixes (#245)
$ git shortlog -s v2.7.3...v2.8.0
2 Amethyst Reese
1 Mads Hougesen
1 dependabot[bot]
v2.7.3¶
Bugfix release
Fix error when using alternate import sorters with black (#241)
$ git shortlog -s v2.7.2...v2.7.3
4 Amethyst Reese
v2.7.2¶
Bugfix release
Fix: newline handling and normalization in LSP (#234)
Dev: add support for using uv if available (#236)
$ git shortlog -s v2.7.1...v2.7.2
3 Amethyst Reese
1 dependabot[bot]
v2.7.1¶
Bugfix release
Fix: pass project root directory to ruff-api when sorting imports (#232)
Tested on Python 3.13 rc1
$ git shortlog -s v2.7.0...v2.7.1
4 Amethyst Reese
8 dependabot[bot]
v2.7.0¶
Feature release
Experimental support for running a generic LSP (#217)
$ git shortlog -s v2.6.0...v2.7.0
2 Amethyst Reese
5 dependabot[bot]
v2.6.0¶
Feature release
Experimental support for using ruff’s import sorter (#213)
$ git shortlog -s v2.5.1...v2.6.0
2 Amethyst Reese
7 dependabot[bot]
v2.5.1¶
Bugfix release
Fix: pass target file path to ufmt config factory (#196, #197)
Types: enforce mypy strict mode (#200)
$ git shortlog -s v2.5.0...v2.5.1
4 Amethyst Reese
v2.5.0¶
Feature release
Experimental support for alternate sorters, or skipping sorting (#192)
Replaced experimental
formatterparameter toufmt_byteswithufmt_config(#192)New optional
ufmt_config_factoryparameters toufmt_pathsandufmt_fileFixed some readme links and formatting (#191)
$ git shortlog -s v2.4.0...v2.5.0
6 Amethyst Reese
v2.4.0¶
Feature release
Experimental support for using ruff instead of black (#190)
Correctly output “errors” when more than one error is reported (#187)
$ git shortlog -s v2.3.0...v2.4.0
4 Amethyst Reese
1 Tim Hatch
11 dependabot[bot]
v2.3.0¶
Feature release
New: added
--rootoption to override project root discovery (#160)Performance: µfmt will start formatting files in parallel while still walking paths (#172)
$ git shortlog -s v2.2.0...v2.3.0
3 Amethyst Reese
1 Sergey Goder
5 dependabot[bot]
v2.2.0¶
Feature release
New: added
--concurrencyoption to control number of parallel jobs (#149)New:
ufmt_pathsacceptsconcurrencyoption (#149)New: added contributor guide (#159)
Fix: return exit code 0 when no files were formatted (#151)
Python: dropped support for Python 3.7 (#158)
$ git shortlog -s v2.1.0...v2.2.0
3 Amethyst Reese
2 Sergey Goder
7 dependabot[bot]
v2.1.0¶
Feature release
Better support for 3.10+ syntax, enable LibCST native parser by default (#127)
Stronger validation of ufmt config in pyproject.toml (#137)
$ git shortlog -s v2.0.1...v2.1.0
1 Aarni Koskela
9 Amethyst Reese
5 dependabot[bot]
v2.0.1¶
Bugfix release
Fix index error when formatting files that trigger assertion errors in usort/black (#115)
$ git shortlog -s v2.0.0...v2.0.1
5 Amethyst Reese
3 dependabot[bot]
v2.0.0¶
Feature release
New: Support for formatting content via stdin (#71)
New: Final report printed after formatting files (#101)
New: Added
--quietflag for suppressing reports and non-error messages (#101)New: Support for running µfmt via GitHub Actions (#107)
New: Official Visual Studio Code extension for µfmt
New: Refactored core API for public usage (#66)
New: Support for passing black/µsort config factories (#66)
New: Support for passing pre/post-processor functions (#66, #72)
New:
ufmt_pathsnow returns a generator yielding results as they complete (#76)New: Added
return_contentflag to API to save before/after bytes on results (#75)New: Allow raising
SkipFormattingfrom pre/post-processors to skip file (#79)Fix: Better error handling when formatting files (#68)
Fix: Handle CRLF newlines correctly in diff output and results (#85)
Fix: Added click and libcst to deps list (#90)
Docs: New API reference covering high- and low-level API
Deprecated:
ufmt_stringwill be removed in v3.0, useufmt_bytesBreaking change: Dropped support for Python 3.6
Breaking change: Requires µsort >= 1.0
Breaking change:
ufmt_fileandufmt_pathsrequire keyword arguments
$ git shortlog -s action-v1...v2.0.0
4 Amethyst Reese
2 dependabot[bot]
v2.0.0rc1¶
Release candidate:
Fix: fake stdin path now resolvable on Windows (#100)
Fix: skipped file message sent to stderr (#101)
New: final report after formatting files (#101)
New:
--quietflag for suppressing reports and non-error messages (#101)
$ git shortlog -s v2.0.0b2...v2.0.0rc1
10 Amethyst Reese
1 dependabot[bot]
v2.0.0b2¶
Beta release
Fix: sorting empty files is now handled correctly (#93)
Added click and libcst to deps list (#90)
$ git shortlog -s v2.0.0b1...v2.0.0b2
5 Amethyst Reese
v2.0.0b1¶
Beta release
Fix: Handle CRLF newlines correctly in diff output and results (#85)
Fix: preserve given path when formatting stdin (#77)
$ git shortlog -s v2.0.0a4...v2.0.0b1
6 Amethyst Reese
2 dependabot[bot]
v2.0.0a4¶
Alpha release
New: allow raising
SkipFormattingfrom pre/post processors to skip file (#79)
$ git shortlog -s v2.0.0a3...v2.0.0a4
4 Amethyst Reese
v2.0.0a3¶
Alpha release
New: ufmt_paths now returns a generator yielding results as they complete (#76)
New: Add return_content flag to API to save before/after bytes on results (#75)
Fix: export ufmt_stdin and add to API docs
Fix: correctly pass pre_processor through ufmt_file
$ git shortlog -s v2.0.0a2...v2.0.0a3
10 Amethyst Reese
v2.0.0a2¶
Alpha release
Feature: added pre-processors to match post-processors (#72)
Feature: support for formatting via stdin (#71)
Fix: better error handling when formatting files (#68)
$ git shortlog -s v2.0.0a1...v2.0.0a2
15 Amethyst Reese
v2.0.0a1¶
Alpha release
Feature: Refactor of core API for public usage (#66)
Feature: Support for passing black/usort config factories (#66)
Feature: Support for passing post-processor functions (#66)
Docs: New API reference added, covering high- and low-level API
Deprecated:
ufmt_stringwill be removed in v3.0, useufmt_bytesBreaking change:
ufmt_fileandufmt_pathsrequire keyword argumentsBreaking change: Requires µsort >= 1.0
$ git shortlog -s v1.3.3...v2.0.0a1
14 Amethyst Reese
v1.3.3¶
Maintenance release
Adds PEP 561 py.typed marker to package
Exports core API in
__all__for type checkingUpdated example version pinnings in readme
$ git shortlog -s v1.3.2...v1.3.3
22 Amethyst Reese
6 dependabot[bot]
v1.3.2¶
Maintenance release
Disallow flit-core==3.7.0 in PEP 518 build (#56, pypa/flit#530)
$ git shortlog -s v1.3.1...v1.3.2
4 Amethyst Reese
7 dependabot[bot]
v1.3.1¶
Bugfix release
Fixed formatting for type stubs (#41, #42)
Fixed pre-commit hook example in readme (#40)
Updated dependencies
$ git shortlog -s v1.3.0...v1.3.1
11 Amethyst Reese
1 Mathieu Kniewallner
19 dependabot[bot]
v1.3.0¶
Feature release
Added support for configurable list of excludes to supplement gitignore (#14)
Added ufmt project-level configuration support in pyproject.toml (#14)
Read and pass black’s config when formatting sources (#11)
Added pre-commit hook definition for other projects to use (#15)
Added basic user guide to documentation
Upgrade to trailrunner 1.1.0
$ git shortlog -s v1.2.1...v1.3.0
14 Amethyst Reese
14 Philip Meier
v1.2.1¶
Maintenance release
Add support for reading and obeying .gitignore in project root (#10)
Improve performance on large repositories using trailrunner (#10)
$ git shortlog -s v1.2...v1.2.1
4 Amethyst Reese
v1.2¶
Feature release
Major performance improvement via multiprocessing (#4, #5)
Documented suggested method for pinning black/usort (#8)
Officially mark µfmt as “stable” (#7)
$ git shortlog -s v1.1...v1.2
7 Amethyst Reese
1 Tim Hatch
v1.1¶
Feature release
Added
diffcommand to validate and also output unified diff (#2, #3)Fixed shortlog for v1.0 in changelog
$ git shortlog -s v1.0...v1.1
3 Amethyst Reese
v1.0¶
Initial release
formatcommand formats files in placecheckcommand validates existing formattingBasic readme and sphinx docs
$ git shortlog -s v1.0
17 Amethyst Reese
1 Tim Hatch