black v21.7.b0 Release Notes

  • Black

    • ๐Ÿ”ง Configuration files using TOML features higher than spec v0.5.0 are now supported (#2301)
    • โž• Add primer support and test for code piped into black via STDIN (#2315)
    • Fix internal error when FORCE_OPTIONAL_PARENTHESES feature is enabled (#2332)
    • Accept empty stdin (#2346)
    • ๐Ÿ“œ Provide a more useful error when parsing fails during AST safety checks (#2304)

    ๐Ÿณ Docker

    • โž• Add new latest_release tag automation to follow latest black release on docker images (#2374)

    Integrations

    • ๐Ÿ”Œ The vim plugin now searches upwards from the directory containing the current buffer instead of the current working directory for pyproject.toml. (#1871)
    • ๐Ÿ”Œ The vim plugin now reads the correct string normalization option in pyproject.toml (#1869)
    • ๐Ÿ”Œ The vim plugin no longer crashes Black when there's boolean values in pyproject.toml (#1869)