7b87bac27f
- update to 14.3.1: * Fixed characters out of unicode range reporting a cell size if 0 * IPython now respects when a Console instance is passed to pretty.install * Fixed extraneous blank line on non-interactive disabled Progress * Fixed extra padding on first cell in columns * Fixed trailing whitespace removed when soft_wrap=True * Fixed style new-lines when soft_wrap = True and a print style is set * Added support for some multi-codepopint glyphs (will fix alignment issues for these characters) * Added support for UNICODE_VERSION environment variable * Added last_render_height property to LiveRender * Expose locals_max_depth and locals_overflow in traceback.install * Added Segment.split_lines_terminator * cells.cell_len now has a unicode_version parameter (that you probably should never change) * Live will not write a new line if there was nothing rendered * Changed style of Markdown headers * Changed style of Markdown tables, added markdown.table.header and markdown.table.border styles * Changed style of Markdown rules
Dirk Mueller2026-01-27 16:21:58 +00:00
6aae08d2a2
Accepting request 1312325 from devel:languages:python
Ana Guerrero2025-10-21 09:14:50 +00:00
76c16d482c
Accepting request 1312324 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2025-10-20 08:22:37 +00:00
cafdde903b
Accepting request 1304685 from devel:languages:python
Ana Guerrero2025-09-15 17:50:29 +00:00
2ac624ef8c
- update to 14.1.0: * Removed typing_extensions from runtime dependencies * Live objects (including Progress) may now be nested * Added padding property to Syntax which returns a tuple of four integers * Fixed extraction of recursive exceptions * Fixed padding applied to Syntax * Fixed Panel title missing the panel background style * Added TTY_INTERACTIVE environment variable to force interactive mode off or on - drop pygments.patch (upstream)
Dirk Mueller2025-09-14 20:50:16 +00:00
2db4f8821e
Accepting request 1281448 from devel:languages:python
Ana Guerrero2025-06-02 19:58:53 +00:00
3b151aeb71
- Update to 14.0.0 * 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 #3677Markéta Machová2025-05-30 14:45:46 +00:00
462d30db74
Accepting request 1281443 from home:nkrapp:branches:devel:languages:python
Markéta Machová2025-05-30 14:45:46 +00:00
394cf521ec
Accepting request 1271914 from devel:languages:python
Ana Guerrero2025-04-23 13:18:21 +00:00
eb4d0fbe01
Accepting request 1271914 from devel:languages:python
Ana Guerrero2025-04-23 13:18:21 +00:00
bbe7c15fa6
Accepting request 1271913 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2025-04-22 15:01:45 +00:00
388fea0a90
Accepting request 1238863 from devel:languages:python
Ana Guerrero2025-01-23 16:57:02 +00:00
8296fad7b8
Accepting request 1238863 from devel:languages:python
Ana Guerrero2025-01-23 16:57:02 +00:00
1622e9f7e6
- Add pygments.patch to fix tests with Pygments 2.19
Steve Kowalik2025-01-20 01:14:21 +00:00
d2705aeadd
Accepting request 1238540 from home:mcalabkova:branches:devel:languages:python
Steve Kowalik2025-01-20 01:14:21 +00:00
9c50e63ae8
Accepting request 1228407 from devel:languages:python
Ana Guerrero2024-12-06 13:25:02 +00:00
d8a2e5f481
Accepting request 1228407 from devel:languages:python
Ana Guerrero2024-12-06 13:25:02 +00:00
32a323bb0b
- Switch to GitHub tarball so we can run the testsuite. - Correct version guard for typing_extensions Requires. - Drop Python 3.7 sections.
Steve Kowalik2024-12-05 01:45:59 +00:00
031c30829b
- Switch to GitHub tarball so we can run the testsuite. - Correct version guard for typing_extensions Requires. - Drop Python 3.7 sections.
Steve Kowalik2024-12-05 01:45:59 +00:00
6e83911066
Accepting request 1225564 from devel:languages:python
Ana Guerrero2024-11-21 14:13:37 +00:00
c16ed59ef5
Accepting request 1225564 from devel:languages:python
Ana Guerrero2024-11-21 14:13:37 +00:00
f88d50cc21
- 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_rowhttps://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
Dirk Mueller2024-11-20 17:46:42 +00:00
882e52e55a
- 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_rowhttps://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
Dirk Mueller2024-11-20 17:46:42 +00:00
ed7df3496e
Accepting request 1158430 from devel:languages:python
Ana Guerrero2024-03-18 15:44:08 +00:00
46c378db4f
Accepting request 1158430 from devel:languages:python
Ana Guerrero2024-03-18 15:44:08 +00:00
bd6a4d00e6
- 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
Dirk Mueller2024-03-16 09:48:20 +00:00
7f8e6e9064
- 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
Dirk Mueller2024-03-16 09:48:20 +00:00
72c36cc27f
Accepting request 1127363 from devel:languages:python
Ana Guerrero2023-11-19 19:14:11 +00:00
58f4335d13
Accepting request 1127363 from devel:languages:python
Ana Guerrero2023-11-19 19:14:11 +00:00
5a7088be38
Accepting request 1127361 from home:benoit_monin:branches:devel:languages:python
Matej Cepl2023-11-17 20:18:27 +00:00
9fb7991a74
Accepting request 1127361 from home:benoit_monin:branches:devel:languages:python
Matej Cepl2023-11-17 20:18:27 +00:00
02ad9fe9d9
Accepting request 1106407 from devel:languages:python
Ana Guerrero2023-08-30 08:19:16 +00:00
78cfa17d76
Accepting request 1106407 from devel:languages:python
Ana Guerrero2023-08-30 08:19:16 +00:00
0bfd848191
Accepting request 1106191 from home:apersaud:branches:devel:languages:python
Markéta Machová2023-08-28 10:56:34 +00:00
7fd304b5c1
Accepting request 1106191 from home:apersaud:branches:devel:languages:python
Markéta Machová2023-08-28 10:56:34 +00:00
9afb6a649b
Accepting request 1099481 from devel:languages:python
Ana Guerrero2023-07-24 16:12:19 +00:00
f2faa47694
Accepting request 1099481 from devel:languages:python
Ana Guerrero2023-07-24 16:12:19 +00:00
6a80cb20ae
Accepting request 1099446 from home:ecsos:python
Dirk Mueller2023-07-19 11:10:19 +00:00
fddfb9d767
Accepting request 1099446 from home:ecsos:python
Dirk Mueller2023-07-19 11:10:19 +00:00
0539815e68
Accepting request 1097985 from devel:languages:python
Ana Guerrero2023-07-11 13:56:37 +00:00
1b8aac10e4
Accepting request 1097985 from devel:languages:python
Ana Guerrero2023-07-11 13:56:37 +00:00
4fe353abfa
Accepting request 1097770 from home:apersaud:branches:devel:languages:python
Matej Cepl2023-07-10 15:20:34 +00:00
ae65923b56
Accepting request 1097770 from home:apersaud:branches:devel:languages:python
Matej Cepl2023-07-10 15:20:34 +00:00
4b5c196f3a
- 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
Dirk Mueller2023-05-04 21:11:00 +00:00
516a5529b3
- 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
Dirk Mueller2023-05-04 21:11:00 +00:00
b6e2bf164d
- update to 12.4.4: * 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
Dirk Mueller2022-07-07 10:36:10 +00:00
129c096fcd
- update to 12.4.4: * 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
Dirk Mueller2022-07-07 10:36:10 +00:00