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]
Bugfix release
- Fix error when using alternate import sorters with black (#241)
$ git shortlog -s v2.7.2...v2.7.3
4 Amethyst Reese
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]
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]
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]
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]
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
Feature release
- Experimental support for alternate sorters, or skipping sorting (#192)
- Replaced experimental
formatter
parameter toufmt_bytes
withufmt_config
(#192) - New optional
ufmt_config_factory
parameters toufmt_paths
andufmt_file
- Fixed some readme links and formatting (#191)
$ git shortlog -s v2.4.0...v2.5.0
6 Amethyst Reese
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]
Feature release
- New: added
--root
option 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]
Feature release
- New: added
--concurrency
option to control number of parallel jobs (#149) - New:
ufmt_paths
acceptsconcurrency
option (#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]
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]
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]
Feature release
- New: Support for formatting content via stdin (#71)
- New: Final report printed after formatting files (#101)
- New: Added
--quiet
flag 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_paths
now returns a generator yielding results as they complete (#76) - New: Added
return_content
flag to API to save before/after bytes on results (#75) - New: Allow raising
SkipFormatting
from 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_string
will be removed in v3.0, useufmt_bytes
- Breaking change: Dropped support for Python 3.6
- Breaking change: Requires µsort >= 1.0
- Breaking change:
ufmt_file
andufmt_paths
require keyword arguments
$ git shortlog -s action-v1...v2.0.0
4 Amethyst Reese
2 dependabot[bot]
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:
--quiet
flag for suppressing reports and non-error messages (#101)
$ git shortlog -s v2.0.0b2...v2.0.0rc1
10 Amethyst Reese
1 dependabot[bot]
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
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]
Alpha release
- New: allow raising
SkipFormatting
from pre/post processors to skip file (#79)
$ git shortlog -s v2.0.0a3...v2.0.0a4
4 Amethyst Reese
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
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
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_string
will be removed in v3.0, useufmt_bytes
- Breaking change:
ufmt_file
andufmt_paths
require keyword arguments - Breaking change: Requires µsort >= 1.0
$ git shortlog -s v1.3.3...v2.0.0a1
14 Amethyst Reese
Maintenance release
- Adds PEP 561 py.typed marker to package
- Exports core API in
__all__
for type checking - Updated example version pinnings in readme
$ git shortlog -s v1.3.2...v1.3.3
22 Amethyst Reese
6 dependabot[bot]
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]
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]
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
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
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
Feature release
- Added
diff
command 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
Initial release
format
command formats files in placecheck
command validates existing formatting- Basic readme and sphinx docs
$ git shortlog -s v1.0
17 Amethyst Reese
1 Tim Hatch