black v21.5.b2 Release Notes

  • Black

    • ๐Ÿ“„ A space is no longer inserted into empty docstrings (#2249)
    • ๐Ÿ›  Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
    • Respect .gitignore files in all levels, not only root/.gitignore file (apply .gitignore rules like git does) (#2225)
    • โช Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
    • โž• Add extra uvloop install + import support if in python env (#2258)
    • ๐Ÿ›  Fix --experimental-string-processing crash when matching parens are not found (#2283)
    • ๐Ÿ‘‰ Make sure to split lines that start with a string operator (#2286)
    • ๐Ÿ›  Fix regular expression that black uses to identify f-expressions (#2287)

    Blackd

    • โž• Add a lower bound for the aiohttp-cors dependency. Only 0.4.0 or higher is supported. (#2231)

    Integrations

    • ๐Ÿ‘ The official Black action now supports choosing what version to use, and supports the major 3 OSes. (#1940)

    Packaging

    • ๐Ÿš€ Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline (#2198)
    • ๐Ÿ— Always build binaries with the latest available Python (#2260)

    ๐Ÿ“š Documentation

    • โž• Add discussion of magic comments to FAQ page (#2272)
    • 0๏ธโƒฃ --experimental-string-processing will be enabled by default in the future (#2273)
    • ๐Ÿ›  Fix typos discovered by codespell (#2228)
    • ๐Ÿ›  Fix Vim plugin installation instructions. (#2235)
    • โž• Add new Frequently Asked Questions page (#2247)
    • ๐Ÿ›  Fix encoding + symlink issues preventing proper build on Windows (#2262)