Skip to content

Commit

Permalink
Updated CHANGES.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBackx committed Nov 2, 2024
1 parent 76acdfd commit 2daf826
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@ Unreleased
- When generating a command's name from a decorated function's name, the
suffixes ``_command``, ``_cmd``, ``_group``, and ``_grp`` are removed.
:issue:`2322`
- Parameters can now be deprecated using ``deprecated: bool | str``. These cannot
be required nor prompted and are highlighted in usage output. Using them
will result in a warning being printed. :issue:`2263` :pr:`2271`
- ``deprecated: bool | str`` can now be used on options and arguments. This
previously was only available for ``Command``. The message can now also be
customised by using a ``str`` instead of a ``bool``. :issue:`2263` :pr:`2271`

- ``Command.deprecated`` formatting in ``--help`` changed from
``(Deprecated) help`` to ``help (DEPRECATED)``.
- Parameters cannot be required nor prompted or an error is raised.
- A warning will be printed when something deprecated is used.


Version 8.1.8
Expand Down

0 comments on commit 2daf826

Please sign in to comment.