* Added
- Added env var TTY_COMPATIBLE to override auto-detection of TTY
support (See console.rst for details). #3675
* Changed
- An empty NO_COLOR env var is now considered disabled. #3675
- An empty FORCE_COLOR env var is now considered disabled. #3675
- Rich tracebacks will now render notes on Python 3.11 onwards
(added with Exception.add_note) #3676
- Indentation in exceptions won't be underlined #3678
- Rich tracebacks will now render Exception Groups #3677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=70
- update to 13.9.4:
* Optimizations to cell_len which may speed up Rich / Textual
output https://github.com/Textualize/rich/pull/3546
- update to 13.9.3:
* Fix a broken regex that resulted in the slow path being
chosen for some operations. This fix should result in notable
speedups for some operations, such as wrapping text.
* Fixed broken regex that may have resulted in poor
performance. https://github.com/Textualize/rich/pull/3535
- update to 13.9.2:
* A hotfix for highlighting in the table, and a fix for
`Segment.split_cells`
* Fixed `Table` columns not highlighting when added by
`add_row` https://github.com/Textualize/rich/issues/3517
* Fixed an issue with Segment.split_cells reported in Textual
https://github.com/Textualize/textual/issues/5090
- update to 13.9.1:
* Fixed typing_extensions dependency
- update to 13.9.0:
* Dropped support for Python3.7
* Rich will display tracebacks with finely grained error
locations on python 3.11+
* Fixed issue with Segment._split_cells
* Fix auto detection of terminal size on Windows
* `Text.style` now respected in Panel title/subtitle
- update to 13.8.1:
* Added support for Python 3.13
* Fixed infinite loop when appending Text to same instance
- update to 13.8.0:
* Fixed `Table` rendering of box elements so "footer" elements
OBS-URL: https://build.opensuse.org/request/show/1225564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=30
* Optimizations to cell_len which may speed up Rich / Textual
output https://github.com/Textualize/rich/pull/3546
- update to 13.9.3:
* Fix a broken regex that resulted in the slow path being
chosen for some operations. This fix should result in notable
speedups for some operations, such as wrapping text.
* Fixed broken regex that may have resulted in poor
performance. https://github.com/Textualize/rich/pull/3535
- update to 13.9.2:
* A hotfix for highlighting in the table, and a fix for
`Segment.split_cells`
* Fixed `Table` columns not highlighting when added by
`add_row` https://github.com/Textualize/rich/issues/3517
* Fixed an issue with Segment.split_cells reported in Textual
https://github.com/Textualize/textual/issues/5090
- update to 13.9.1:
* Fixed typing_extensions dependency
- update to 13.9.0:
* Dropped support for Python3.7
* Rich will display tracebacks with finely grained error
locations on python 3.11+
* Fixed issue with Segment._split_cells
* Fix auto detection of terminal size on Windows
* `Text.style` now respected in Panel title/subtitle
- update to 13.8.1:
* Added support for Python 3.13
* Fixed infinite loop when appending Text to same instance
- update to 13.8.0:
* Fixed `Table` rendering of box elements so "footer" elements
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=61
- update to 13.7.1:
* Fixes some character widths
- Ignore python3.6.2 for test since it doesn't support it.
* Added post_style argument to Segment.apply_style
* Changed display of progress bars in no_color mode for
* Console property size will fall back to getting the
terminal size of stdout it stdin fails, this allows size
* Allow passing markdown over STDIN when using python -m
* Double tag escape, i.e. "\\[foo]" results in a
* Fixed header_style not applying to headers in
* Fixed encoding error on Windows when loading code for
* MarkupError exception raise from None to omit internal
* Factored out RichHandler.render and
- Kill dephell dependency
OBS-URL: https://build.opensuse.org/request/show/1158430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=29
* Fixes some character widths
- Ignore python3.6.2 for test since it doesn't support it.
* Added post_style argument to Segment.apply_style
* Changed display of progress bars in no_color mode for
* Console property size will fall back to getting the
terminal size of stdout it stdin fails, this allows size
* Allow passing markdown over STDIN when using python -m
* Double tag escape, i.e. "\\[foo]" results in a
* Fixed header_style not applying to headers in
* Fixed encoding error on Windows when loading code for
* MarkupError exception raise from None to omit internal
* Factored out RichHandler.render and
- Kill dephell dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=59
- update to 13.3.5:
* Fixed italic indent guides in SVG output
* Fixed for `is_terminal` ignoring FORCE_COLOR
https://github.com/Textualize/rich/pull/2923
* Added Style.clear_meta_and_links
* Reversed `pre` and `code` tags in base HTML format
* Fix syntax error when building with nuitka
* Fixed pretty printing of empty dataclass
* Use `Console(stderr=True)` in `rich.traceback.install` to
support io redirection.
* Fixes superfluous spaces in html output
* Fixed duplicate output in Jupyter
* Filter ANSI character-encoding-change codes in
`Text.from_ansi` parser
* Fixes traceback failing when a frame filename is unreadable
* Fix for live update rendering console markup
* `rich.progress.track()` will now show the elapsed time after
finishing the task
* Fixed truecolor to eight bit color conversion
* Fixed failing tests due to Pygments dependency
* Relaxed ipywidgets
* v13.2.0 replaces the unmaintained `commonmark` library with
`markdown-it-py`. This new parser has a lot more capabilities
and will allow us to implement a number of additional
Markdown features in the future.
* Switch Markdown parsing from commonmark to markdown-it-py
* Fixed wrong filenames in Jupyter tracebacks
* Added locals_hide_dunder and locals_hide_sunder to
Tracebacks, to hide double underscore and single underscore
* Tracebacks will now hide double underscore names from locals
OBS-URL: https://build.opensuse.org/request/show/1084878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=23
* Fixed italic indent guides in SVG output
* Fixed for `is_terminal` ignoring FORCE_COLOR
https://github.com/Textualize/rich/pull/2923
* Added Style.clear_meta_and_links
* Reversed `pre` and `code` tags in base HTML format
* Fix syntax error when building with nuitka
* Fixed pretty printing of empty dataclass
* Use `Console(stderr=True)` in `rich.traceback.install` to
support io redirection.
* Fixes superfluous spaces in html output
* Fixed duplicate output in Jupyter
* Filter ANSI character-encoding-change codes in
`Text.from_ansi` parser
* Fixes traceback failing when a frame filename is unreadable
* Fix for live update rendering console markup
* `rich.progress.track()` will now show the elapsed time after
finishing the task
* Fixed truecolor to eight bit color conversion
* Fixed failing tests due to Pygments dependency
* Relaxed ipywidgets
* v13.2.0 replaces the unmaintained `commonmark` library with
`markdown-it-py`. This new parser has a lot more capabilities
and will allow us to implement a number of additional
Markdown features in the future.
* Switch Markdown parsing from commonmark to markdown-it-py
* Fixed wrong filenames in Jupyter tracebacks
* Added locals_hide_dunder and locals_hide_sunder to
Tracebacks, to hide double underscore and single underscore
* Tracebacks will now hide double underscore names from locals
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=47
- change Source URL to https://files.pythonhosted.org
- change Upstream URL to https://github.com/Textualize/rich
- add _service file to easily download this
- remove CHANGELOG.md, as this is not present in the PyPI tarball
- Update to 12.6.0:
* Added
- Parse ANSI escape sequences in pretty repr #2470
- Add support for FORCE_COLOR env var #2449
- Allow a max_depth argument to be passed to the install() hook #2486
- Document using None as name in __rich_repr__ for tuple positional args #2379
- Add font_aspect_ratio parameter in SVG export https://github.com/Textualize/rich/pull/2539/files
- Added Table.add_section method. #2544
* Fixed
- Handle stdout/stderr being null #2513
- Fix NO_COLOR support on legacy Windows #2458
- Fix pretty printer handling of cyclic references #2524
- Fix missing mode property on file wrapper breaking uploads via requests #2495
- Fix mismatching default value of parameter ensure_ascii #2538
- Remove unused height parameter in Layout class #2540
- Fixed exception in Syntax.rich_measure for empty files
* Changed
- Removed border from code blocks in Markdown
OBS-URL: https://build.opensuse.org/request/show/1037125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=21
- Update to 12.5.1
* Fixed missing typing extensions dependency on 3.9 #2386
- Release
* Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to
control width and height of console in Jupyter
* Markdown friendly Box style, MARKDOWN, for rendering tables
ready to copy into markdown files
* inspect will prefix coroutine functions with async def
* Default width of Jupyter console size is increased to 115
* Optimized Segment.divide
* Style.__add__ will no longer return NotImplemented
* Remove rich._lru_cache
* Fix Rich clobbering cursor style on Windows #2339
* Fix text wrapping edge case #2296
* Allow exceptions that are raised while a Live is rendered to be
displayed and/or processed #2305
* Fix crashes that can happen with inspect when docstrings
contain some special control codes #2294
* Fix edges used in first row of tables when show_header=False
#2330
* Fix interaction between Capture contexts and
Console(record=True) #2343
* Fixed hash issue in Styles class #2346
* Fixed bug in Segment.split_and_crop_lines
- Release 12.4.4
* Added clipping per line to SVG output to avoid box characters
overlapping
* Optimized SVG output
- Release 12.4.3
* Further tweaks to SVG character matrix
OBS-URL: https://build.opensuse.org/request/show/990455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=40
- update to 12.3.0:
* Ability to change terminal window title
* Added show_speed parameter to progress.track which will show the speed when the total is not known
* Python blocks can now opt out from being rendered in tracebacks's frames,
by setting a `_rich_traceback_omit = True` in their local scope
* Fall back to `sys.__stderr__` on POSIX systems when trying to get the
terminal size (fix issues when Rich is piped to another process)
* Fixed markup escaping issue
* Safari - Box appearing around SVG export
* Fixed recursion error in Jupyter progress bars
* Complex numbers are now identified by the highlighter
* Fix crash on IDLE and forced is_terminal detection to False because IDLE
can't do escape codes
* Fixed missing blank line in traceback rendering
* Fixed running Rich with the current working dir was deleted
* Setting `total=None` on progress is now possible, and will display pulsing animation
* Micro-optimization for Segment.divide
* Bumped typing-extensions minimum to 4.0.0
* Bumped minimum Python version to 3.6.3
* Progress.open and Progress.wrap_file method to track the progress while
reading from a file or file-like object
* SVG export functionality
* Adding Indonesian translation
* Add missing `end` keyword argument to `Text.from_markup`
* Fallback to text lexer when no lexer guessed
* Fixed issue with decoding ANSI reset
* Improve performance of cell_length
* Improve performance of chop_cells
* Fix capturing stdout on legacy Windows
* Added options to TimeRemainingColumn to render a compact time format and
OBS-URL: https://build.opensuse.org/request/show/987405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=19
* Added clipping per line to SVG output to avoid box characters overlapping
* Optimized SVG output
* Further tweaks to SVG character matrix
* Added clip rect to SVG to prevent box characters overlapping bottom of terminal
* Fix for SVG on Firefox
* Removed excess margin from SVG, tweaked cell sizes to better render block characters
* Fix for default background color in SVG export
* Added a keyline around SVG terminals which is visible on dark backgrounds
* Added a keyline around SVG terminals which is visible on dark backgrounds
* Rebuilt SVG export to create a simpler SVG that is more portable
* Fix render_lines crash when render height was negative
* Add `padding` to Syntax constructor
* Ability to change terminal window title
* Added show_speed parameter to progress.track which will show the speed when the total is not known
* Python blocks can now opt out from being rendered in tracebacks's frames,
by setting a `_rich_traceback_omit = True` in their local scope
* Fall back to `sys.__stderr__` on POSIX systems when trying to get the
terminal size (fix issues when Rich is piped to another process)
* Fixed markup escaping issue
* Safari - Box appearing around SVG export
* Fixed recursion error in Jupyter progress bars
* Complex numbers are now identified by the highlighter
* Fix crash on IDLE and forced is_terminal detection to False because IDLE
can't do escape codes
* Fixed missing blank line in traceback rendering
* Fixed running Rich with the current working dir was deleted
* Setting `total=None` on progress is now possible, and will display pulsing animation
* Micro-optimization for Segment.divide
* Bumped typing-extensions minimum to 4.0.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=37
- Update to 11.0.0
* Note: as a major version bump, this version has some breaking
changes. These changes won't affect many people, but we like to
be strict about semver. See the release notes below.
* Added max_depth arg to pretty printing #1585
* Added vertical_align to Table.add_row #1590
* Fixed issue with pretty repr in jupyter notebook #1717
* Fix Traceback theme defaults override user supplied styles
#1786
* breaking Deprecated rich.console.RenderGroup, now named
rich.console.Group
* breaking Syntax.__init__ parameter lexer_name renamed to lexer
* Syntax constructor accepts both str and now a pygments lexer
#1748
- Releases 10.16.X
* A bugfix for progress bars in Jupyter in this release. And a
new property on Text class which exports the equivalent console
markup.
* Double print of progress bar in Jupyter #1737
* Added Text.markup property #1751
- Releases 10.15.X
* Added dynamic_progress.py to examples
* Added ConsoleOptions.update_height
* Fixed Padding not respecting height
* Added Text.from_ansi method
* Changed Some optimizations for simple strings (with only single
cell widths)
* Fixed issue with progress bar not rendering markup #1721
* Fixed race condition when exiting Live #1530
* Fix Deadlock issue #1734
OBS-URL: https://build.opensuse.org/request/show/946507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=34
- Update to versino 10.13.0
Added
* Added json.dumps parameters to print_json.
Fixed
* Fixed an edge case bug when console module try to detect if
they are in a tty at the end of a pytest run.
* Fixed issue with TERM env vars that have more than one hyphen.
* Fixed missing new line after progress bar when terminal is not
interactive.
* Fixed exception in IPython when disabling pprint with %pprint.
* Fixed issue where values longer than the console width
produced invalid JSON.
* Fixes trailing comma when pretty printing dataclass with last
field repr=False.
Changed
* Markdown codeblocks now word-wrap #1515
OBS-URL: https://build.opensuse.org/request/show/930004
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=33
- Update to version 10.12.0
Updated
* Official Py3.10 release
Fixed
* Fixed detection of custom repr when pretty printing dataclasses
- Update to version 10.11.0
* Added two new options to Tracebacks, to hide framework code,
and guard against very long tracebacks.
- Update to version 10.10.0
* Added stdin support to rich.json
* Fixed pretty printing of objects with fo magic with getattr.
- Update to version 10.9.0
* This release highlights JSON keys with a different color
- Update to version 10.8.0
* This release adds pretty printing of JSON
- Update to version 10.7.0
* https://github.com/willmcgugan/rich/releases/tag/v10.7.0
OBS-URL: https://build.opensuse.org/request/show/927381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=32
- Update to version 10.2.1
* Fixed panel in Markdown exploding
- Update to version 10.2.0
Added
* syntax for call, i.e. "Foo(bar)"
* Console.measure as a convenient alias for Measurement.get
* support for pretty printing attrs objects
* mappingproxy to pretty print
* UserDict and UserList support to pretty printer
Changed
* colorama init to set strip=False
* Changed highlighter for False, True, None to not match in the
middle of a word. i.e. NoneType is no longer highlighted as
None
OBS-URL: https://build.opensuse.org/request/show/894109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=30
- Update to version 10.0.1
* Fixed race condition that duplicated lines in progress.
- Update to version 10.0.0
Changed
* Made pydoc import lazy as at least one use found it slow to
import.
* Modified string highlighting to not match in the middle of a
word, so that apostrophes are not considered strings.
* New way of encoding control codes in Segment.
* New signature for Control class.
* Changed Layout.split to use new Splitter class.
* Improved layout.tree.
* Changed default theme color for repr.number to cyan.
* __rich_measure__ signature changed to accept ConsoleOptions
rather than max_width.
Added
* Added __rich_repr__ protocol method to Pretty.
* Added rich.region.Region.
* Added ConsoleOptions.update_dimensions.
* Added rich.console.ScreenUpdate.
* Added Console.is_alt_screen.
* Added Control.segment, Control.bell, Control.home,
Control.move_to, Control.clear, Control.show_cursor,
Control.alt_screen.
* Added Console.update_screen and Console.update_screen_lines.
* Added Layout.add_split, Layout.split_column, Layout.split_row,
layout.refresh.
* Added new Rich repr protocol __rich_repr__.
Fixed
* Fixed table style taking precedence over row style.
OBS-URL: https://build.opensuse.org/request/show/882220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=26
- Update to version 9.13.0
Added
* Pretty printer now supports dataclasses
Fixed
* Fixed Syntax background #1088
* Fix for double tracebacks when no formatter #1079
Changed
* Added ws and wss to url highlighter
- Update to version 9.12.4
Fixed
* Fixed custom formatters with rich tracebacks in RichHandler.
Changed
* Allow highly compressed table cells to go to 0 width
* Optimization to remove empty styles in various places
- Update to version 9.12.3
Changed
* Optimized Padding
- Update to version 9.12.2
Added
* Added ConsoleOptions.copy
Changed
* Optimized ConsoleOptions.update
- Update to version 9.12.1
Fixed
* Fixed deadlock in Progress
Added
* Added Task.finished_speed
Changed
* Froze TransferSpeedColumn speed when task is finished
OBS-URL: https://build.opensuse.org/request/show/877404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=24