@@ -7,7 +7,7 @@ Unreleased
7
7
8
8
- Drop support for Python 3.7. :pr: `2588 `
9
9
- Use modern packaging metadata with ``pyproject.toml `` instead of ``setup.cfg ``.
10
- :pr: `326 `
10
+ :pr: `2438 `
11
11
- Use ``flit_core `` instead of ``setuptools `` as build backend. :pr: `2543 `
12
12
- Deprecate the ``__version__ `` attribute. Use feature detection, or
13
13
``importlib.metadata.version("click") ``, instead. :issue: `2598 `
@@ -41,7 +41,7 @@ Unreleased
41
41
:pr: `2517 `
42
42
- Keep stdout and stderr streams independent in ``CliRunner ``. Always
43
43
collect stderr output and never raise an exception. Add a new
44
- output` stream to simulate what the user sees in its terminal. Removes
44
+ output stream to simulate what the user sees in its terminal. Removes
45
45
the ``mix_stderr `` parameter in ``CliRunner ``. :issue: `2522 ` :pr: `2523 `
46
46
- ``Option.show_envvar `` now also shows environment variable in error messages.
47
47
:issue: `2695 ` :pr: `2696 `
@@ -50,7 +50,7 @@ Unreleased
50
50
``Context.with_resource `` to be closed on exit as well. :pr: `2680 `
51
51
- Add ``ProgressBar(hidden: bool) `` to allow hiding the progressbar. :issue: `2609 `
52
52
- A ``UserWarning `` will be shown when multiple parameters attempt to use the
53
- same name. :issue: `2396` `
53
+ same name. :issue: `2396 `
54
54
- When using ``Option.envvar `` with ``Option.flag_value ``, the ``flag_value ``
55
55
will always be used instead of the value of the environment variable.
56
56
:issue: `2746 ` :pr: `2788 `
@@ -60,7 +60,7 @@ Unreleased
60
60
for groups, ``False `` for commands), the exit code is 2 instead of 0.
61
61
:issue: `1489 ` :pr: `1489 `
62
62
- Contexts created during shell completion are closed properly, fixing
63
- ``ResourceWarning``s when using ``click.File ``. :issue: `2644 ` :pr: `2800 `
63
+ a ``ResourceWarning `` when using ``click.File ``. :issue: `2644 ` :pr: `2800 `
64
64
:pr: `2767 `
65
65
- ``click.edit(filename) `` now supports passing an iterable of filenames in
66
66
case the editor supports editing multiple files at once. Its return type
@@ -88,14 +88,14 @@ Unreleased
88
88
- Parameters cannot be required nor prompted or an error is raised.
89
89
- A warning will be printed when something deprecated is used.
90
90
91
- - Add a ``catch_exceptions `` parameter to :class: ``CliRunner` `. If
92
- ``catch_exceptions `` is not passed to :meth: ``CliRunner.invoke` `,
93
- the value from :class: ` CliRunner `. :issue: `2817 ` :pr: `2818 `
91
+ - Add a ``catch_exceptions `` parameter to ``CliRunner ``. If
92
+ ``catch_exceptions `` is not passed to ``CliRunner.invoke ``,
93
+ the value from `` CliRunner ` `. :issue: `2817 ` :pr: `2818 `
94
94
- ``Option.flag_value `` will no longer have a default value set based on
95
95
``Option.default `` if ``Option.is_flag `` is ``False ``. This results in
96
96
``Option.default `` not needing to implement `__bool__ `. :pr: `2829 `
97
97
- Incorrect ``click.edit `` typing has been corrected. :pr: `2804 `
98
- - :class: ``Choice` ` is now generic and supports any iterable value.
98
+ - ``Choice `` is now generic and supports any iterable value.
99
99
This allows you to use enums and other non-``str `` values. :pr: `2796 `
100
100
:issue: `605 `
101
101
0 commit comments