Skip to content

Releases: python-lsp/python-lsp-black

Python LSP Black v2.0.0

19 Dec 02:00
Compare
Choose a tag to compare

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 from pylsp.pylsp_black to pylsp.black.
  • Drop support for Python 3.7.

See CHANGELOG for full details.

New Contributors

Python LSP Black v1.3.0

20 May 12:50
5b369d4
Compare
Choose a tag to compare

Main changes in this release:

  • Support for black's preview and skip-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

12 Apr 12:19
v1.2.1
5002b3e
Compare
Choose a tag to compare

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

28 Mar 18:38
dacfb8a
Compare
Choose a tag to compare

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

30 Jan 23:27
4c3b385
Compare
Choose a tag to compare

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

  • @jdost made their first contribution in #19

Python LSP Black v1.0.1

01 Dec 15:37
de83bce
Compare
Choose a tag to compare

Backwards-compatible release with mostly technical cleanups. See CHANGELOG for details.

Python LSP Black v1.0.0

18 May 18:05
Compare
Choose a tag to compare

First release version that uses the community based Python-LSP-server. Thanks to @s7726 for his help with the plugin migration.