Sourced from black's releases.
\n\n\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n- \n
\nAdded parsing support for unparenthesized tuples and yield expressions in annotated\nassignments (#1835)
\n- \n
\nuse lowercase hex strings (#1692)
\n- \n
\nadded
\n--extend-exclude
argument (PR #2005)- \n
\nspeed up caching by avoiding pathlib (#1950)
\n- \n
\n\n
--diff
correctly indicates when a file doesn't end in a newline (#1662)- \n
\nAdded
\n--stdin-filename
argument to allow stdin to respect--force-exclude
rules\n(#1780)- \n
\nLines ending with
\nfmt: skip
will now be not formatted (#1800)- \n
\nPR #2053: Black no longer relies on typed-ast for Python 3.8 and higher
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n- \n
\nAdded parsing support for unparenthesized tuples and yield expressions in annotated\nassignments (#1835)
\n- \n
\nadded
\n--extend-exclude
argument (PR #2005)- \n
\nspeed up caching by avoiding pathlib (#1950)
\n- \n
\n\n
--diff
correctly indicates when a file doesn't end in a newline (#1662)- \n
\nAdded
\n--stdin-filename
argument to allow stdin to respect--force-exclude
rules\n(#1780)- \n
\nLines ending with
\nfmt: skip
will now be not formatted (#1800)- \n
\nPR #2053: Black no longer relies on typed-ast for Python 3.8 and higher
\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.4b2
\nBlack
\n\n
\n- \n
\nFix crash if the user configuration directory is inaccessible. (#2158)
\n- \n
\nClarify\ncircumstances\nin which Black may change the AST (#2159)
\nPackaging
\n\n
\n- Install
\nprimer.json
(used byblack-primer
by default) with black. (#2154)21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b2
\nBlack
\n\n
\n- \n
\nFix crash if the user configuration directory is inaccessible. (#2158)
\n- \n
\nClarify\ncircumstances\nin which Black may change the AST (#2159)
\nPackaging
\n\n
\n- Install
\nprimer.json
(used byblack-primer
by default) with black. (#2154)21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)
... (truncated)
\nSourced from black's releases.
\n\n\n21.12b0
\nBlack
\n\n
\n- Fix determination of f-string expression spans (#2654)
\n- Fix bad formatting of error messages about EOF in multi-line statements (#2343)
\n- Functions and classes in blocks now have more consistent surrounding spacing (#2472)
\nJupyter Notebook support
\n\n
\n- Cell magics are now only processed if they are known Python cell magics. Earlier, all cell magics were tokenized, leading to possible indentation errors e.g. with
\n%%writefile
. (#2630)- Fix assignment to environment variables in Jupyter Notebooks (#2642)
\nPython 3.10 support
\n\n
\n- Point users to using
\n--target-version py310
if we detect 3.10-only syntax (#2668)- Fix
\nmatch
statements with open sequence subjects, likematch a, b:
ormatch a, *b:
(#2639) (#2659)- Fix
\nmatch
/case
statements that containmatch
/case
soft keywords multiple times, likematch re.match()
(#2661)- Fix
\ncase
statements with an inline body (#2665)- Fix styling of starred expressions inside
\nmatch
subject (#2667)- Fix parser error location on invalid syntax in a
\nmatch
statement (#2649)- Fix Python 3.10 support on platforms without ProcessPoolExecutor (#2631)
\n- Improve parsing performance on code that uses
\nmatch
under--target-version py310
up to ~50% (#2670)Packaging
\n\n
\nThank you!
\n\n
\n- \n
@\u200bisidentical
for the polishing up 3.10 syntax support (which they contributed in the first place!)- \n
@\u200bMarcoGorelli
for their ever-continuing work on Black's jupyter support- \n
@\u200bjalaziz
for cleaning up our Pyinstaller CD workflow- \n
@\u200bhauntsaninja
for helping us drop theregex
dependencyAnd also congrats to first contributors!
\n\n
\n- \n
@\u200bMatthewScholefield
made their first contribution in psf/black#2631- \n
@\u200bAshIsbitt
made their first contribution in psf/black#2632- \n
@\u200bkalbasit
made their first contribution in psf/black#2638- \n
@\u200bdanieleades
made their first contribution in psf/black#2653- \n
@\u200bdanielsparing
made their first contribution in psf/black#2630- \n
@\u200btanvimoharir
made their first contribution in psf/black#2343
Sourced from black's changelog.
\n\n\n21.12b0
\nBlack
\n\n
\n- Fix determination of f-string expression spans (#2654)
\n- Fix bad formatting of error messages about EOF in multi-line statements (#2343)
\n- Functions and classes in blocks now have more consistent surrounding spacing (#2472)
\nJupyter Notebook support
\n\n
\n- Cell magics are now only processed if they are known Python cell magics. Earlier, all\ncell magics were tokenized, leading to possible indentation errors e.g. with\n
\n%%writefile
. (#2630)- Fix assignment to environment variables in Jupyter Notebooks (#2642)
\nPython 3.10 support
\n\n
\n- Point users to using
\n--target-version py310
if we detect 3.10-only syntax (#2668)- Fix
\nmatch
statements with open sequence subjects, likematch a, b:
or\nmatch a, *b:
(#2639) (#2659)- Fix
\nmatch
/case
statements that containmatch
/case
soft keywords multiple\ntimes, likematch re.match()
(#2661)- Fix
\ncase
statements with an inline body (#2665)- Fix styling of starred expressions inside
\nmatch
subject (#2667)- Fix parser error location on invalid syntax in a
\nmatch
statement (#2649)- Fix Python 3.10 support on platforms without ProcessPoolExecutor (#2631)
\n- Improve parsing performance on code that uses
\nmatch
under--target-version py310
\nup to ~50% (#2670)Packaging
\n\n
Sourced from black's releases.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release and the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's at least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the magic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex literals (#2799)
\n- Treat blank lines in stubs the same inside top-level if statements (#2820)
\n- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a comment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n
\n- Speed-up the new backtracking parser about 4X in general (enabled when
\n--target-version
is set to 3.10 and higher). (#2728)- Black is now compiled with mypyc for an overall 2x speed-up. 64-bit Windows, MacOS, and Linux (not including musl) are supported. (#1009, #2431)
\nConfiguration
\n\n
\n- Do not accept bare carriage return line endings in pyproject.toml (#2408)
\n- Add configuration option (
\npython-cell-magics
) to format cells with custom magics in Jupyter Notebooks (#2744)- Allow setting custom cache directory on all platforms with environment variable
\nBLACK_CACHE_DIR
(#2739).- Enable Python 3.10+ by default, without any extra need to specify -
\n-target-version=py310
. (#2758)- Make passing
\nSRC
or--code
mandatory and mutually exclusive (#2804)Output
\n\n
\n- Improve error message for invalid regular expression (#2678)
\n- Improve error message when parsing fails during AST safety check by embedding the underlying SyntaxError (#2693)
\n- No longer color diff headers white as it's unreadable in light themed terminals (#2691)
\n- Text coloring added in the final statistics (#2712)
\n- Verbose mode also now describes how a project root was discovered and which paths will be formatted. (#2526)
\nPackaging
\n\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release\nand the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under\n--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's\nat least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the\nmagic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex\nliterals (#2799)
\n- Treat blank lines in stubs the same inside top-level
\nif
statements (#2820)- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
\n(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
\n(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like\n
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g\n
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a\ncomment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's changelog.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's releases.
\n\n\n21.5b1
\nBlack
\n\n
\n- Refactor
\nsrc/black/__init__.py
into many files (#2206)Documentation
\n\n
\n- Replaced all remaining references to the
\nmaster
branch with themain
branch. Some additional changes in the source code were also made. (#2210)- Sigificantly reorganized the documentation to make much more sense. Check them out by heading over to the stable docs on RTD. (#2174)
\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's changelog.
\n\n\n21.5b1
\nBlack
\n\n
\n- Refactor
\nsrc/black/__init__.py
into many files (#2206)Documentation
\n\n
\n- Replaced all remaining references to the\n
\nmaster
branch with the\nmain
branch. Some additional changes in\nthe source code were also made. (#2210)- Sigificantly reorganized the documentation to make much more sense. Check them out by\nheading over to the stable docs on RTD.\n(#2174)
\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's releases.
\n\n\n21.5b2
\nBlack
\n\n
\n- A space is no longer inserted into empty docstrings (#2249)
\n- Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
\n- Respect
\n.gitignore
files in all levels, not onlyroot/.gitignore
file (apply\n.gitignore
rules likegit
does) (#2225)- Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
\n- Add extra uvloop install + import support if in python env (#2258)
\n- Fix --experimental-string-processing crash when matching parens are not found (#2283)
\n- Make sure to split lines that start with a string operator (#2286)
\n- Fix regular expression that black uses to identify f-expressions (#2287)
\nBlackd
\n\n
\n- Add a lower bound for the
\naiohttp-cors
dependency. Only 0.4.0 or higher is\nsupported. (#2231)Packaging
\n\n
\n- Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline\n(#2198)
\n- Always build binaries with the latest available Python (#2260)
\nDocumentation
\n\n
\n- Add discussion of magic comments to FAQ page (#2272)
\n- \n
--experimental-string-processing
will be enabled by default in the future (#2273)- Fix typos discovered by codespell (#2228)
\n- Fix Vim plugin installation instructions. (#2235)
\n- Add new Frequently Asked Questions page (#2247)
\n- Fix encoding + symlink issues preventing proper build on Windows (#2262)
\n
Sourced from black's changelog.
\n\n\n21.5b2
\nBlack
\n\n
\n- A space is no longer inserted into empty docstrings (#2249)
\n- Fix handling of .gitignore files containing non-ASCII characters on Windows (#2229)
\n- Respect
\n.gitignore
files in all levels, not onlyroot/.gitignore
file (apply\n.gitignore
rules likegit
does) (#2225)- Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used (#2227)
\n- Add extra uvloop install + import support if in python env (#2258)
\n- Fix --experimental-string-processing crash when matching parens are not found (#2283)
\n- Make sure to split lines that start with a string operator (#2286)
\n- Fix regular expression that black uses to identify f-expressions (#2287)
\nBlackd
\n\n
\n- Add a lower bound for the
\naiohttp-cors
dependency. Only 0.4.0 or higher is\nsupported. (#2231)Integrations
\n\n
\n- The official Black action now supports choosing what version to use, and supports the\nmajor 3 OSes. (#1940)
\nPackaging
\n\n
\n- Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline\n(#2198)
\n- Always build binaries with the latest available Python (#2260)
\nDocumentation
\n\n
\n- Add discussion of magic comments to FAQ page (#2272)
\n- \n
--experimental-string-processing
will be enabled by default in the future (#2273)- Fix typos discovered by codespell (#2228)
\n- Fix Vim plugin installation instructions. (#2235)
\n- Add new Frequently Asked Questions page (#2247)
\n- Fix encoding + symlink issues preventing proper build on Windows (#2262)
\n
Sourced from black's releases.
\n\n\n21.6b0
\nBlack
\n\n
\n- Fix failure caused by
\nfmt: skip
and indentation (#2281)- Account for += assignment when deciding whether to split string (#2312)
\n- Correct max string length calculation when there are string operators (#2292)
\n- Fixed option usage when using the
\n--code
flag (#2259)- Do not call
\nuvloop.install()
when Black is used as a library (#2303)- Added
\n--required-version
option to require a specific version to be running (#2300)- Fix incorrect custom breakpoint indices when string group contains fake f-strings\n(#2311)
\n- Fix regression where
\nR
prefixes would be lowercased for docstrings (#2285)- Fix handling of named escapes (
\n\\N{...}
) when--experimental-string-processing
is\nused (#2319)
Sourced from black's changelog.
\n\n\n21.6b0
\nBlack
\n\n
\n- Fix failure caused by
\nfmt: skip
and indentation (#2281)- Account for += assignment when deciding whether to split string (#2312)
\n- Correct max string length calculation when there are string operators (#2292)
\n- Fixed option usage when using the
\n--code
flag (#2259)- Do not call
\nuvloop.install()
when Black is used as a library (#2303)- Added
\n--required-version
option to require a specific version to be running (#2300)- Fix incorrect custom breakpoint indices when string group contains fake f-strings\n(#2311)
\n- Fix regression where
\nR
prefixes would be lowercased for docstrings (#2285)- Fix handling of named escapes (
\n\\N{...}
) when--experimental-string-processing
is\nused (#2319)
Sourced from black's releases.
\n\n\n21.7b0
\nBlack
\n\n
\n- Configuration files using TOML features higher than spec v0.5.0 are now supported\n(#2301)
\n- Add primer support and test for code piped into black via STDIN (#2315)
\n- Fix internal error when
\nFORCE_OPTIONAL_PARENTHESES
feature is enabled (#2332)- Accept empty stdin (#2346)
\n- Provide a more useful error when parsing fails during AST safety checks (#2304)
\nDocker
\n\n
\n- Add new
\nlatest_release
tag automation to follow latest black release on docker\nimages (#2374)Integrations
\n\n
\n- The vim plugin now searches upwards from the directory containing the current buffer\ninstead of the current working directory for pyproject.toml. (#1871)
\n- The vim plugin now reads the correct string normalization option in pyproject.toml\n(#1869)
\n- The vim plugin no longer crashes Black when there's boolean values in pyproject.toml\n(#1869)
\n
Sourced from black's changelog.
\n\n\n21.7b0
\nBlack
\n\n
\n- Configuration files using TOML features higher than spec v0.5.0 are now supported\n(#2301)
\n- Add primer support and test for code piped into black via STDIN (#2315)
\n- Fix internal error when
\nFORCE_OPTIONAL_PARENTHESES
feature is enabled (#2332)- Accept empty stdin (#2346)
\n- Provide a more useful error when parsing fails during AST safety checks (#2304)
\nDocker
\n\n
\n- Add new
\nlatest_release
tag automation to follow latest black release on docker\nimages (#2374)Integrations
\n\n
\n- The vim plugin now searches upwards from the directory containing the current buffer\ninstead of the current working directory for pyproject.toml. (#1871)
\n- The vim plugin now reads the correct string normalization option in pyproject.toml\n(#1869)
\n- The vim plugin no longer crashes Black when there's boolean values in pyproject.toml\n(#1869)
\n
Sourced from black's releases.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)
Sourced from black's releases.
\n\n\n21.9b0
\nPackaging
\n\n
\n- Fix missing modules in self-contained binaries (#2466)
\n- Fix missing toml extra used during installation (#2475)
\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.9b0
\nPackaging
\n\n
\n- Fix missing modules in self-contained binaries (#2466)
\n- Fix missing toml extra used during installation (#2475)
\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)
Sourced from black's releases.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n21.11b1
\nBlack
\n\n
\n- Bumped regex version minimum to 2021.4.4 to fix Pattern class usage (#2621)
\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.11b1
\nBlack
\n\n
\n- Bumped regex version minimum to 2021.4.4 to fix Pattern class usage (#2621)
\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n22.3.0
\nPreview style
\n\n
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919)- Remove unnecessary parentheses from
\nexcept
statements (#2939)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945)- Avoid magic-trailing-comma in single-element subscripts (#2942)
\nConfiguration
\n\n
\n- Do not format
\n__pypackages__
directories by default (#2836)- Add support for specifying stable version with
\n--required-version
(#2832).- Avoid crashing when the user has no homedir (#2814)
\n- Avoid crashing when md5 is not available (#2905)
\n- Fix handling of directory junctions on Windows (#2904)
\nDocumentation
\n\n
\n- Update pylint config documentation (#2931)
\nIntegrations
\n\n
\n- Move test to disable plugin in Vim/Neovim, which speeds up loading (#2896)
\nOutput
\n\n
\n- In verbose, mode, log when Black is using user-level config (#2861)
\nPackaging
\n\n
\n- Fix Black to work with Click 8.1.0 (#2966)
\n- On Python 3.11 and newer, use the standard library's
\ntomllib
instead oftomli
\n(#2903)- \n
black-primer
, the deprecated internal devtool, has been removed and copied to a\nseparate repository (#2924)Parser
\n\n
\n- Black can now parse starred expressions in the target of
\nfor
andasync for
\nstatements, e.gfor item in *items_1, *items_2: pass
(#2879).
Sourced from black's changelog.
\n\n\n22.3.0
\nPreview style
\n\n
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919)- Remove unnecessary parentheses from
\nexcept
statements (#2939)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945)- Avoid magic-trailing-comma in single-element subscripts (#2942)
\nConfiguration
\n\n
\n- Do not format
\n__pypackages__
directories by default (#2836)- Add support for specifying stable version with
\n--required-version
(#2832).- Avoid crashing when the user has no homedir (#2814)
\n- Avoid crashing when md5 is not available (#2905)
\n- Fix handling of directory junctions on Windows (#2904)
\nDocumentation
\n\n
\n- Update pylint config documentation (#2931)
\nIntegrations
\n\n
\n- Move test to disable plugin in Vim/Neovim, which speeds up loading (#2896)
\nOutput
\n\n
\n- In verbose, mode, log when Black is using user-level config (#2861)
\nPackaging
\n\n
\n- Fix Black to work with Click 8.1.0 (#2966)
\n- On Python 3.11 and newer, use the standard library's
\ntomllib
instead oftomli
\n(#2903)- \n
black-primer
, the deprecated internal devtool, has been removed and copied to a\nseparate repository (#2924)Parser
\n\n
\n- Black can now parse starred expressions in the target of
\nfor
andasync for
\nstatements, e.gfor item in *items_1, *items_2: pass
(#2879).
ae2c075
Prepare release 22.3.0 (#2968)e9681a4
Fix _unicodefun patch code for Click 8.1.0 (#2966)ac7402c
Bump sphinx from 4.4.0 to 4.5.0 in /docs (GH-2959)f239d22
Enforce no formatting changes for PRs via CI (GH-2951)bd1e980
Remove unnecessary parentheses from except
clauses (#2939)14d84ba
Resolve new flake8-bugbear errors (B020) (GH-2950)14e5ce5
Remove unnecessary parentheses from tuple unpacking in for
loops (#2945)3800ebd
Avoid magic-trailing-comma in single-element subscripts (#2942)062b549
Github now supports .git-blame-ignore-revs (GH-2948)5379d4f
stub style: remove some possible future changes (#2940)Sourced from black's releases.
\n\n\n22.6.0
\nStyle
\n\n
\n- Fix unstable formatting involving
\n#fmt: skip
and# fmt:skip
comments (notice the lack of spaces) (#2970)Preview style
\n\n
\n- Docstring quotes are no longer moved if it would violate the line length limit (#3044)
\n- Parentheses around return annotations are now managed (#2990)
\n- Remove unnecessary parentheses around awaited objects (#2991)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926)- Remove trailing newlines after code block open (#3035)
\nIntegrations
\n\n
\n- Add
\nscripts/migrate-black.py
script to ease introduction of Black to a Git project (#3038)Output
\n\n
\n- Output Python version and implementation as part of
\n--version
flag (#2997)Packaging
\n\n
\n- Use
\ntomli
instead oftomllib
on Python 3.11 builds wheretomllib
is not available (#2987)Parser
\n\n
\n- PEP 654 syntax (for example,
\nexcept *ExceptionGroup:
) is now supported (#3016)- PEP 646 syntax (for example,
\nArray[Batch, *Shape]
ordef fn(*args: *T) -> None
) is now supported (#3071)Vim Plugin
\n\n
\n- Fix
\nstrtobool
function. It didn't parse true/on/false/off. (#3025)Full Changelog: https://github.com/psf/black/compare/22.3.0...22.6.0
\n
\nThank you!
\n\n
\n- \n
@\u200bjpy-git
for improving our parentheses formatting significantly- \n
@\u200bsiuryan
for fixing a fmt: skip bug, making it a little less annoying to use :)- \n
@\u200bisidentical
for implementing support for PEP 654 and 646 syntax- \n
@\u200bdefntvdm
for fixing our vim plugin, especially as we (the maintainers) don't really know vim script sadly- \n
@\u200bidorrington92
for fixing the docstring bug where Black would move the closing quotes causing it to violate the line length limit (whoops!)- \n
@\u200bhbrunn
for contributing the migrate-black script- \n
@\u200bsaroad2
for improving newline handling after code blocks and test infrastructure improvements... and everyone else who contributed documentation, tests, or other improvements to the Black project!
\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n22.6.0
\nStyle
\n\n
\n- Fix unstable formatting involving
\n#fmt: skip
and# fmt:skip
comments (notice the\nlack of spaces) (#2970)Preview style
\n\n
\n- Docstring quotes are no longer moved if it would violate the line length limit (#3044)
\n- Parentheses around return annotations are now managed (#2990)
\n- Remove unnecessary parentheses around awaited objects (#2991)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926)- Remove trailing newlines after code block open (#3035)
\nIntegrations
\n\n
\n- Add
\nscripts/migrate-black.py
script to ease introduction of Black to a Git project\n(#3038)Output
\n\n
\n- Output Python version and implementation as part of
\n--version
flag (#2997)Packaging
\n\n
\n- Use
\ntomli
instead oftomllib
on Python 3.11 builds wheretomllib
is not\navailable (#2987)Parser
\n\n
\n- PEP 654 syntax (for example,\n
\nexcept *ExceptionGroup:
) is now supported (#3016)- PEP 646 syntax (for example,\n
\nArray[Batch, *Shape]
ordef fn(*args: *T) -> None
) is now supported (#3071)Vim Plugin
\n\n
\n- Fix
\nstrtobool
function. It didn't parse true/on/false/off. (#3025)22.3.0
\nPreview style
\n\n
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919)- Remove unnecessary parentheses from
\nexcept
statements (#2939)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945)- Avoid magic-trailing-comma in single-element subscripts (#2942)
\nConfiguration
\n\n
... (truncated)
\nf6c139c
Prepare docs for release 22.6.0 (#3139)eb5d175
Update preview style docs to include recent changes (#3136)d848209
Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (#3138)fa6caa6
Only call get_future_imports when needed (#3135)6463fb8
Bump sphinx from 5.0.1 to 5.0.2 in /docs (#3128)e3c9b04
Replace link to Requests documentation (#3125)6c1bd08
Test run black on self (#3114)799adb5
Bump actions/setup-python from 3 to 4 (#3121)162ecd1
Use is_number_token instead of assertion (#3069)8c8675c
Update documentation dependencies (#3118)Sourced from black's releases.
\n\n\n22.12.0
\nPreview style
\n\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments (#3302)
\n- Reformat empty and whitespace-only files as either an empty file (if no newline is\npresent) or as a single newline character (if a newline is present) (#3348)
\n- Implicitly concatenated strings used as function args are now wrapped inside\nparentheses (#3307)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens\n(#3370)
\nConfiguration
\n\n\n
\n- Fix incorrectly applied
\n.gitignore
rules by considering the.gitignore
location\nand the relative path to the target file (#3338)- Fix incorrectly ignoring
\n.gitignore
presence when more than one source directory is\nspecified (#3336)Parser
\n\n\n
\n- Parsing support has been added for walruses inside generator expression that are\npassed as function args (for example,\n
\nany(match := my_re.match(text) for text in texts)
) (#3327).Integrations
\n\n\n
\n- Vim plugin: Optionally allow using the system installation of Black via\n
\nlet g:black_use_virtualenv = 0
(#3309)
Sourced from black's changelog.
\n\n\n22.12.0
\nPreview style
\n\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments (#3302)
\n- Reformat empty and whitespace-only files as either an empty file (if no newline is\npresent) or as a single newline character (if a newline is present) (#3348)
\n- Implicitly concatenated strings used as function args are now wrapped inside\nparentheses (#3307)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens\n(#3370)
\nConfiguration
\n\n\n
\n- Fix incorrectly applied
\n.gitignore
rules by considering the.gitignore
location\nand the relative path to the target file (#3338)- Fix incorrectly ignoring
\n.gitignore
presence when more than one source directory is\nspecified (#3336)Parser
\n\n\n
\n- Parsing support has been added for walruses inside generator expression that are\npassed as function args (for example,\n
\nany(match := my_re.match(text) for text in texts)
) (#3327).Integrations
\n\n\n
\n- Vim plugin: Optionally allow using the system installation of Black via\n
\nlet g:black_use_virtualenv = 0
(#3309)
2ddea29
Prepare release 22.12.0 (#3413)5b1443a
release: skip bad macos wheels for now (#3411)9ace064
Bump peter-evans/find-comment from 2.0.1 to 2.1.0 (#3404)19c5fe4
Fix CI with latest flake8-bugbear (#3412)d4a8564
Bump sphinx-copybutton from 0.5.0 to 0.5.1 in /docs (#3390)2793249
Wordsmith current_style.md (#3383)d97b789
Remove whitespaces of whitespace-only files (#3348)c23a5c1
Clarify that Black runs with --safe by default (#3378)8091b25
Correctly handle trailing commas that are inside a line's leading non-nested ...ffaaf48
Compare each .gitignore found with an appropiate relative path (#3338)Sourced from black's releases.
\n\n\n23.1.0
\nHighlights
\nThis is the first release of 2023, and following our stability policy, it comes with a number of improvements to our stable style, notably improvements to empty line handling and the removal of redundant parentheses in several contexts.
\nThere are also many changes to the preview style; try out
\nblack --preview
and give us feedback to help us set the stable style for next year.In addition to style changes, Black now automatically infers the supported Python versions from your
\npyproject.toml
file, removing the need to set Black's target versions separately.Stable style
\n\n\n
\n- Introduce the 2023 stable style, which incorporates most aspects of last year's preview style (#3418). Specific changes:\n
\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments (#3302) (22.12.0)
\n- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348) (22.12.0)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370) (22.12.0)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being normalized as expected (#3168) (since 22.8.0)- When using
\n--skip-magic-trailing-comma
or-C
, trailing commas are stripped from subscript expressions with more than 1 element (#3209) (22.8.0)- Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (#3227) (22.8.0)
\n- Docstring quotes are no longer moved if it would violate the line length limit (#3044, #3430) (22.6.0)
\n- Parentheses around return annotations are now managed (#2990) (22.6.0)
\n- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
\nexcept
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
\n- Fix a crash when a colon line is marked between
\n# fmt: off
and# fmt: on
(#3439)Preview style
\n\n\n
\n\n- Format hex codes in unicode escape sequences in string literals (#2916)
\n- Add parentheses around
\nif
-else
expressions (#2278)- Improve performance on large expressions that contain many strings (#3467)
\n- Fix a crash in preview style with assert + parenthesized string (#3415)
\n- Fix crashes in preview style with walrus operators used in function return annotations and except clauses (#3423)
\n- Fix a crash in preview advanced string processing where mixed implicitly concatenated regular and f-strings start with an empty span (#3463)
\n- Fix a crash in preview advanced string processing where a standalone comment is placed before a dict's value (#3469)
\n- Fix an issue where extra empty lines are added when a decorator has
\n# fmt: skip
applied or there is a standalone comment between decorators (#3470)- Do not put the closing quotes in a docstring on a separate line, even if the line is too long (#3430)
\n- Long values in dict literals are now wrapped in parentheses; correspondingly unnecessary parentheses around short values in dict literals are now removed; long string lambda values are now wrapped in parentheses (#3440)
\n- Fix two crashes in preview style involving edge cases with docstrings (#3451)
\n- Exclude string type annotations from improved string processing; fix crash when the return type annotation is stringified and spans across multiple lines (#3462)
\n- Wrap multiple context managers in parentheses when targeting Python 3.9+ (#3489)
\n- Fix several crashes in preview style with walrus operators used in
\nwith
statements or tuples (#3473)- Fix an invalid quote escaping bug in f-string expressions where it produced invalid code. Implicitly concatenated f-strings with different quotes can now be merged or quote-normalized by changing the quotes used in expressions. (#3509)
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.1.0
\nHighlights
\nThis is the first release of 2023, and following our\nstability policy,\nit comes with a number of improvements to our stable style, including improvements to\nempty line handling, removal of redundant parentheses in several contexts, and output\nthat highlights implicitly concatenated strings better.
\nThere are also many changes to the preview style; try out
\nblack --preview
and give us\nfeedback to help us set the stable style for next year.In addition to style changes, Black now automatically infers the supported Python\nversions from your
\npyproject.toml
file, removing the need to set Black's target\nversions separately.Stable style
\n\n\n
\n\n- Introduce the 2023 stable style, which incorporates most aspects of last year's\npreview style (#3418). Specific changes:\n
\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments\n(#3302) (22.12.0)
\n- Reformat empty and whitespace-only files as either an empty file (if no newline is\npresent) or as a single newline character (if a newline is present) (#3348)\n(22.12.0)
\n- Implicitly concatenated strings used as function args are now wrapped inside\nparentheses (#3307) (22.12.0)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens\n(#3370) (22.12.0)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being\nnormalized as expected (#3168) (since 22.8.0)- When using
\n--skip-magic-trailing-comma
or-C
, trailing commas are stripped from\nsubscript expressions with more than 1 element (#3209) (22.8.0)- Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside\nparentheses (#3162) (22.8.0)
\n- Fix a string merging/split issue when a comment is present in the middle of\nimplicitly concatenated strings on its own line (#3227) (22.8.0)
\n- Docstring quotes are no longer moved if it would violate the line length limit\n(#3044, #3430) (22.6.0)
\n- Parentheses around return annotations are now managed (#2990) (22.6.0)
\n- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
\nexcept
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
\n
... (truncated)
\nb0d1fba
Prepare release 23.1.0 (#3536)69ca0a4
Infer target version based on project metadata (#3219)c4bd2e3
Draft for Black 2023 stable style (#3418)226cbf0
Fix unsafe cast in linegen.py w/ await yield handling (#3533)f4ebc68
Upgrade isort (#3534)6407ebb
Remove Python version in the_basics.md (#3528)196b1f3
Fix black --help
output for --python-cell-magics
option to be reproducibl...d950f15
Update document now that paren wrapping CMs on Python 3.9+ is implemented (#3...a36878e
Fix an invalid quote escaping bug in f-string expressions (#3509)eabff67
Format hex code in unicode escape sequences in string literals (#2916)Sourced from black's releases.
\n\n\n23.3.0
\nHighlights
\nThis release fixes a longstanding confusing behavior in Black's GitHub action, where the\nversion of the action did not determine the version of Black being run (issue #3382). In\naddition, there is a small bug fix around imports and a number of improvements to the\npreview style.
\nPlease try out the\npreview style\nwith
\nblack --preview
and tell us your feedback. All changes in the preview style are\nexpected to become part of Black's stable style in January 2024.Stable style
\n\n
\n- Import lines with
\n# fmt: skip
and# fmt: off
no longer have an extra blank line\nadded when they are right after another import line (#3610)Preview style
\n\n
\n- Add trailing commas to collection literals even if there's a comment after the last\nentry (#3393)
\n- \n
async def
,async for
, andasync with
statements are now formatted consistently\ncompared to their non-async version. (#3609)- \n
with
statements that contain two context managers will be consistently wrapped in\nparentheses (#3589)- Let string splitters respect East Asian Width\n(#3445)
\n- Now long string literals can be split after East Asian commas and periods (
\n\u3001
U+3001\nIDEOGRAPHIC COMMA,\u3002
U+3002 IDEOGRAPHIC FULL STOP, &\uff0c
U+FF0C FULLWIDTH COMMA)\nbesides before spaces (#3445)- For stubs, enforce one blank line after a nested class with a body other than just\n
\n...
(#3564)- Improve handling of multiline strings by changing line split behavior (#1879)
\nParser
\n\n
\n- Added support for formatting files with invalid type comments (#3594)
\nIntegrations
\n\n
\n- Update GitHub Action to use the version of Black equivalent to action's version if\nversion input is not specified (#3543)
\n- Fix missing Python binary path in autoload script for vim (#3508)
\nDocumentation
\n\n
\n\n- Document that only the most recent release is supported for security issues;\nvulnerabilities should be reported through Tidelift (#3612)
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.3.0
\nHighlights
\nThis release fixes a longstanding confusing behavior in Black's GitHub action, where the\nversion of the action did not determine the version of Black being run (issue #3382). In\naddition, there is a small bug fix around imports and a number of improvements to the\npreview style.
\nPlease try out the\npreview style\nwith
\nblack --preview
and tell us your feedback. All changes in the preview style are\nexpected to become part of Black's stable style in January 2024.Stable style
\n\n
\n- Import lines with
\n# fmt: skip
and# fmt: off
no longer have an extra blank line\nadded when they are right after another import line (#3610)Preview style
\n\n
\n- Add trailing commas to collection literals even if there's a comment after the last\nentry (#3393)
\n- \n
async def
,async for
, andasync with
statements are now formatted consistently\ncompared to their non-async version. (#3609)- \n
with
statements that contain two context managers will be consistently wrapped in\nparentheses (#3589)- Let string splitters respect East Asian Width\n(#3445)
\n- Now long string literals can be split after East Asian commas and periods (
\n\u3001
U+3001\nIDEOGRAPHIC COMMA,\u3002
U+3002 IDEOGRAPHIC FULL STOP, &\uff0c
U+FF0C FULLWIDTH COMMA)\nbesides before spaces (#3445)- For stubs, enforce one blank line after a nested class with a body other than just\n
\n...
(#3564)- Improve handling of multiline strings by changing line split behavior (#1879)
\nParser
\n\n
\n- Added support for formatting files with invalid type comments (#3594)
\nIntegrations
\n\n
\n- Update GitHub Action to use the version of Black equivalent to action's version if\nversion input is not specified (#3543)
\n- Fix missing Python binary path in autoload script for vim (#3508)
\nDocumentation
\n\n
\n\n- Document that only the most recent release is supported for security issues;\nvulnerabilities should be reported through Tidelift (#3612)
\n
... (truncated)
\nbf7a162
Fixup the changelog (#3628)9b2b048
Prepare release 23.3.0 (#3625)bf5abdb
Specify Python exec path with minor version if available (#3508)b542f58
Use GH action version when version argument not specified (#3543)f3b1a3b
Bump furo from 2022.12.7 to 2023.3.23 in /docs (#3624)ef6e079
Let string splitters respect East_Asian_Width
property (#3445)5c064a9
Bump sphinx from 5.3.0 to 6.1.3 in /docs (#3499)3a9d6f0
Bump myst-parser from 0.18.1 to 1.0.0 in /docs (#3601)53c23e6
Support files with type comment syntax errors (#3594)dba3c26
Fix bug introduced in #3564. (#3615)Sourced from black's releases.
\n\n\n22.8.0
\nHighlights
\n\n
\n- Python 3.11 is now supported, except for blackd as aiohttp does not support 3.11 as of publishing (#3234)
\n- This is the last release that supports running Black on Python 3.6 (formatting 3.6 code will continue to be supported until further notice)
\n- Reword the stability policy to say that we may, in rare cases, make changes that affect code that was not previously formatted by Black (#3155)
\nStable style
\n\n
\n- Fix an infinite loop when using
\n# fmt: on/off
in the middle of an expression or code block (#3158)- Fix incorrect handling of
\n# fmt: skip
on colon (:
) lines (#3148)- Comments are no longer deleted when a line had spaces removed around power operators (#2874)
\nPreview style
\n\n
\n- Single-character closing docstring quotes are no longer moved to their own line as this is invalid. This was a bug introduced in version 22.6.0. (#3166)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being normalized as expected (#3168)- When using
\n--skip-magic-trailing-comma
or-C
, trailing commas are stripped from subscript expressions with more than 1 element (#3209)- Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside parentheses (#3162)
\n- Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (#3227)
\nBlackd
\n\n
\n- \n
blackd
now supports enabling the preview style via theX-Preview
header (#3217)Configuration
\n\n
\n- Black now uses the presence of debug f-strings to detect target version (#3215)
\n- Fix misdetection of project root and verbose logging of sources in cases involving
\n--stdin-filename
(#3216)- Immediate
\n.gitignore
files in source directories given on the command line are now also respected, previously only.gitignore
files in the project root and automatically discovered directories were respected (#3237)Documentation
\n\n
\n- Recommend using BlackConnect in IntelliJ IDEs (#3150)
\nIntegrations
\n\n
\n- Vim plugin: prefix messages with
\nBlack:
so it's clear they come from Black (#3194)- Docker: changed to a /opt/venv installation + added to PATH to be available to non-root users (#3202)
\nOutput
\n\n
\n- Change from deprecated
\nasyncio.get_event_loop()
to create our event loop which removes DeprecationWarning (#3164)- Remove logging from internal
\nblib2to3
library since it regularly emits error logs about failed caching that can and should be ignored (#3193)Parser
\n\n
\n- Type comments are now included in the AST equivalence check consistently so accidental deletion raises an error. Though type comments can't be tracked when running on PyPy 3.7 due to standard library limitations. (#2874)
\nPerformance
\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n22.8.0
\nHighlights
\n\n
\n- Python 3.11 is now supported, except for blackd as aiohttp does not support 3.11 as\nof publishing (#3234)
\n- This is the last release that supports running Black on Python 3.6 (formatting 3.6\ncode will continue to be supported until further notice)
\n- Reword the stability policy to say that we may, in rare cases, make changes that\naffect code that was not previously formatted by Black (#3155)
\nStable style
\n\n
\n- Fix an infinite loop when using
\n# fmt: on/off
in the middle of an expression or code\nblock (#3158)- Fix incorrect handling of
\n# fmt: skip
on colon (:
) lines (#3148)- Comments are no longer deleted when a line had spaces removed around power operators\n(#2874)
\nPreview style
\n\n
\n- Single-character closing docstring quotes are no longer moved to their own line as\nthis is invalid. This was a bug introduced in version 22.6.0. (#3166)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being\nnormalized as expected (#3168)- When using
\n--skip-magic-trailing-comma
or-C
, trailing commas are stripped from\nsubscript expressions with more than 1 element (#3209)- Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside\nparentheses (#3162)
\n- Fix a string merging/split issue when a comment is present in the middle of implicitly\nconcatenated strings on its own line (#3227)
\nBlackd
\n\n
\n- \n
blackd
now supports enabling the preview style via theX-Preview
header (#3217)Configuration
\n\n
\n- Black now uses the presence of debug f-strings to detect target version (#3215)
\n- Fix misdetection of project root and verbose logging of sources in cases involving\n
\n--stdin-filename
(#3216)- Immediate
\n.gitignore
files in source directories given on the command line are now\nalso respected, previously only.gitignore
files in the project root and\nautomatically discovered directories were respected (#3237)Documentation
\n\n
\n- Recommend using BlackConnect in IntelliJ IDEs (#3150)
\nIntegrations
\n\n
... (truncated)
\n2018e66
Prepare docs for release 22.8.0 (#3248)0019261
Update stable branch after publishing to PyPI (#3223)7757078
Improve & update release process to reflect recent changes (#3242)767604e
Use .gitignore files in the initial source directories (#3237)2c90480
Use strict mypy checking (#3222)ba618a3
Add parens around implicit string concatenations where it increases readabili...c0cc19b
Delay worker count determinationafed2c0
Load .gitignore and exclude regex at time of usee269f44
Lazily import parallelized format modulesc47b91f
Fix misdetection of project root with --stdin-filename
(#3216)Sourced from black's releases.
\n\n\n22.10.0
\nHighlights
\n\n
\n- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be\nsupported until further notice.
\nStable style
\n\n
\n- Fix a crash when
\n# fmt: on
is used on a different block level than# fmt: off
\n(#3281)Preview style
\n\n
\n- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys\n(#3262)
\nConfiguration
\n\n
\n- \n
.ipynb_checkpoints
directories are now excluded by default (#3293)- Add
\n--skip-source-first-line
/-x
option to ignore the first line of source code\nwhile formatting (#3299)Packaging
\n\n
\n- Executables made with PyInstaller will no longer crash when formatting several files\nat once on macOS. Native x86-64 executables for macOS are available once again.\n(#3275)
\n- Hatchling is now used as the build backend. This will not have any effect for users\nwho install Black with its wheels from PyPI. (#3233)
\n- Faster compiled wheels are now available for CPython 3.11 (#3276)
\nBlackd
\n\n
\n- Windows style (CRLF) newlines will be preserved (#3257).
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n22.10.0
\nHighlights
\n\n
\n- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be\nsupported until further notice.
\nStable style
\n\n
\n- Fix a crash when
\n# fmt: on
is used on a different block level than# fmt: off
\n(#3281)Preview style
\n\n
\n- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys\n(#3262)
\nConfiguration
\n\n
\n- \n
.ipynb_checkpoints
directories are now excluded by default (#3293)- Add
\n--skip-source-first-line
/-x
option to ignore the first line of source code\nwhile formatting (#3299)Packaging
\n\n
\n- Executables made with PyInstaller will no longer crash when formatting several files\nat once on macOS. Native x86-64 executables for macOS are available once again.\n(#3275)
\n- Hatchling is now used as the build backend. This will not have any effect for users\nwho install Black with its wheels from PyPI. (#3233)
\n- Faster compiled wheels are now available for CPython 3.11 (#3276)
\nBlackd
\n\n
\n- Windows style (CRLF) newlines will be preserved (#3257).
\nIntegrations
\n\n
27d2014
Prepare release 22.10.0 (#3311)4da0851
Add option to skip the first line of source code (#3299)0359b85
Preserve crlf line endings in blackd (#3257)27d7ea4
Bump docutils from 0.18.1 to 0.19 in /docs (#3161)1a20c4d
Bump sphinx from 5.2.1 to 5.2.3 in /docs (#3305)980997f
Bump furo from 2022.9.15 to 2022.9.29 in /docs (#3304)b1077aa
Bump myst-parser from 0.18.0 to 0.18.1 in /docs (#3303)956bf39
Add .ipynb_checkpoints to DEFAULT_EXCLUDES (#3293)141291a
Enable build isolation under CIWB (#3297)ddb9924
Bump pypa/cibuildwheel from 2.10.0 to 2.10.2 (#3290)Sourced from black's releases.
\n\n\n23.7.0
\nHighlights
\n\n
\n- Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be\nsupported until further notice (#3765)
\nStable style
\n\n
\n- Fix a bug where an illegal trailing comma was added to return type annotations using\nPEP 604 unions (#3735)
\n- Fix several bugs and crashes where comments in stub files were removed or mishandled\nunder some circumstances (#3745)
\n- Fix a crash with multi-line magic comments like
\ntype: ignore
within parentheses\n(#3740)- Fix error in AST validation when Black removes trailing whitespace in a type comment\n(#3773)
\nPreview style
\n\n
\n- Implicitly concatenated strings used as function args are no longer wrapped inside\nparentheses (#3640)
\n- Remove blank lines between a class definition and its docstring (#3692)
\nConfiguration
\n\n
\n- The
\n--workers
argument to Black can now be specified via theBLACK_NUM_WORKERS
\nenvironment variable (#3743)- \n
.pytest_cache
,.ruff_cache
and.vscode
are now excluded by default (#3691)- Fix Black not honouring
\npyproject.toml
settings when running--stdin-filename
\nand thepyproject.toml
found isn't in the current working directory (#3719)- Black will now error if
\nexclude
andextend-exclude
have invalid data types in\npyproject.toml
, instead of silently doing the wrong thing (#3764)Packaging
\n\n
\n- Upgrade mypyc from 0.991 to 1.3 (#3697)
\n- Remove patching of Click that mitigated errors on Python 3.6 with
\nLANG=C
(#3768)Parser
\n\n
\n- Add support for the new PEP 695 syntax in Python 3.12 (#3703)
\nPerformance
\n\n
\n- Speed up Black significantly when the cache is full (#3751)
\n- Avoid importing
\nIPython
in a case where we wouldn't need it (#3748)Output
\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.7.0
\nHighlights
\n\n
\n- Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be\nsupported until further notice (#3765)
\nStable style
\n\n
\n- Fix a bug where an illegal trailing comma was added to return type annotations using\nPEP 604 unions (#3735)
\n- Fix several bugs and crashes where comments in stub files were removed or mishandled\nunder some circumstances (#3745)
\n- Fix a crash with multi-line magic comments like
\ntype: ignore
within parentheses\n(#3740)- Fix error in AST validation when Black removes trailing whitespace in a type comment\n(#3773)
\nPreview style
\n\n
\n- Implicitly concatenated strings used as function args are no longer wrapped inside\nparentheses (#3640)
\n- Remove blank lines between a class definition and its docstring (#3692)
\nConfiguration
\n\n
\n- The
\n--workers
argument to Black can now be specified via theBLACK_NUM_WORKERS
\nenvironment variable (#3743)- \n
.pytest_cache
,.ruff_cache
and.vscode
are now excluded by default (#3691)- Fix Black not honouring
\npyproject.toml
settings when running--stdin-filename
\nand thepyproject.toml
found isn't in the current working directory (#3719)- Black will now error if
\nexclude
andextend-exclude
have invalid data types in\npyproject.toml
, instead of silently doing the wrong thing (#3764)Packaging
\n\n
\n- Upgrade mypyc from 0.991 to 1.3 (#3697)
\n- Remove patching of Click that mitigated errors on Python 3.6 with
\nLANG=C
(#3768)Parser
\n\n
\n- Add support for the new PEP 695 syntax in Python 3.12 (#3703)
\nPerformance
\n\n
\n- Speed up Black significantly when the cache is full (#3751)
\n- Avoid importing
\nIPython
in a case where we wouldn't need it (#3748)Output
\n\n
... (truncated)
\n193ee76
Prepare release 23.7.0 (#3776)38723bb
Unpin pytest-xdist (#3772)138769a
Disable coverage on pypy tests (#3777)ad3724b
Upgrade to latest mypy (#3775)b8e2ec7
Fix crash on type comment with trailing space (#3773)257d392
Fix removed comments in stub files (#3745)2593af2
Improve performance by skipping unnecessary normalisation (#3751)f3b50e4
Add CITATION.cff file (#3723)0b4d7d5
Run pyupgrade on blib2to3 and src (#3771)114e835
Remove click patch (#3768)Sourced from blacken-docs's changelog.
\n\n\n1.13.0 (2023-01-16)
\n\n
\n- \n
\nNote Adam Johnson is new maintainer.
\n- \n
\nRequire Black 22.1.0+.
\n- \n
\nAdd
\n--rst-literal-blocks
option, to also format text in reStructuredText literal blocks, starting with::
.\nSphinx highlights these with the project\u2019s default language, which defaults to Python.
1238e1d
Version 1.13.04e6dc07
Fix setup.cfg long_description_content_type579a71a
Standardize setup.cfg (#212)a6b2ba0
Changelog entry about change in maintenance3cf8b9a
Standard pre-commit config (#211)bcd3669
Standardize test file name (#210)6d1771d
Remove setup.py (#209)4e5ab6e
Improve README (#208)c19c57f
Add support for reStructuredText literal blocks (#196)6af8099
Move from tmpdir pytest fixture to tmp_path (#206)Sourced from blacken-docs's changelog.
\n\n\n1.14.0 (2023-06-13)
\n\n
\n- Support Python 3.12.
\n
4b94add
Version 1.14.0292cb18
Support Python 3.12 (#251)72ecf2c
[pre-commit.ci] pre-commit autoupdate (#249)ea8f1ca
Upgrade requirements (#248)9979d7a
Upgrade requirements (#247)7b71075
[pre-commit.ci] pre-commit autoupdate (#245)6280868
[pre-commit.ci] pre-commit autoupdate (#244)83efc37
Upgrade requirements (#243)7aedc23
[pre-commit.ci] pre-commit autoupdate (#242)d78d593
[pre-commit.ci] pre-commit autoupdate (#241)Sourced from blacken-docs's changelog.
\n\n\n1.15.0 (2023-07-09)
\n\n
\n- Drop Python 3.7 support.
\n
2e74dc4
Version 1.15.08ddb2f1
[pre-commit.ci] pre-commit autoupdate (#257)64fbca6
Drop Python 3.7 support (#256)f6a0817
[pre-commit.ci] pre-commit autoupdate (#255)cbdcb50
[pre-commit.ci] pre-commit autoupdate (#254)37fc70e
Upgrade requirements (#253)7bbe434
[pre-commit.ci] pre-commit autoupdate (#250)Sourced from sphinx's releases.
\n\n\nSphinx 7.1.2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.1.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0rc1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.1.2 (released Aug 02, 2023)
\nBugs fixed
\n\n
\n- #11542: linkcheck: Properly respect :confval:
\nlinkcheck_anchors
\nand do not spuriously report failures to validate anchors.\nPatch by James Addison.Release 7.1.1 (released Jul 27, 2023)
\nBugs fixed
\n\n
\n- #11514: Fix
\nSOURCE_DATE_EPOCH
in multi-line copyright footer.\nPatch by B\u00e9n\u00e9dikt Tran.Release 7.1.0 (released Jul 24, 2023)
\nIncompatible changes
\n\n
\n- \n
\nReleases are no longer signed, given the
\nchange in PyPI policy
_... _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/
\nDeprecated
\n\n
\n- #11412: Emit warnings on using a deprecated Python-specific index entry type\n(namely,
\nmodule
,keyword
,operator
,object
,exception
,\nstatement
, andbuiltin
) in the :rst:dir:index
directive, and\nset the removal version to Sphinx 9. Patch by Adam Turner.Features added
\n\n
\n\n- #11415: Add a checksum to JavaScript and CSS asset URIs included within\ngenerated HTML, using the CRC32 algorithm.
\n- :meth:
\n~sphinx.application.Sphinx.require_sphinx
now allows the version\nrequirement to be specified as(major, minor)
.- #11011: Allow configuring a line-length limit for object signatures, via\n:confval:
\nmaximum_signature_line_length
and the domain-specific variants.\nIf the length of the signature (in characters) is greater than the configured\nlimit, each parameter in the signature will be split to its own logical line.\nThis behaviour may also be controlled by options on object description\ndirectives, for example :rst:dir:py:function:single-line-parameter-list
.
... (truncated)
\n320d0b6
Bump to 7.1.2 final06c1339
Ensure that linkcheck_anchors
is properly respected (#11544)89808c6
Emend attribution for GH-11431 in CHANGES (#11547)4958d2a
Fix flake8 E231 reported linting failure4862da8
Bump versiond8d73c1
Bump to 7.1.1 finala54e630
[internationalisation] Update message catalogues8452300
Fix multi-line copyright when SOURCE_DATE_EPOCH
is set (#11524)fe08cec
bump versione560f63
Bump to 7.1.0 finalSourced from furo's changelog.
\n\n\nChangelog
\n\n2023.07.26 -- Vigilant Volt
\n\n
\n- Fix compatiblity with Sphinx 7.1.
\n- Improve how content overflow is handled.
\n- Improve how literal blocks containing inline code are handled.
\n2023.05.20 -- Unassuming Ultramarine
\n\n
\n- \u2728 Add support for Sphinx 7.
\n- Drop support for Sphinx 5.
\n- Improve the screen-reader label for sidebar collapse.
\n- Make it easier to create derived themes from Furo.
\n- Bump all JS dependencies (NodeJS and npm packages).
\n2023.03.27 -- Tasty Tangerine
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Add missing class to Font Awesome examples
\n2023.03.23 -- Sassy Saffron
\n\n
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n
... (truncated)
\n35f5307
Prepare release: 2023.07.260a8bedc
Update changeloga92dd0c
Make _add_asset_hashes
a no-op with Sphinx 7.1f8db95b
Improve literals with inline code are handled1680dbe
Document the use of figclass
with figure
directivebeebd7e
Increase the specificity of the admonition title selector834e951
Setup uploads to Percy27bf2c0
[pre-commit.ci] pre-commit autoupdate (#672)c8b51d0
Fix how content overflow is handled80afa27
[pre-commit.ci] pre-commit autoupdate (#652)Sourced from blacken-docs's changelog.
\n\n\n1.15.0 (2023-07-09)
\n\n
\n- Drop Python 3.7 support.
\n
2e74dc4
Version 1.15.08ddb2f1
[pre-commit.ci] pre-commit autoupdate (#257)64fbca6
Drop Python 3.7 support (#256)f6a0817
[pre-commit.ci] pre-commit autoupdate (#255)cbdcb50
[pre-commit.ci] pre-commit autoupdate (#254)37fc70e
Upgrade requirements (#253)7bbe434
[pre-commit.ci] pre-commit autoupdate (#250)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2023.03.23 -- Sassy Saffron
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n- Replace the
\nmeta
generator tag with a comment.- Tweak labels with icons to prevent users selecting icons as text on touch.
\n2022.09.29 -- Quaint Quartz
\n\n
\n- Add ability to set arbitrary URLs for edit button.
\n- Add support for aligning text in MyST-parser generated tables.
\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n- Correctly select only Furo's own
\nsvg
in related pagesnav
.- Make numpy-style documentation headers consistent.
\n- Retitle the reference section.
\n- Update npm dependencies.
\n
... (truncated)
\n81139dd
Prepare release: 2023.03.23dafa73a
Update changelog82591ef
Allow all pre
tags to have overflows55b32f0
Update Python version classifiers (#626)cd6ecdd
Update linters82a1cec
Drop the black pin in blacken-docs483b05c
Increase the icon size in mobile headerab3ca77
Revert "Increase icon sizes (#554)"82376d2
Supply encoding. Fixes #621. (#622)193643f
Increase admonition title bg opacity (#555)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2023.03.27 -- Tasty Tangerine
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Add missing class to Font Awesome examples
\n2023.03.23 -- Sassy Saffron
\n\n
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n- Replace the
\nmeta
generator tag with a comment.- Tweak labels with icons to prevent users selecting icons as text on touch.
\n2022.09.29 -- Quaint Quartz
\n\n
\n- Add ability to set arbitrary URLs for edit button.
\n- Add support for aligning text in MyST-parser generated tables.
\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n
... (truncated)
\n2f61e10
Prepare release: 2023.03.275c7aedd
Update changelog0535011
Add missing class to Font Awesome examples (#629)811f1e7
Remove unused templates_path
(#627)961d4e9
Add a inline-code as an example heading48af8eb
Back to development81139dd
Prepare release: 2023.03.23dafa73a
Update changelog82591ef
Allow all pre
tags to have overflows55b32f0
Update Python version classifiers (#626)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2022.06.21 -- Opulent Opal
\n\n
\n- Fix
\ndocutils <= 0.17.x
compatibility- Bump to the latest Node.js LTS
\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
\n- \u2728 Advertise Sphinx 5 compatibility.
\n- \u2728 Change to
\nbasic-ng
as the base theme (from {pypi}sphinx-basic-ng
).- Document site-wide announcement banners.
\n- Drop the pin on pygments.
\n- Improve edit button, using
\nbasic-ng
'sedit-this-page
component.- Tweak headings to better match what users expect.
\n- Tweak how Sphinx's default HTML is rendered, using docutils post-transforms (this replaces parsing+modifying it with BeautifulSoup).
\n- When built with docutils 0.18, footnotes are rendered differently and stylised differently in Furo.
\n2022.04.07 -- Magical Mauve
\n\n
\n- \u2728 Make sphinx-copybutton look better.
\n- Add margin to indentations in line blocks.
\n- Add styling for non-arabic list styles
\n- Add support for
\nhtml_baseurl
.- Improve "Edit this page" icon to be more accessible.
\n- Improve
\nhtml_sidebars
example.- Tweak positioning of back to top on desktop.
\n2022.03.04 -- Lucent Lilac
\n\n
\n- Improve support for print media.
\n- Reduce heading sizes for h3 and below.
\n- Don't allow selecting headerlink content.
\n- Improve how overflow wrapping is handled.
\n- Add a reference from the configuration variables to the color customisation page.
\n2022.02.23 -- Keen Kobi
\n\n
... (truncated)
\na2e8f42
Prepare release: 2022.06.21d4967e5
Update changelog2969c23
[pre-commit.ci] pre-commit autoupdate (#455)2365493
Use findall from docutils only if it's availablebb3c355
Merge pull request #450 from polyzen/patch-14fb1a74
Bump to the latest Node.js LTS9970aac
Back to development1142fad
Prepare release: 2022.06.04.1211abb4
Update changelog06cdba6
Fix the edit this page URLSourced from furo's changelog.
\n\n\nChangelog
\n\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
\n- \u2728 Advertise Sphinx 5 compatibility.
\n- \u2728 Change to
\nbasic-ng
as the base theme (from {pypi}sphinx-basic-ng
).- Document site-wide announcement banners.
\n- Drop the pin on pygments.
\n- Improve edit button, using
\nbasic-ng
'sedit-this-page
component.- Tweak headings to better match what users expect.
\n- Tweak how Sphinx's default HTML is rendered, using docutils post-transforms (this replaces parsing+modifying it with BeautifulSoup).
\n- When built with docutils 0.18, footnotes are rendered differently and stylised differently in Furo.
\n2022.04.07 -- Magical Mauve
\n\n
\n- \u2728 Make sphinx-copybutton look better.
\n- Add margin to indentations in line blocks.
\n- Add styling for non-arabic list styles
\n- Add support for
\nhtml_baseurl
.- Improve "Edit this page" icon to be more accessible.
\n- Improve
\nhtml_sidebars
example.- Tweak positioning of back to top on desktop.
\n2022.03.04 -- Lucent Lilac
\n\n
\n- Improve support for print media.
\n- Reduce heading sizes for h3 and below.
\n- Don't allow selecting headerlink content.
\n- Improve how overflow wrapping is handled.
\n- Add a reference from the configuration variables to the color customisation page.
\n2022.02.23 -- Keen Kobi
\n\n
\n\n- \u2728 Add a "Back to Top" button that shows up when scrolling up.
\n- Add a URL to GitHub in Project-URLs.
\n- Break long words in the prev/next buttons.
\n- Fix includes in Kitchen sink.
\n
... (truncated)
\n1142fad
Prepare release: 2022.06.04.1211abb4
Update changelog06cdba6
Fix the edit this page URL43ce491
Back to developmentfb6e486
Prepare release: 2022.06.04090b02e
Update changelog098d51d
Fix the Just the Docs link7fa8d08
Change to a post-transform for wrapping math blocks and table51f1e52
Speed up determining if there's multiple toc entries99a6ff8
Update caniuse-lite NPM packageSourced from furo's changelog.
\n\n\nChangelog
\n\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n- Correctly select only Furo's own
\nsvg
in related pagesnav
.- Make numpy-style documentation headers consistent.
\n- Retitle the reference section.
\n- Update npm dependencies.
\n2022.06.21 -- Opulent Opal
\n\n
\n- Fix
\ndocutils <= 0.17.x
compatibility.- Bump to the latest Node.js LTS.
\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
\n- \u2728 Advertise Sphinx 5 compatibility.
\n- \u2728 Change to
\nbasic-ng
as the base theme (from {pypi}sphinx-basic-ng
).- Document site-wide announcement banners.
\n- Drop the pin on pygments.
\n- Improve edit button, using
\nbasic-ng
'sedit-this-page
component.- Tweak headings to better match what users expect.
\n- Tweak how Sphinx's default HTML is rendered, using docutils post-transforms (this replaces parsing+modifying it with BeautifulSoup).
\n- When built with docutils 0.18, footnotes are rendered differently and stylised differently in Furo.
\n2022.04.07 -- Magical Mauve
\n\n
\n\n- \u2728 Make sphinx-copybutton look better.
\n- Add margin to indentations in line blocks.
\n- Add styling for non-arabic list styles
\n- Add support for
\nhtml_baseurl
.
... (truncated)
\n08e6b38
Prepare release: 2022.09.159de7613
Update changeloga064929
Tweak changelog content style46f4adc
Revert "Add initial theme.conf content for eventual ablog support"45b839b
Set a minimum constraint on pygmentsa4af988
[pre-commit.ci] pre-commit autoupdate (#518)a72186f
[pre-commit.ci] pre-commit autoupdate (#504)9f41ee6
Add initial theme.conf content for eventual ablog support75e0361
Make numpy-style documentation headers consistent9d280e6
[pre-commit.ci] pre-commit autoupdate (#487)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2022.09.29 -- Quaint Quartz
\n\n
\n- Add ability to set arbitrary URLs for edit button.
\n- Add support for aligning text in MyST-parser generated tables.
\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n- Correctly select only Furo's own
\nsvg
in related pagesnav
.- Make numpy-style documentation headers consistent.
\n- Retitle the reference section.
\n- Update npm dependencies.
\n2022.06.21 -- Opulent Opal
\n\n
\n- Fix
\ndocutils <= 0.17.x
compatibility.- Bump to the latest Node.js LTS.
\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
\n- \u2728 Advertise Sphinx 5 compatibility.
\n- \u2728 Change to
\nbasic-ng
as the base theme (from {pypi}sphinx-basic-ng
).- Document site-wide announcement banners.
\n- Drop the pin on pygments.
\n- Improve edit button, using
\nbasic-ng
'sedit-this-page
component.- Tweak headings to better match what users expect.
\n- Tweak how Sphinx's default HTML is rendered, using docutils post-transforms (this replaces parsing+modifying it with BeautifulSoup).
\n- When built with docutils 0.18, footnotes are rendered differently and stylised differently in Furo.
\n2022.04.07 -- Magical Mauve
\n\n
... (truncated)
\n1375f9d
Prepare release: 2022.09.29af43607
Update changelogbc0fe52
Update user-facing documentation for edit button509c558
Modernise the edit-this-page.html
template5a0ceca
Add source_edit_link
as a theme configuration parameter (#510)52fc32f
Build documentation in pull requests149f77b
Fix stylesheet for MyST tables9af2e44
Support MyST table column alignment (#531)82dd61c
Back to developmentSourced from furo's changelog.
\n\n\nChangelog
\n\n2022.12.07 -- Reverent Raspberry
\n\n
\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n- Replace the
\nmeta
generator tag with a comment.- Tweak labels with icons to prevent users selecting icons as text on touch.
\n2022.09.29 -- Quaint Quartz
\n\n
\n- Add ability to set arbitrary URLs for edit button.
\n- Add support for aligning text in MyST-parser generated tables.
\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n- Correctly select only Furo's own
\nsvg
in related pagesnav
.- Make numpy-style documentation headers consistent.
\n- Retitle the reference section.
\n- Update npm dependencies.
\n2022.06.21 -- Opulent Opal
\n\n
\n- Fix
\ndocutils <= 0.17.x
compatibility.- Bump to the latest Node.js LTS.
\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
... (truncated)
\n1034267
Prepare release: 2022.12.07239e69f
Update changelog8faac34
Remove the no-longer-useful gh-pages workflowfaa27fb
Fix the hyperlink warning9849ec0
Forward the arguments to stb serve
e0dc9b8
[pre-commit.ci] pre-commit autoupdate (#588)9842e25
Clarify what the edit button does (#587)0d2cf0b
[pre-commit.ci] pre-commit autoupdate (#578)b7d8866
Revert "Document that GCC is using Furo! (#575)" (#577)0ab12bb
Improve footnote presentation with docutils 0.18+ (#576)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2023.05.20 -- Unassuming Ultramarine
\n\n
\n- \u2728 Add support for Sphinx 7.
\n- Drop support for Sphinx 5.
\n- Improve the screen-reader label for sidebar collapse.
\n- Make it easier to create derived themes from Furo.
\n- Bump all JS dependencies (NodeJS and npm packages).
\n2023.03.27 -- Tasty Tangerine
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Add missing class to Font Awesome examples
\n2023.03.23 -- Sassy Saffron
\n\n
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n- Replace the
\nmeta
generator tag with a comment.- Tweak labels with icons to prevent users selecting icons as text on touch.
\n2022.09.29 -- Quaint Quartz
\n\n
\n\n- Add ability to set arbitrary URLs for edit button.
\n
... (truncated)
\nd2c9ca8
Prepare release: 2023.05.20662d21b
Update changelog591780b
Bump compatible Sphinx versionc2e7837
Bump NodeJS and package versionsdd85574
Use the reference HtmlFormatter class defined on PygmentsBridge. (#657)6bff419
Fix broken link (#654)e7f732e
Improve the screen-reader label for sidebar collapse48c0bf2
Drop the check for the theme name1b17d81
[pre-commit.ci] pre-commit autoupdate (#646)4904fd5
Remove Python 3.8 constraint from Black pre-commit config (#647)