Releases: python-lsp/python-lsp-black
Python LSP Black v2.0.0
Main changes in this release:
- Add support to format indented selections of code. This requires Black 23.11.0+
- Change entrypoint name to be
black
. This changes the options namespace for this plugin frompylsp.pylsp_black
topylsp.black
. - Drop support for Python 3.7.
See CHANGELOG for full details.
New Contributors
Python LSP Black v1.3.0
Main changes in this release:
- Support for black's
preview
andskip-magic-trailing-comma
config options. - Better TOML support.
See CHANGELOG for full details.
Thank you to @JesusTorrado, @wstevick and @mgorny for their contributions!
Python LSP Black v1.2.1
This release disables autopep8 and yapf plugins to avoid conflicts with black.
black minimum version has been increased to 22.3.0 because of an incompatibility with new versions of click.
See CHANGELOG for details.
What's Changed
- Disable Autopep8 and Yapf if this plugin is installed, by @bageljrkhanofemus (PR 34).
Python LSP Black v1.2.0
This release fixes formatting of Python files with non-UNIX line endings, adds plugin configuration support and black configuration caching to improve performance.
See CHANGELOG for details.
What's Changed
- Official support for Python 3.10 by @wlcx (PR 31).
- Correctly format files and ranges with line endings other than LF by @ccordoba12 (PR 28).
- Plugin configuration support and black configuration caching by @ccordoba12 and @haplo (PR 26).
- Fixed PyPI badge in Readme (PR 32).
- Updated pre-commit hooks' versions (PR 33).
Python LSP Black v1.1.0
Backwards-compatible release that adds compatibility with Black 22.1.0, which introduced a breaking change in its internal API.
Also included in this release is global configuration file support for Black.
See CHANGELOG for details.
What's Changed
- Support global config as a fallback by @jdost in #19
- Fix TypeError when formatting with black 22.1.0+ by @wlcx in #30
New Contributors
Python LSP Black v1.0.1
Backwards-compatible release with mostly technical cleanups. See CHANGELOG for details.
Python LSP Black v1.0.0
First release version that uses the community based Python-LSP-server. Thanks to @s7726 for his help with the plugin migration.