Sourced from janus's changelog.
\n\n\n0.5.0 (2020-04-23)
\n\n
\n- Remove explicit loop arguments and forbid creating queues outside event loops #246
\n0.4.0 (2018-07-28)
\n\n
\n- Add
\npy.typed
macro #89- Drop python 3.4 support and fix minimal version python3.5.3 #88
\n- Add property with that indicates if queue is closed #86
\n0.3.2 (2018-07-06)
\n\n
\n- Fixed python 3.7 support #97
\n0.3.1 (2018-01-30)
\n\n
\n- Fixed bug with join() in case tasks are added by sync_q.put() #75
\n0.3.0 (2017-02-21)
\n\n
\n- Expose unfinished_tasks property #34
\n0.2.4 (2016-12-05)
\n\n
\n- Restore tarball deploying
\n0.2.3 (2016-07-12)
\n\n
\n- Fix exception type
\n0.2.2 (2016-07-11)
\n\n
\n- Update asyncio.async() to use asyncio.ensure_future() #6
\n0.2.1 (2016-03-24)
\n\n
\n- Fix python setup.py test command #4
\n0.2.0 (2015-09-20)
\n ... (truncated)\n
8e89b45
Bump to 0.5.0ec8592b
Fix up Python 3.8 loop argument warnings (#246)2543af6
Bump coverage from 5.0.4 to 5.103d1b36
Bump tox from 3.14.5 to 3.14.68219c38
Bump coverage from 5.0.3 to 5.0.485ec71d
Bump pytest from 5.4.0 to 5.4.13b974c9
Bump pytest from 5.3.5 to 5.4.0282dc12
Bump mypy from 0.761 to 0.7701364fb3
Bump tox from 3.14.4 to 3.14.5dc519bb
Bump tox from 3.14.3 to 3.14.4b8e2a45
0.12.006580c6
Update changelogb45de23
Fixed failing test case, 'test_asyncio_marker_without_loop'.238cced
Put event_loop first among the fixtures of asyncio tests, fixes #154.e5e3dc7
Added unittests for issue #154.a7e5795
0.12.0 open for business!1026c39
0.11.0ab2b140
Test on Python 3.8, drop 3.3 and 3.46397a22
plugin: Use pytest 5.4.0 new Function API21a0f94
Replace yield_fixture() by fixture()53f3da7
Prepare for releasee99569d
A line is added to the changelog.4099b63
One import is not needed68513b3
Clarify names and comments, according to yanlend comments 26 May907e8f2
FIX new test_cases on python 3.5 & 3.651d986c
To solve test cases that fail:f97e900
1) Test case (test_async_fixtures_with_finalizer) refactoring to pass on pyth...c1131f8
1) A new test case that fails with 0.12.0, and pass with this commit.7a255bc
0.13.0 open for businessb8e2a45
0.12.0Sourced from pytest's releases.
\n\n\n6.0.0
\npytest 6.0.0 (2020-07-28)
\n(Please see the full set of changes for this release also in the 6.0.0rc1 notes below)
\nBreaking Changes
\n\n
\n- \n
\n#5584: PytestDeprecationWarning are now errors by default.
\nFollowing our plan to remove deprecated features with as little disruption as\npossible, all warnings of type
\nPytestDeprecationWarning
now generate errors\ninstead of warning messages.The affected features will be effectively removed in pytest 6.1, so please consult the\nDeprecations and Removals\nsection in the docs for directions on how to update existing code.
\nIn the pytest
\n6.0.X
series, it is possible to change the errors back into warnings as a\nstopgap measure by adding this to yourpytest.ini
file:\n[pytest]\nfilterwarnings =\n ignore::pytest.PytestDeprecationWarning\n
But this will stop working when pytest
\n6.1
is released.If you have concerns about the removal of a specific feature, please add a\ncomment to #5584.
\n- \n
\n#7472: The
\nexec_()
andis_true()
methods of_pytest._code.Frame
have been removed.Features
\n\n
\n- #7464: Added support for NO_COLOR and FORCE_COLOR environment variables to control colored output.
\nImprovements
\n\n
\n- #7467:
\n--log-file
CLI option andlog_file
ini marker now create subdirectories if needed.- #7489: The pytest.raises function has a clearer error message when
\nmatch
equals the obtained string but is not a regex match. In this case it is suggested to escape the regex.Bug Fixes
\n\n
\n\n- #7392: Fix the reported location of tests skipped with
\n@pytest.mark.skip
when--runxfail
is used.
Sourced from pytest's changelog.
\n41a4539
Add link to 6.0.0rc1 changelog45ced1d
Update doc/en/announce/release-6.0.0.rst1e4b8d4
Prepare release version 6.0.03802982
Support generating major releases using issue comments (#7548)c2c0b7a
Merge pull request #7545 from asottile/pylib_in_docs9818899
remove usage of pylib in docs3a060b7
Revert change to traceback repr (#7535)7ec6401
Change pytest deprecation warnings into errors for 6.0 release (#7362)a9799f0
Merge pull request #7531 from bluetech/changelog-mypy-version102360b
Merge pull request #7519 from hroncok/pytest_warning_captured_deprecatedSourced from black's changelog.
\n\n\n20.8b1
\nPackaging
\n\n
\n- explicitly depend on Click 7.1.2 or newer as
\nBlack
no longer works with versions\nolder than 7.020.8b0
\nBlack
\n\n
\n\n- \n
\nre-implemented support for explicit trailing commas: now it works consistently within\nany bracket pair, including nested structures (#1288 and duplicates)
\n- \n
\n\n
Black
now reindents docstrings when reindenting code around it (#1053)- \n
\n\n
Black
now shows colored diffs (#1266)- \n
\n\n
Black
is now packaged using 'py3' tagged wheels (#1388)- \n
\n\n
Black
now supports Python 3.8 code, e.g. star expressions in return statements\n(#1121)- \n
\n\n
Black
no longer normalizes capital R-string prefixes as those have a\ncommunity-accepted meaning (#1244)- \n
\n\n
Black
now uses exit code 2 when specified configuration file doesn't exit (#1361)- \n
\n\n
Black
now works on AWS Lambda (#1141)- \n
\nadded
\n--force-exclude
argument (#1032)- \n
\nremoved deprecated
\n--py36
option (#1236)- \n
\nfixed
\n--diff
output when EOF is encountered (#526)- \n
\nfixed
\n# fmt: off
handling around decorators (#560)- \n
\nfixed unstable formatting with some
\n# type: ignore
comments (#1113)- \n
\nfixed invalid removal on organizing brackets followed by indexing (#1575)
\n- \n
\nintroduced
\nblack-primer
, a CI tool that allows us to run regression tests against\nexisting open source users of Black (#1402)- \n
\nintroduced property-based fuzzing to our test suite based on Hypothesis and\nHypothersmith (#1566)
\n- \n
\nimplemented experimental and disabled by default long string rewrapping (#1132),\nhidden under a
\n--experimental-string-processing
flag while it's being worked on;
Sourced from pytest's releases.
\n\n\n6.1.0
\npytest 6.1.0 (2020-09-26)
\nBreaking Changes
\n\n
\n- \n
\n#5585: As per our policy, the following features which have been deprecated in the 5.X series are now\nremoved:
\n\n
\n- The
\nfuncargnames
read-only property ofFixtureRequest
,Metafunc
, andFunction
classes. Usefixturenames
attribute.- \n
@pytest.fixture
no longer supports positional arguments, pass all arguments by keyword instead.- Direct construction of
\nNode
subclasses now raise an error, usefrom_parent
instead.- The default value for
\njunit_family
has changed toxunit2
. If you require the old format, addjunit_family=xunit1
to your configuration file.- The
\nTerminalReporter
no longer has awriter
attribute. Plugin authors may use the public functions of theTerminalReporter
instead of accessing theTerminalWriter
object directly.- The
\n--result-log
option has been removed. Users are recommended to use the pytest-reportlog plugin instead.For more information consult\nDeprecations and Removals in the docs.
\nDeprecations
\n\n
\n- \n
\n#6981: The
\npytest.collect
module is deprecated: all its names can be imported frompytest
directly.- \n
\n#7097: The
\npytest._fillfuncargs
function is deprecated. This function was kept\nfor backward compatibility with an older plugin.It's functionality is not meant to be used directly, but if you must replace\nit, use function._request._fillfixtures() instead, though note this is not\na public API and may break in the future.
\n- \n
\n#7210: The special
\n-k '-expr'
syntax to-k
is deprecated. Use-k 'not expr'
\ninstead.The special
\n-k 'expr:'
syntax to-k
is deprecated. Please open an issue\nif you use this and want a replacement.- \n
\n#7255: The pytest_warning_captured <_pytest.hookspec.pytest_warning_captured> hook is deprecated in favor\nof pytest_warning_recorded <_pytest.hookspec.pytest_warning_recorded>, and will be removed in a future version.
\n- \n
\n#7648: The
\ngethookproxy()
andisinitpath()
methods ofFSCollector
andPackage
are deprecated;\nuseself.session.gethookproxy()
andself.session.isinitpath()
instead.\nThis should work on all pytest versions.Features
\n\n
\n- #7667: New
\n--durations-min
command-line flag controls the minimal duration for inclusion in the slowest list of tests shown by--durations
. Previously this was hard-coded to0.005s
.Improvements
\n\n
Sourced from pytest's changelog.
\n868bc00
Prepare release version 6.1.00b327cc
Merge pull request #7796 from bluetech/changelog-cleanupsd3c746e
changelog: some consistency cleanupsd3f47bf
Improved 'Declaring new hooks' section in docs. (#7782)3db2489
Merge pull request #7784 from nicoddemus/use-new-pip-solver-77838215625
Use new pip resolver in plugins tox env5cfd7c0
Merge pull request #7780 from bluetech/finala99ca87
Mark some public and to-be-public classes as @final
050c2df
Use multiple issue template types and mention Discussions (#7739)cdfdb3a
Add docs about reusing fixtures from other projects (#7772)Sourced from janus's changelog.
\n\n\nChanges
\n0.5.0 (2020-04-23)
\n\n
\n- Remove explicit loop arguments and forbid creating queues outside event loops #246
\n0.4.0 (2018-07-28)
\n\n
\n- Add
\npy.typed
macro #89- Drop python 3.4 support and fix minimal version python3.5.3 #88
\n- Add property with that indicates if queue is closed #86
\n0.3.2 (2018-07-06)
\n\n
\n- Fixed python 3.7 support #97
\n0.3.1 (2018-01-30)
\n\n
\n- Fixed bug with join() in case tasks are added by sync_q.put() #75
\n0.3.0 (2017-02-21)
\n\n
\n- Expose unfinished_tasks property #34
\n0.2.4 (2016-12-05)
\n\n
\n- Restore tarball deploying
\n0.2.3 (2016-07-12)
\n\n
\n- Fix exception type
\n0.2.2 (2016-07-11)
\n\n
\n- Update asyncio.async() to use asyncio.ensure_future() #6
\n0.2.1 (2016-03-24)
\n\n
\n\n- Fix python setup.py test command #4
\n
d186724
Fix yamldbb2d7b
Fix deploy script18df625
Bump to 0.6.0a50b7ec
Test on ubuntu only, the library has no platform specific dependenciesb599d94
Fix workflow9897fca
Setup github workflowscde6918
Drop Python 3.5, test on Python 3.9, format with black/isort5f04d79
Support Python 3.9 officiallyac23eb7
janus: remove unused type ignores (#287)0da8f95
Make all tests non-skipped againSourced from asgiref's changelog.
\n\n\n3.3.0 (2020-10-09)
\n\n
\n- sync_to_async now defaults to thread-sensitive mode being on
\n- async_to_sync now works inside of forked processes
\n- WsgiToAsgi now correctly clamps its response body when Content-Length is set
\n3.2.10 (2020-08-18)
\n\n
\n- Fixed bugs due to bad WeakRef handling introduced in 3.2.8
\n3.2.9 (2020-06-16)
\n\n
\n- Fixed regression with exception handling in 3.2.8 related to the contextvars fix.
\n3.2.8 (2020-06-15)
\n\n
\n- Fixed small memory leak in local.Local
\n- contextvars are now persisted through AsyncToSync
\n3.2.7 (2020-03-24)
\n\n
\n- Bug fixed in local.Local where deleted Locals would occasionally inherit\ntheir storage into new Locals due to memory reuse.
\n3.2.6 (2020-03-23)
\n\n
\n- local.Local now works in all threading situations, no longer requires\nperiodic garbage collection, and works with libraries that monkeypatch\nthreading (like gevent)
\n3.2.5 (2020-03-11)
\n\n
\n- self is now preserved on methods by async_to_sync
\n3.2.4 (2020-03-10)
\n\n
7dba5ff
Releasing 3.3.0e1e0dd9
Added ZeroCopy extension3834d13
Added rpc.py to Implementations (#198)03b0dbb
Clamped WsgiToAsgi response body using Content-Length valuecfd82e4
Fix linting with unused import removalcc1877e
Fix import sorting in previous commit.7becc9d
Making thread_sensitive=True the default66a6e68
Fixed #194: Made async_to_sync work inside a fork4ab9d8e
Fixed #193: Bumped docs version to 3.01c9d063
Clarified "Optional" meaning (#190)b4482ae
0.6.0eaccd3e
Update Changelog2de90cf
Test on 3.962b4c27
Update .travis.yml4083c73
Removed pypy3 for ppc64le26e795b
Update .travis.ymlbd154cf
Update .travis.yml7ae0e2a
Update .travis.yml84eeb6c
Update .travis.ymlc48f5b0
Proxy name and mode propertiesSourced from pytest's releases.
\n\n\n6.2.0
\npytest 6.2.0 (2020-12-12)
\nBreaking Changes
\n\n
\n- #7808: pytest now supports python3.6+ only.
\nDeprecations
\n\n
\n- \n
\n#7469: Directly constructing/calling the following classes/functions is now deprecated:
\n\n
\n- \n
_pytest.cacheprovider.Cache
- \n
_pytest.cacheprovider.Cache.for_config()
- \n
_pytest.cacheprovider.Cache.clear_cache()
- \n
_pytest.cacheprovider.Cache.cache_dir_from_config()
- \n
_pytest.capture.CaptureFixture
- \n
_pytest.fixtures.FixtureRequest
- \n
_pytest.fixtures.SubRequest
- \n
_pytest.logging.LogCaptureFixture
- \n
_pytest.pytester.Pytester
- \n
_pytest.pytester.Testdir
- \n
_pytest.recwarn.WarningsRecorder
- \n
_pytest.recwarn.WarningsChecker
- \n
_pytest.tmpdir.TempPathFactory
- \n
_pytest.tmpdir.TempdirFactory
These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.
\n- \n
\n#7530: The
\n--strict
command-line option has been deprecated, use--strict-markers
instead.We have plans to maybe in the future to reintroduce
\n--strict
and make it an encompassing flag for all strictness\nrelated options (--strict-markers
and--strict-config
at the moment, more might be introduced in the future).- \n
\n#7988: The
\n@pytest.yield_fixture
decorator/function is now deprecated. Use pytest.fixture instead.\n
yield_fixture
has been an alias forfixture
for a very long time, so can be search/replaced safely.Features
\n\n
\n\n- \n
\n#5299: pytest now warns about unraisable exceptions and unhandled thread exceptions that occur in tests on Python>=3.8.\nSee unraisable for more information.
\n- \n
\n#7425: New pytester fixture, which is identical to testdir but its methods return pathlib.Path when appropriate instead of
\npy.path.local
.This is part of the movement to use pathlib.Path objects internally, in order to remove the dependency to
\npy
in the future.Internally, the old Testdir <_pytest.pytester.Testdir> is now a thin wrapper around Pytester <_pytest.pytester.Pytester>, preserving the old interface.
\n
Sourced from pytest's changelog.
\ne7073af
Prepare release version 6.2.0683f29f
Merge pull request #8129 from bluetech/docs-pygments-workaround0feeddf
doc: temporary workaround for pytest-pygments lexing errorb478275
Merge pull request #8128 from bluetech/skip-reason-empty3302ff9
terminal: when the skip/xfail is empty, don't show it as "()"59bd0f6
Merge pull request #8126 from bluetech/tox-regen-pretend-scm26298ff1
tox: use pip legacy resolver for regen jobd51ecbd
Merge pull request #8125 from bluetech/tox-rm-pip-reqf237b07
tox: remove requires: pip>=20.3.195e0e19
Merge pull request #8124 from bluetech/s0undt3ch-feature/skip-context-hook7aa574a
0.15.0dadff91
Remove poetryd4b79ea
Lint22d91b2
Black linting5c47b78
Covecov22e338a
Fix CI70cbdef
Travis -> GitHub Actions740af18
Close event loops when replacing thema516134
plugin: Set unused_tcp_port_factory scope to 'session'1bb7f30
refactor: Removed the "_35" and "_36" suffixes from test modules.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.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 click's releases.
\n\n\n8.0.0
\nNew major versions of all the core Pallets libraries, including Click 8.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://click.palletsprojects.com/changes/#version-8-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from click's changelog.
\n\n\nVersion 8.0.0
\nReleased 2021-05-11
\n\n
\n\n- Drop support for Python 2 and 3.5.
\n- Colorama is always installed on Windows in order to provide style\nand color support. :pr:
\n1784
- Adds a repr to Command, showing the command name for friendlier\ndebugging. :issue:
\n1267
, :pr:1295
- Add support for distinguishing the source of a command line\nparameter. :issue:
\n1264
, :pr:1329
- Add an optional parameter to
\nProgressBar.update
to set the\ncurrent_item
. :issue:1226
, :pr:1332
- \n
version_option
usesimportlib.metadata
(or the\nimportlib_metadata
backport) instead ofpkg_resources
.\n:issue:1582
- If validation fails for a prompt with
\nhide_input=True
, the value\nis not shown in the error message. :issue:1460
- An
\nIntRange
orFloatRange
option shows the accepted range in\nits help text. :issue:1525
, :pr:1303
- \n
IntRange
andFloatRange
bounds can be open (<
) instead\nof closed (<=
) by settingmin_open
andmax_open
. Error\nmessages have changed to reflect this. :issue:1100
- An option defined with duplicate flag names (
\n"--foo/--foo"
)\nraises aValueError
. :issue:1465
- \n
echo()
will not fail when using pytest'scapsys
fixture on\nWindows. :issue:1590
- Resolving commands returns the canonical command name instead of the\nmatched name. This makes behavior such as help text and\n
\nContext.invoked_subcommand
consistent when using patterns like\nAliasedGroup
. :issue:1422
- The
\nBOOL
type accepts the values "on" and "off". :issue:1629
- A
\nGroup
withinvoke_without_command=True
will always invoke\nits result callback. :issue:1178
- \n
nargs == -1
andnargs > 1
is parsed and validated for\nvalues from environment variables and defaults. :issue:729
- Detect the program name when executing a module or package with\n
\npython -m name
. :issue:1603
- Include required parent arguments in help synopsis of subcommands.\n:issue:
\n1475
- Help for boolean flags with
\nshow_default=True
shows the flag\nname instead ofTrue
orFalse
. :issue:1538
- Non-string objects passed to
\nstyle()
andsecho()
will be\nconverted to string. :pr:1146
- \n
edit(require_save=True)
will detect saves for editors that exit\nvery fast on filesystems with 1 second resolution. :pr:1050
- New class attributes make it easier to use custom core objects\nthroughout an entire application. :pr:
\n938
... (truncated)
\n9da1669
Merge pull request #1877 from pallets/release-8.0.0dfa6369
release version 8.0.0b862cb1
update requirementsf51584c
Merge pull request #1876 from pallets/pre-commit-ci-schedule804c71c
update pre-commit monthlyac655f8
Merge pull request #1872 from janLuke/fix/formatter_write_textdcd991d
HelpFormatter.write_text uses full width5215fc1
Merge pull request #1870 from AdrienPensart/allow_colors_in_metavare3e1691
repr is erasing ANSI escapes codes482e6e6
Merge pull request #1875 from pallets/pre-commit-ci-update-configSourced from jinja2's releases.
\n\n\n3.0.0
\nNew major versions of all the core Pallets libraries, including Jinja 3.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://jinja.palletsprojects.com/changes/#version-3-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from jinja2's changelog.
\n\n\nVersion 3.0.0
\nReleased 2021-05-11
\n\n
\n\n- Drop support for Python 2.7 and 3.5.
\n- Bump MarkupSafe dependency to >=1.1.
\n- Bump Babel optional dependency to >=2.1.
\n- Remove code that was marked deprecated.
\n- Add type hinting. :pr:
\n1412
- Use :pep:
\n451
API to load templates with\n:class:~loaders.PackageLoader
. :issue:1168
- Fix a bug that caused imported macros to not have access to the\ncurrent template's globals. :issue:
\n688
- Add ability to ignore
\ntrim_blocks
using+%}
. :issue:1036
- Fix a bug that caused custom async-only filters to fail with\nconstant input. :issue:
\n1279
- Fix UndefinedError incorrectly being thrown on an undefined variable\ninstead of
\nUndefined
being returned on\nNativeEnvironment
on Python 3.10. :issue:1335
- Blocks can be marked as
\nrequired
. They must be overridden at\nsome point, but not necessarily by the direct child. :issue:1147
- Deprecate the
\nautoescape
andwith
extensions, they are\nbuilt-in to the compiler. :issue:1203
- The
\nurlize
filter recognizesmailto:
links and takes\nextra_schemes
(orenv.policies["urlize.extra_schemes"]
) to\nrecognize other schemes. It tries to balance parentheses within a\nURL instead of ignoring trailing characters. The parsing in general\nhas been updated to be more efficient and match more cases. URLs\nwithout a scheme are linked ashttps://
instead ofhttp://
.\n:issue:522, 827, 1172
, :pr:1195
- Filters that get attributes, such as
\nmap
andgroupby
, can\nuse a false or empty value as a default. :issue:1331
- Fix a bug that prevented variables set in blocks or loops from\nbeing accessed in custom context functions. :issue:
\n768
- Fix a bug that caused scoped blocks from accessing special loop\nvariables. :issue:
\n1088
- Update the template globals when calling\n
\nEnvironment.get_template(globals=...)
even if the template was\nalready loaded. :issue:295
- Do not raise an error for undefined filters in unexecuted\nif-statements and conditional expressions. :issue:
\n842
- Add
\nis filter
andis test
tests to test if a name is a\nregistered filter or test. This allows checking if a filter is\navailable in a template before using it. Test functions can be\ndecorated with@pass_environment
,@pass_eval_context
,\nor@pass_context
. :issue:842
, :pr:1248
- Support
\npgettext
andnpgettext
(message contexts) in i18n\nextension. :issue:441
- The
\n|indent
filter'swidth
argument can be a string to
... (truncated)
\n417f822
Merge pull request #1417 from pallets/release-3.0.0b15fd1c
release version 3.0.0eed1546
update requirements9627e73
Merge pull request #1416 from pallets/pre-commit-ci-schedule6630044
update pre-commit monthlye1bf3bc
Merge pull request #1415 from pallets/pre-commit-ci-update-config0798a66
[pre-commit.ci] pre-commit autoupdate53fea33
Merge pull request #1414 from pallets/typing-markerba1f27e
fix py.typed in manifest1a3342b
Merge pull request #1412 from pallets/typingSourced from itsdangerous's releases.
\n\n\n2.0.0
\nNew major versions of all the core Pallets libraries, including ItsDangerous 2.0, have been released! :tada:
\n\n
\n- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
\n- Read the full list of changes: https://itsdangerous.palletsprojects.com/changes/#version-2-0-0
\n- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
\n- Follow our blog, Twitter, or GitHub to see future announcements.
\nThis represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
\n
Sourced from itsdangerous's changelog.
\n\n\nVersion 2.0.0
\nReleased 2021-05-11
\n\n
\n- Drop support for Python 2 and 3.5.
\n- JWS support (
\nJSONWebSignatureSerializer
,\nTimedJSONWebSignatureSerializer
) is deprecated. Use a dedicated\nJWS/JWT library such as authlib instead. :issue:129
- Importing
\nitsdangerous.json
is deprecated. Import Python's\njson
module instead. :pr:152
- Simplejson is no longer used if it is installed. To use a different\nlibrary, pass it as
\nSerializer(serializer=...)
. :issue:146
- \n
datetime
values are timezone-aware withtimezone.utc
. Code\nusingTimestampSigner.unsign(return_timestamp=True)
or\nBadTimeSignature.date_signed
may need to change. :issue:150
- If a signature has an age less than 0, it will raise\n
\nSignatureExpired
rather than appearing valid. This can happen if\nthe timestamp offset is changed. :issue:126
- \n
BadTimeSignature.date_signed
is always adatetime
object\nrather than anint
in some cases. :issue:124
- Added support for key rotation. A list of keys can be passed as\n
\nsecret_key
, oldest to newest. The newest key is used for\nsigning, all keys are tried for unsigning. :pr:141
- Removed the default SHA-512 fallback signer from\n
\ndefault_fallback_signers
. :issue:155
- Add type information for static typing tools. :pr:
\n186
Version 1.1.0
\nReleased 2018-10-26
\n\n
\n- Change default signing algorithm back to SHA-1. :pr:
\n113
- Added a default SHA-512 fallback for users who used the yanked 1.0.0\nrelease which defaulted to SHA-512. :pr:
\n114
- Add support for fallback algorithms during deserialization to\nsupport changing the default in the future without breaking existing\nsignatures. :pr:
\n113
- Changed capitalization of packages back to lowercase as the change\nin capitalization broke some tooling. :pr:
\n113
Version 1.0.0
\nReleased 2018-10-18
\nYANKED
\n\n
... (truncated)
\nd101100
Merge pull request #235 from pallets/release-2.0.0ca0f59a
release version 2.0.0d1ed89f
update requirementsd1722ea
Merge pull request #234 from pallets/pre-commit-ci-scheduled1eb7aa
update pre-commit monthlyacbc456
Merge pull request #233 from pallets/pre-commit-ci-update-config04e485a
[pre-commit.ci] pre-commit autoupdatec0e6b48
Merge pull request #232 from pallets/pre-commit-ci-update-config6a9df83
[pre-commit.ci] pre-commit autoupdate477f42c
Merge pull request #231 from pallets/dependabot/pip/pre-commit-2.12.1Sourced 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