Releases: pappasam/toml-sort
Releases · pappasam/toml-sort
Version 0.24.2
Version 0.24.1
Fixed
- Re-add .pre-commit-hooks. Resolves #75
Version 0.24.0
Fixed
- Only write to disk if file contents changed
Removed
- Dropped support for Python 3.7 and 3.8.
- Dropped support for tomlkit < 0.13.2
- Removed sphinx documentation.
Version 0.23.1
Fixed
- Error where the
first
override introduced tomlkit wrappers into the configuration and caused serialization problems for the dataclass: #58
Version 0.23.0
Version 0.22.4
Fixed
- Trailing whitespace is no longer added to blank comments
- An issue where dotted keys raised a
TypeError
Version 0.22.3
Fixed
- Turns out that, at this time,
toml-sort
is only compatible withtomlkit
0.11.2
+. We now make this clear in our dependencies. See: #41 and python-poetry/tomlkit@0.11.1...0.11.2.
Version 0.22.2
Added
- New pre-commit hook (
toml-sort-fix
) that enables users to change, instead of check, their toml files.
Version 0.22.1
Fixed
- Issue where an IndexError exception was raised on an empty array. See: #36
Version 0.22.0
Release entirely related to this PR: #33
Added
- Optionally add the ability to sort inline tables and arrays. New switches added for this functionality:
--sort-inline-tables
and--sort-inline-arrays
, which are implied by the existing--all
option - New options groups to the CLI, to group the related formatting, comment, and sorting arguments
- Switch to add trailing comma to multi-line inline arrays
--trailing-comma-inline-array
- Some additional formatting checks
Changed
- Make sure inline arrays and tables are consistently formatted
- Normalize the formatting for
key = value
pairs, always one space on either side of equals sign