CHANGES: fix rst markup.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Andreas Backx · committed by Andreas Backx · parent 24969c0 · Browse files · 1 file·+8 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+8 added−8 removed
- other:+8 added−8 removed
Provenance
- Commit
8fcf9b0- Tree
34523f6- Author
Andreas Backx <andreas@backx.org>- Committer
Andreas Backx <andreas@backx.org>- Parent
24969c0
1 file changed+8 added−8 removed
modified:CHANGES.rst+8 added-8 removed
5 unmodified lines6 Unreleased7 8 - Drop support for Python 3.7. :pr:`2588`9 - Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``.10- :pr:`326`10+ :pr:`2438`11 - Use ``flit_core`` instead of ``setuptools`` as build backend. :pr:`2543`12 - Deprecate the ``__version__`` attribute. Use feature detection, or13 ``importlib.metadata.version("click")``, instead. :issue:`2598`14 - ``BaseCommand`` is deprecated. ``Command`` is the base class for all25 unmodified lines40 items used in ``get_help_record`` to render help text. :issue:`2516`41 :pr:`2517`42 - Keep stdout and stderr streams independent in ``CliRunner``. Always43 collect stderr output and never raise an exception. Add a new44- output` stream to simulate what the user sees in its terminal. Removes44+ output stream to simulate what the user sees in its terminal. Removes45 the ``mix_stderr`` parameter in ``CliRunner``. :issue:`2522` :pr:`2523`46 - ``Option.show_envvar`` now also shows environment variable in error messages.47 :issue:`2695` :pr:`2696`48 - ``Context.close`` will be called on exit. This results in all49 ``Context.call_on_close`` callbacks and context managers added via50 ``Context.with_resource`` to be closed on exit as well. :pr:`2680`51 - Add ``ProgressBar(hidden: bool)`` to allow hiding the progressbar. :issue:`2609`52 - A ``UserWarning`` will be shown when multiple parameters attempt to use the53- same name. :issue:`2396``53+ same name. :issue:`2396`54 - When using ``Option.envvar`` with ``Option.flag_value``, the ``flag_value``55 will always be used instead of the value of the environment variable.56 :issue:`2746` :pr:`2788`57 - Add ``Choice.get_invalid_choice_message`` method for customizing the1 unmodified line59 - If help is shown because ``no_args_is_help`` is enabled (defaults to ``True``60 for groups, ``False`` for commands), the exit code is 2 instead of 0.61 :issue:`1489` :pr:`1489`62 - Contexts created during shell completion are closed properly, fixing63- ``ResourceWarning``s when using ``click.File``. :issue:`2644` :pr:`2800`63+ a ``ResourceWarning`` when using ``click.File``. :issue:`2644` :pr:`2800`64 :pr:`2767`65 - ``click.edit(filename)`` now supports passing an iterable of filenames in66 case the editor supports editing multiple files at once. Its return type67 is now also typed: ``AnyStr`` if ``text`` is passed, otherwise ``None``.19 unmodified lines87 ``(Deprecated) help`` to ``help (DEPRECATED)``.88 - Parameters cannot be required nor prompted or an error is raised.89 - A warning will be printed when something deprecated is used.90 91-- Add a ``catch_exceptions`` parameter to :class:``CliRunner``. If92- ``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``. If92+ ``catch_exceptions`` is not passed to ``CliRunner.invoke``,93+ the value from ``CliRunner``. :issue:`2817` :pr:`2818`94 - ``Option.flag_value`` will no longer have a default value set based on95 ``Option.default`` if ``Option.is_flag`` is ``False``. This results in96 ``Option.default`` not needing to implement `__bool__`. :pr:`2829`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 This allows you to use enums and other non-``str`` values. :pr:`2796`100 :issue:`605`101 102 Version 8.1.81119 unmodified lines