- Update to 1.9.7:
* Fix click_version check when build metadata is included.
* Fix minor Typer incompatibilities, most notably default panel placements.
* Added default_panels_first config option which places default panels
above user-defined panels.
* Fix no_args_is_help for Typer CLIs.
* Added Typer 0.20 support
* Fix lack of support for flag_value=....
* Fixed subcommand discovery in help text. Behavior should now be the same
as 1.8.
* Fix issue with parent click.Group and child rich_click.RichCommand error
formatter not resolving.
* Add headers to tables (by default these are not shown).
* Fixed bug where running the rich-click CLI on a @rich_click.argument()
sometimes caused arguments show up in the option panel when it shouldn't.
* Fixed Click 8.3 compatibility with rendering defaults in help text.
* Python 3.7 support is removed. The minimum supported Python version
is 3.8.
* Click 7 support is removed. The minimum supported Click version is 8.0.
* Rich 10 and 11 support is removed. The minimum supported Rich version
is 12.
OBS-URL: https://build.opensuse.org/request/show/1333844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich-click?expand=0&rev=10
* Fix click_version check when build metadata is included.
* Fix minor Typer incompatibilities, most notably default panel placements.
* Added default_panels_first config option which places default panels
above user-defined panels.
* Fix no_args_is_help for Typer CLIs.
* Added Typer 0.20 support
* Fix lack of support for flag_value=....
* Fixed subcommand discovery in help text. Behavior should now be the same
as 1.8.
* Fix issue with parent click.Group and child rich_click.RichCommand error
formatter not resolving.
* Add headers to tables (by default these are not shown).
* Fixed bug where running the rich-click CLI on a @rich_click.argument()
sometimes caused arguments show up in the option panel when it shouldn't.
* Fixed Click 8.3 compatibility with rendering defaults in help text.
* Python 3.7 support is removed. The minimum supported Python version
is 3.8.
* Click 7 support is removed. The minimum supported Click version is 8.0.
* Rich 10 and 11 support is removed. The minimum supported Rich version
is 12.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich-click?expand=0&rev=20
- Update to 1.8.9:
* Fix deprecation warning in Click 8.2.
* Fix typing incompatibilities with Click 8.2.
* Fixed no_args_is_help=True with Click 8.2.
* Added Click 8.2's support for Parameter.deprecated: str | bool
* Make text wrap instead of using ellipses for overflowing metavars in
options tables.
* Added --errors-in-output-format flag to rich-click CLI.
* Actually fixed regression in stderr handling
* Add ability to turn off option/command deduplication in groups
* Fix regression in stderr handling
* Fix incompatibility with click 8.2.0.
* Fix issue with error messages not using user-defined styles.
* Support rich.text.Text() objects for header_text, footer_text,
errors_suggestion, and errors_epilogue.
* Support {cmd} as an option/command group key when python -m {cmd} is the
command_path.
* Fixed incompatibility with Click 9.
* Add --rich-config and --output options to the rich-click CLI.
* Lazy load Rich to reduce overhead when not rendering help text.
* Added RichHelpConfiguration.load_from_globals() classmethod, which pulls
all configuration from rich_click.py.
* Fix bug with regex highlighter for options and switches.
* RichHelpConfiguration() is now asserted to be JSON serializable, as an
option for porting configurations.
* Moved exclusively to pyproject.toml and removed setup.py / setup.cfg
* Moved to text_markup: Literal["markdown", "rich", "ansi", None] instead
of booleans.
* Fixed issue where error messages would not print to stderr by default.
- Switch to github tarball.
OBS-URL: https://build.opensuse.org/request/show/1296682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich-click?expand=0&rev=9
* Fix deprecation warning in Click 8.2.
* Fix typing incompatibilities with Click 8.2.
* Fixed no_args_is_help=True with Click 8.2.
* Added Click 8.2's support for Parameter.deprecated: str | bool
* Make text wrap instead of using ellipses for overflowing metavars in
options tables.
* Added --errors-in-output-format flag to rich-click CLI.
* Actually fixed regression in stderr handling
* Add ability to turn off option/command deduplication in groups
* Fix regression in stderr handling
* Fix incompatibility with click 8.2.0.
* Fix issue with error messages not using user-defined styles.
* Support rich.text.Text() objects for header_text, footer_text,
errors_suggestion, and errors_epilogue.
* Support {cmd} as an option/command group key when python -m {cmd} is the
command_path.
* Fixed incompatibility with Click 9.
* Add --rich-config and --output options to the rich-click CLI.
* Lazy load Rich to reduce overhead when not rendering help text.
* Added RichHelpConfiguration.load_from_globals() classmethod, which pulls
all configuration from rich_click.py.
* Fix bug with regex highlighter for options and switches.
* RichHelpConfiguration() is now asserted to be JSON serializable, as an
option for porting configurations.
* Moved exclusively to pyproject.toml and removed setup.py / setup.cfg
* Moved to text_markup: Literal["markdown", "rich", "ansi", None] instead
of booleans.
* Fixed issue where error messages would not print to stderr by default.
- Switch to github tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich-click?expand=0&rev=18
- update to 1.7.2:
* Add support for rich formatting in epilog text [#146]
* Fix bug with `rich-click` CLI not working with Python 3.12.
#141
* Fix compatibility issue with `dbt-core` CLI. [#140]
* Extends Click's `HelpFormatter` class
* Creates a `HelpConfiguration` class that doubles the current
module-level settings
* Added a decorator that allows the `HelpConfiguration` to be
passed into Click via the supported `context_settings`
argument provided by the `Command` and `Group` classes.
* The Rich Console object can also be configured per command
and is distinct from the Console instance used internally by
the formatter. The `RichHelpFormatter` creates a console
based on the `RichHelpConfiguration` as the tight coupling
between the Formatter and Click's internals make it difficult
to allow the Console to be configured externally (i.e. one
example is that Click expects help formatting to be
buffered).
* Created a `RichContext` class to allow creation of the custom
formatter.
* The Rich Command, Group, and Context now expose the `Console`
and `RichHelpConfiguration` properties.
* Added contributor VSCode settings
- Update to version 1.6.0
OBS-URL: https://build.opensuse.org/request/show/1132837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich-click?expand=0&rev=4
* Add support for rich formatting in epilog text [#146]
* Fix bug with `rich-click` CLI not working with Python 3.12.
#141
* Fix compatibility issue with `dbt-core` CLI. [#140]
* Extends Click's `HelpFormatter` class
* Creates a `HelpConfiguration` class that doubles the current
module-level settings
* Added a decorator that allows the `HelpConfiguration` to be
passed into Click via the supported `context_settings`
argument provided by the `Command` and `Group` classes.
* The Rich Console object can also be configured per command
and is distinct from the Console instance used internally by
the formatter. The `RichHelpFormatter` creates a console
based on the `RichHelpConfiguration` as the tight coupling
between the Formatter and Click's internals make it difficult
to allow the Console to be configured externally (i.e. one
example is that Click expects help formatting to be
buffered).
* Created a `RichContext` class to allow creation of the custom
formatter.
* The Rich Command, Group, and Context now expose the `Console`
and `RichHelpConfiguration` properties.
* Added contributor VSCode settings
- Update to version 1.6.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich-click?expand=0&rev=7