Skip to content

fix(deps): update dependency rich to v15#46

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rich-15.x
Open

fix(deps): update dependency rich to v15#46
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rich-15.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 12, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
rich >=14,<15>=15,<16 age confidence

Release Notes

Textualize/rich (rich)

v15.0.0

Compare Source

Changed
  • Breaking change: Dropped support for Python3.8
Fixed
  • Fixed empty print ignoring the end parameter #​4075
  • Fixed Text.from_ansi removing newlines #​4076
  • Fixed FileProxy.isatty not proxying #​4077
  • Fixed inline code in Markdown tables cells #​4079

[14.3.4] - 2026-04-11

Changed
  • Improved import time with lazy loading #​4070
  • Changed link id generation to avoid random number generation at runtime #​3845

[14.3.3] - 2026-02-19

Fixed
  • Fixed infinite loop with cells.split_graphemes #​4006

[14.3.2] - 2026-02-01

Fixed
  • Fixed solo ZWJ crash #​3953
  • Fixed control codes reporting width of 1 #​3953

[14.3.1] - 2026-01-24

Fixed
  • Fixed characters out of unicode range reporting a cell size if 0 #​3944

[14.3.0] - 2026-01-24

Fixed
  • IPython now respects when a Console instance is passed to pretty.install #​3915
  • Fixed extraneous blank line on non-interactive disabled Progress #​3905
  • Fixed extra padding on first cell in columns #​3935
  • Fixed trailing whitespace removed when soft_wrap=True #​3937
  • Fixed style new-lines when soft_wrap = True and a print style is set #​3938
Added
  • Added support for some multi-codepopint glyphs (will fix alignment issues for these characters) #​3930
  • Added support for UNICODE_VERSION environment variable #​3930
  • Added last_render_height property to LiveRender #​3934
  • Expose locals_max_depth and locals_overflow in traceback.install #​3906/
  • Added Segment.split_lines_terminator #​3938
Changed
  • cells.cell_len now has a unicode_version parameter (that you probably should never change) #​3930
  • Live will not write a new line if there was nothing rendered #​3934
  • Changed style of Markdown headers #​3942
  • Changed style of Markdown tables, added markdown.table.header and markdown.table.border styles #​3942
  • Changed style of Markdown rules #​3942

[14.2.0] - 2025-10-09

Changed
Fixed
  • Fixed exception when calling inspect on objects with unusual __qualname__ attribute #​3894

[14.1.0] - 2025-06-25

Changed
  • Removed typing_extensions from runtime dependencies #​3763
  • Live objects (including Progress) may now be nested #​3768
  • Added padding property to Syntax which returns a tuple of four integers #​3782
Fixed
  • Fixed extraction of recursive exceptions #​3772
  • Fixed padding applied to Syntax #​3782
  • Fixed Panel title missing the panel background style #​3569
Added
  • Added TTY_INTERACTIVE environment variable to force interactive mode off or on #​3777

[14.0.0] - 2025-03-30

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

[13.9.4] - 2024-11-01

Changed
  • Optimizations to cell_len which may speed up Rich / Textual output #​3546

[13.9.3] - 2024-10-22

Fixed
  • Fixed broken regex that may have resulted in poor performance. #​3535

[13.9.2] - 2024-10-04

Fixed

[13.9.1] - 2024-10-01

Fixed
  • Fixed typing_extensions dependency

[13.9.0] - 2024-10-01

Changed
  • Dropped support for Python3.7 #​3509
  • Rich will display tracebacks with finely grained error locations on python 3.11+ #​3486
Fixed
  • Fixed issue with Segment._split_cells #​3506
  • Fix auto detection of terminal size on Windows #​2916
  • Text.style now respected in Panel title/subtitle #​3509

[13.8.1] - 2024-09-10

Fixed
  • Added support for Python 3.13 #​3481
  • Fixed infinite loop when appending Text to same instance #​3480

[13.8.0] - 2024-08-26

Fixed
  • Fixed Table rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.
  • Fixed styles in Panel when Text objects are used for title #​3401
  • Fix pretty repr for collections.deque #​2864
  • Thread used in progress.track will exit if an exception occurs in a generator #​3402
  • Progress track thread is now a daemon thread #​3402
  • Fixed cached hash preservation upon clearing meta and links #​2942
  • Fixed overriding the background_color of Syntax not including padding #​3295
  • Fixed pretty printing of dataclasses with a default repr in Python 3.13 #​3455
  • Fixed selective enabling of highlighting when disabled in the Console #​3419
  • Fixed BrokenPipeError writing an error message #​3468
  • Fixed superfluous space above Markdown tables #​3469
  • Fixed issue with record and capture interaction #​3470
  • Fixed control codes breaking in append_tokens #​3471
  • Fixed exception pretty printing a dataclass with missing fields #​3472
Changed
  • RichHandler errors and warnings will now use different colors (red and yellow) #​2825
  • Removed the empty line printed in jupyter while using Progress #​2616
  • Running tests in environment with FORCE_COLOR or NO_COLOR environment variables
  • ansi decoder will now strip problematic private escape sequences (like \x1b7) #​3278/
  • Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
  • rich.Text.highlight_regex now accepts a regular expression object #​3347
Added
  • Adds a case_sensitive parameter to prompt.Prompt. This determines if the
    response is treated as case-sensitive. Defaults to True.
  • Added Console.on_broken_pipe #​3468

[13.7.1] - 2024-02-28

Fixed
  • Updated the widths of some characters #​3289
Added
  • Included a name attribute to the Spinner class #​3359

[13.7.0] - 2023-11-15

Added
  • Adds missing parameters to Panel.fit #​3142
Fixed
  • Some text goes missing during wrapping when it contains double width characters #​3176
  • Ensure font is correctly inherited in exported HTML #​3104
  • Fixed typing for FloatPrompt.

[13.6.0] - 2023-09-30

Added
  • Added Python 3.12 to classifiers.

[13.5.3] - 2023-09-17

Fixed
  • Markdown table rendering issue with inline styles and links #​3115
  • Fix Markdown code blocks on a light background #​3123

[13.5.2] - 2023-08-01

Fixed
  • Fixed Text.expand_tabs assertion error

[13.5.1] - 2023-07-31

Fixed
  • Fix tilde character (~) not included in link regex when printing to console #​3057

[13.5.0] - 2023-07-29

Fixed
  • Fixed Text.expand_tabs not expanding spans.
  • Fixed TimeElapsedColumn from showing negative.
  • Fix for escaping strings with a trailing backslash #​2987
  • Fixed exception in Markdown with partial table #​3053
  • Fixed the HTML export template so that the <html> tag comes before the <head> tag #​3021
  • Fixed issue with custom classes overwriting __eq__ #​2875
  • Fix rich.pretty.install breakage in iPython #​3013
Added
  • Added Text.extend_style method.
  • Added Span.extend method.
Changed
  • Text.tab_size now defaults to None to indicate that Console.tab_size should be used.

[13.4.2] - 2023-06-12

Changed
  • Relaxed markdown-it-py dependency

[13.4.1] - 2023-05-31

Fixed
  • Fixed typing extensions import in markdown #​2979

[13.4.0] - 2023-05-31

Added
  • Added support for tables in Markdown #​2977

[13.3.5] - 2023-04-27

Fixed
  • Fixed italic indent guides in SVG output

[13.3.4] - 2023-04-12

Fixed
  • Fixed for is_terminal ignoring FORCE_COLOR #​2923

[13.3.3] - 2023-02-27

Added
  • Added Style.clear_meta_and_links

[13.3.2] - 2023-02-04

Fixed
  • Reversed pre and code tags in base HTML format #​2642
  • Fix syntax error when building with nuitka #​2635
  • Fixed pretty printing of empty dataclass #​2819
  • Use Console(stderr=True) in rich.traceback.install to support io redirection.
  • Fixes superfluous spaces in html output #​2832
  • Fixed duplicate output in Jupyter https://github.com/Textualize/rich/pulls/2804
  • Filter ANSI character-encoding-change codes in Text.from_ansi parser
  • Fixes traceback failing when a frame filename is unreadable #​2821
  • Fix for live update rendering console markup #​2726
Added
  • Added Polish README
Changed
  • rich.progress.track() will now show the elapsed time after finishing the task #​2659

[13.3.1] - 2023-01-28

Fixed
  • Fixed truecolor to eight bit color conversion #​2785

[13.3.0] - 2023-01-27

Fixed
  • Fixed failing tests due to Pygments dependency #​2757
  • Relaxed ipywidgets #​2767
Added
  • Added encoding parameter in Theme.read

[13.2.0] - 2023-01-19

Changed
  • Switch Markdown parsing from commonmark to markdown-it-py #​2439

[13.1.0] - 2023-01-14

Fixed
  • Fixed wrong filenames in Jupyter tracebacks #​2271
Added
  • Added locals_hide_dunder and locals_hide_sunder to Tracebacks, to hide double underscore and single underscore locals. #​2754
Changed
  • Tracebacks will now hide double underscore names from locals by default. Set locals_hide_dunder=False to restore previous behaviour.

[13.0.1] - 2023-01-06

Fixed
  • Fixed issue with Segment.split_cells for mixed single and double cell widths

[13.0.0] - 2022-12-30

Fixed
  • Reversed pre and code tags in base HTML format #​2642
  • Improved detection of attrs library, that isn't confused by the presence of the attr library.
  • Fixed issue with locals_max_length parameter not being respected in Traceback #​2649
  • Handling of broken fileno made more robust. Fixes #​2645
  • Fixed missing fileno on FileProxy
Fixed
  • Fix type of spinner_style argument in Console.status #​2613.
Changed
  • Bumped minimum Python version to 3.7 #​2567
  • Pretty-printing of "tagged" __repr__ results is now greedy when matching tags #​2565
  • progress.track now supports deriving total from __length_hint__
Added
  • Add type annotation for key_separator of pretty.Node #​2625

[12.6.0] - 2022-10-02

Added
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

[12.5.2] - 2022-07-18

Added
  • Add Turkish Readme.

[12.5.1] - 2022-07-11

Fixed
  • Fixed missing typing extensions dependency on 3.9 #​2386
  • Fixed Databricks Notebook is not detected as Jupyter environment. #​2422

[12.5.0] - 2022-07-11

Added
  • 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
  • Style.__add__ will no longer return NotImplemented
  • Remove rich._lru_cache
Changed
  • Default width of Jupyter console size is increased to 115
  • Optimized Segment.divide
Fixed
  • 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

[12.4.4] - 2022-05-24

Changed
  • Added clipping per line to SVG output to avoid box characters overlapping
  • Optimized SVG output

[12.4.3] - 2022-05-23

Changed
  • Further tweaks to SVG character matrix
  • Added clip rect to SVG to prevent box characters overlapping bottom of terminal

[12.4.2] - 2022-05-23

Fixed
  • Fix for SVG on Firefox
Changed
  • Removed excess margin from SVG, tweaked cell sizes to better render block characters

[12.4.1] - 2022-05-08

Fixed
  • Fix for default background color in SVG export #​2260
Changed
  • Added a keyline around SVG terminals which is visible on dark backgrounds
Changed
  • Added a keyline around SVG terminals which is visible on dark backgrounds

[12.4.0] - 2022-05-07

Changed
  • Rebuilt SVG export to create a simpler SVG that is more portable
  • Fix render_lines crash when render height was negative #​2246
  • Make objects from rich.progress.open forward the name of the internal handle #​2254
Added
  • Add padding to Syntax constructor #​2247

[12.3.0] - 2022-04-26

Added
  • Ability to change terminal window title #​2200
  • 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 #​2207
Fixed
  • 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 #​2187
  • Safari - Box appearing around SVG export #​2201
  • Fixed recursion error in Jupyter progress bars #​2047
  • Complex numbers are now identified by the highlighter #​2214
  • Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes #​2222
  • Fixed missing blank line in traceback rendering #​2206
  • Fixed running Rich with the current working dir was deleted #​2197
Changed
  • Setting total=None on progress is now possible, and will display pulsing animation
  • Micro-optimization for Segment.divide

[12.2.0] - 2022-04-05

Changed
  • Bumped typing-extensions minimum to 4.0.0
  • Bumped minimum Python version to 3.6.3

[12.1.0] - 2022-04-03

Added
  • Progress.open and Progress.wrap_file method to track the progress while reading from a file or file-like object textualize#1759
  • SVG export functionality #​2101
  • Adding Indonesian translation
Fixed
  • Add missing end keyword argument to Text.from_markup #​2095
  • Fallback to text lexer when no lexer guessed #​2133
  • Fixed issue with decoding ANSI reset #​2112

[12.0.1] - 2022-03-22

Changed
  • Improve performance of cell_length #​2061
  • Improve performance of chop_cells #​2077
Fixed
  • Fix capturing stdout on legacy Windows #​2066

[12.0.0] - 2022-03-10

Added
  • Added options to TimeRemainingColumn to render a compact time format and render elapsed time when a task is
    finished. #​1992
  • Added ProgressColumn MofNCompleteColumn to display raw completed/total column (similar to DownloadColumn,
    but displays values as ints, does not convert to floats or add bit/bytes units).
    #​1941
  • Replace Colorama with win32 renderer #​1993
  • Add support for namedtuples to Pretty #​2031
Fixed
  • In Jupyter mode make the link target be set to "_blank"
  • Fix some issues with markup handling around "[" characters #​1950
  • Fix syntax lexer guessing.
  • Fixed Pretty measure not respecting expand_all #​1998
  • Collapsed definitions for single-character spinners, to save memory and reduce import time.
  • Fix print_json indent type in __init__.py
  • Fix error when inspecting object defined in REPL #​2037
  • Fix incorrect highlighting of non-indented JSON #​2038
  • Fixed height reset in complex renderables #​2042
Changed
  • Improved support for enum.Flag in ReprHighlighter #​1920
  • Tree now respects justify=None, i.e. won't pad to right #​1690
  • Removed rich.tabulate which was marked for deprecation
  • Deprecated rich.align.AlignValues in favor of AlignMethod

[11.2.0] - 2022-02-08

Added
  • Add support for US spelling of "gray" in ANSI color names #​1890
  • Added rich.diagnose.report to expose environment debugging logic as function #​1917
  • Added classmethod Progress.get_default_columns() to get the default list of progress bar columns #​1894
Fixed
  • Fixed performance issue in measuring text
Fixed

[11.1.0] - 2022-01-28

Added
  • Workaround for edge case of object from Faiss with no __class__ #​1838
  • Add Traditional Chinese readme
  • Add Syntax.guess_lexer, add support for more lexers (e.g. Django templates etc.) #​1869
  • Add lexer parameter to Syntax.from_path to allow for overrides #​1873
Fixed
  • Workaround for edge case of object from Faiss with no __class__ #​1838
  • Ensure Syntax always justifies left #​1872
  • Handle classes in inspect when methods=True #​1874

[11.0.0] - 2022-01-09

Added
  • Added max_depth arg to pretty printing #​1585
  • Added vertical_align to Table.add_row #​1590
Fixed
  • Fixed issue with pretty repr in jupyter notebook #​1717
  • Fix Traceback theme defaults override user supplied styles #​1786
Changed
  • 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

[10.16.2] - 2021-01-02

Fixed
  • Fixed @​ not being escaped in markup

[10.16.1] - 2021-12-15

Fixed

[10.16.0] - 2021-12-12

Fixed
Added

[10.15.2] - 2021-12-02

Fixed

[10.15.1] - 2021-11-29

Fixed
  • Reverted thread-safety fix for Live that introduced deadlock potential

[10.15.0] - 2021-11-28

Added
  • Added dynamic_progress.py to examples
  • Added ConsoleOptions.update_height
  • Fixed Padding not respecting height
Changed
  • Some optimizations for simple strings (with only single cell widths)
Fixed

[10.14.0] - 2021-11-16

Fixed
  • Fixed progress speed not updating when total doesn't change
  • Fixed superfluous new line in Status textualize#1662
  • Fixed Windows legacy width again
  • Fixed infinite loop in set_cell_size textualize#1682
Added
  • Added file protocol to URL highlighter textualize#1681
  • Added rich.protocol.rich_cast
Changed
  • Allowed __rich__ to work recursively
  • Allowed Text classes to work with sep in print textualize#1689
Added
  • Added a rich.text.Text.from_ansi helper method for handling pre-formatted input strings textualize#1670

[10.13.0] - 2021-11-07

Added
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 a bug where logging handler raises an exception when running with pythonw (related to https://bugs.python.org/issue13807)
  • Fixed issue with TERM env vars that have more than one hyphen textualize#1640
  • Fixed missing new line after progress bar when terminal is not interactive textualize#1606
  • Fixed exception in IPython when disabling pprint with %pprint textualize#1646
  • Fixed issue where values longer than the console width produced invalid JSON textualize#1653
  • Fixes trailing comma when pretty printing dataclass with last field repr=False textualize#1599

Changed

[10.12.0] - 2021-10-06

Updated
  • Official Py3.10 release
Fixed
  • Fixed detection of custom repr when pretty printing dataclasses

[10.11.0] - 2021-09-24

Added
  • Added suppress parameter to tracebacks
  • Added max_frames parameter to tracebacks

[10.10.0] - 2021-09-18

Added
  • Added stdin support to rich.json
Fixed
  • Fixed pretty printing of objects with fo magic with getattr textualize#1492

[10.9.0] - 2021-08-29

Added
  • Added data parameter to print_json method / function
  • Added an --indent parameter to python -m rich.json
Changed
  • Changed default indent of JSON to 2 (down from 4)
  • Changed highlighting of JSON keys to new style (bold blue)

[10.8.0] - 2021-08-28

Added
  • Added Panel.subtitle
  • Added Panel.subtitle_align
  • Added rich.json.JSON
  • Added rich.print_json and Console.print_json
Fixed
  • Fixed a bug where calling rich.reconfigure within a pytest_configure hook would lead to a crash
  • Fixed highlight not being passed through options textualize#1404

[10.7.0] - 2021-08-05

Added
  • Added Text.apply_meta
  • Added meta argument to Text.assemble
  • Added Style.from_meta
  • Added Style.on
  • Added Text.on
Changed
  • Changed RenderGroup to Group and render_group to group (old names remain for compatibility but will be deprecated in the future)
  • Changed rich.repr.RichReprResult to rich.repr.Result (old names remain for compatibility but will be deprecated in the future)
  • Changed meta serialization to use pickle rather than marshal to permit callables

[10.6.0] - 2021-07-12

Deprecated
  • Added deprecation warning for tabulate_mapping which will be removed in v11.0.0
Added
  • Added precision argument to filesize.decimal
  • Added separator argument to filesize.decimal
  • Added _rich_traceback_guard to Traceback
  • Added emoji_variant to Console
  • Added -emoji and -text variant selectors to emoji code
Fixed
Changed
  • Changed Console.size to use unproxied stdin and stdout

[10.5.0] - 2021-07-05

Fixed
Added
  • Added new_line_start argument to Console.print
  • Added Segment.divide method
  • Added Segment.split_cells method
  • Added segment.SegmentLines class

[10.4.0] - 2021-06-18

Added
  • Added Style.meta
  • Added rich.repr.auto decorator
Fixed
  • Fixed error pretty printing classes with special rich_repr method

[10.3.0] - 2021-06-09

Added
  • Added Console.size setter
  • Added Console.width setter
  • Added Console.height setter
  • Added angular style Rich reprs
  • Added an IPython extension. Load via %load_ext rich
Changed
  • Changed the logic for retrieving the calling frame in console logs to a faster one for the Python implementations that support it.

[10.2.2] - 2021-05-19

Fixed

[10.2.1] - 2021-05-17

Fixed

[10.2.0] - 2021-05-12

Added
  • Added syntax for call, i.e. "Foo(bar)"
  • Added Console.measure as a convenient alias for Measurement.get
  • Added support for pretty printing attrs objects
  • Added mappingproxy to pretty print
  • Added UserDict and UserList support to pretty printer
Changed
  • 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
Fixed

[10.1.0] - 2021-04-03

Fixed
  • Fixed support for jupyter qtconsole and similar Jupyter environments

[10.0.1] - 2021-03-30

Fixed

[10.0.0] - 2021-03-27

Changed
  • Made pydoc import lazy as at least one use found it slow to import textualize#1104
  • 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
  • text parameter to rich.spinner.Spinner changed to RenderableType
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 textualize#1129
  • Fixed incorrect measurement of Text with new lines and whitespace textualize#1133
  • Made type annotations consistent for various total keyword arguments in rich.progress and rich.progress_bar
  • Disabled Progress no longer displays itself when starting textualize#1125
  • Animations no longer reset when updating rich.status.Status

[9.13.0] - 2021-03-06

Added
  • Pretty printer now supports dataclasses
Fixed
Changed
  • Added ws and wss to url highlighter

[9.12.4] - 2021-03-01

Fixed
  • Fixed custom formatters with rich tracebacks in RichHandler textualize#1079
Changed
  • Allow highly compressed table cells to go to 0 width
  • Optimization to remove empty styles in various places

[9.12.3] - 2021-02-28

Changed
  • Optimized Padding

[9.12.2] - 2021-02-27

Added
  • Added ConsoleOptions.copy
Changed
  • Optimized ConsoleOptions.update

[9.12.1] - 2021-02-27

Fixed
Added
  • Added Task.finished_speed
Changed
  • Froze TransferSpeedColumn speed when task is finished
  • Added SIGINT handler to downloader.py example
  • Optimization for large tables

[9.12.0] - 2021-02-24

Fixed
Changed
  • Printing a table with no columns now result in a blank line textualize#1044
Added
  • Added height to Panel

[9.11.1] - 2021-02-20

Fixed
  • Fixed table with expand=False not expanding when justify="center"
  • Fixed single renderable in Layout not respecting height
  • Fixed COLUMNS and LINES env var textualize#1019
  • Layout now respects minimum_size when fixes sizes are greater than available space
  • HTML export now changes link underline score to match terminal textualize#1009
Changed
  • python -m rich.markdown and rich.syntax show usage with no file
Added
  • Added height parameter to Layout
  • Added python -m rich.segment

[9.11.0] - 2021-02-15

Fixed
Added
  • Added cheeky sponsorship request to test card
  • Added quiet argument to Console constructor
  • Added support for a callback function to format timestamps (allows presentation of milliseconds)
  • Added Console.set_alt_screen and Console.screen
  • Added height to ConsoleOptions
  • Added vertical parameter to Align
  • Added Layout class
Changed
  • Pretty.overflow now defaults to None
  • Panel now respects options.height
  • Traceback lexer defaults to Python if no extension on source
  • Added ConsoleDimensions size attribute to ConsoleOptions so that size can't change mid-render

[9.10.0] - 2021-01-27

Changed
  • Some optimizations for Text
  • Further optimized Tracebacks by not tokenizing code more that necessary
  • Table Column.header_style and Column.footer_style are now added to Table header/footer style

[9.9.0] - 2021-01-23

Changed
  • Extended Windows palette to 16 colors
  • Modified windows palette to Windows 10 colors
  • Change regex for attrib_name to be more performant
  • Optimized traceback generation
Fixed
  • Fix double line tree guides on Windows
  • Fixed Tracebacks ignoring initial blank lines
  • Partial fix for tracebacks not finding source after chdir
  • Fixed error message when code in tracebacks doesn't have an extension textualize#996
Added
  • Added post_style argument to Segment.apply_style

[9.8.2] - 2021-01-15

Fixed

[9.8.1] - 2021-01-13

Fixed
  • Fixed rich.inspect failing with attributes that claim to be callable but aren't textualize#916

[9.8.0] - 2021-01-11

Added
  • Added rich_measure for tree
  • Added rich.align.VerticalCenter
Changed
  • The style argument on Align now applies to background only
  • Changed display of progress bars in no_color mode for clarity
  • Console property size will fall back to getting the terminal size of stdout it stdin fails, this allows size to be correctly determined when piping
Fixed
  • Fixed panel cropping when shrunk too bar
  • Allow passing markdown over STDIN when using python -m rich.markdown
  • Fix printing MagicMock.mock_calls textualize#903

[9.7.0] - 2021-01-09

Added
  • Added rich.tree
  • Added no_color argument to Console

[9.6.2] - 2021-01-07

Fixed
  • Fixed markup escaping edge case textualize#878
  • Double tag escape, i.e. "\\[foo]" results in a backslash plus [foo] tag
  • Fixed header_style not applying to headers in positional args textualize#953

[9.6.1] - 2020-12-31

Fixed
  • Fixed encoding error on Windows when loading code for Tracebacks

[9.6.0] - 2020-12-30

Changed
  • MarkupError exception raise from None to omit internal exception
  • Factored out RichHandler.render and RichHandler.render_message for easier extending
  • Display pretty printed value in rich.inspect
Added
  • Added Progress.TimeElapsedColumn
  • Added IPython support to pretty.install
Fixed
  • Fixed display of locals in Traceback for stdin

[9.5.1] - 2020-12-19

Fixed
  • Fixed terminal size detection on Windows textualize#836
  • Fixed hex number highlighting

[9.5.0] - 2020-12-18

Changed
  • If file is not specified on Console then the Console.file will return the current sys.stdout. Prior to 9.5.0 sys.stdout was cached on the Console, which could break code that wrapped sys.stdout after the Console was constructed.
  • Changed Color.__str__ to not include ansi codes
  • Changed Console.size to get the terminal dimensions via sys.stdin. This means that if you set file to be an io.StringIO file then the width will be set to the current terminal dimensions and not a default of 80.
Added
  • Added stderr parameter to Console
  • Added rich.reconfigure
  • Added Color.__rich__
  • Added Console.soft_wrap
  • Added Console.style parameter
  • Added Table.highlight parameter to enable highlighting of cells
  • Added Panel.highlight parameter to enable highlighting of panel title
  • Added highlight to ConsoleOptions
Fixed

[9.4.0] - 2020-12-12

Added
  • Added rich.live textualize#382
  • Added align parameter to Rule and Console.rule
  • Added rich.Status class and Console.status
  • Added getitem to Text
  • Added style parameter to Console.log
  • Added rich.diagnose command
Changed
  • Table.add_row style argument now applies to entire line and not just cells
  • Added end_section parameter to Table.add_row to force a line underneath row

Fixed

[9.3.0] - 2020-12-1

Added
  • Added get_datetime parameter to Console, to allow for repeatable tests
  • Added get_time parameter to Console
  • Added rich.abc.RichRenderable
  • Added expand_all to rich.pretty.install()
  • Added locals_max_length, and locals_max_string to Traceback and logging.RichHandler
  • Set defaults of max_length and max_string for Traceback to 10 and 80
  • Added disable argument to Progress
Changed
  • Reformatted test card (python -m rich)
Fixed
  • Fixed redirecting of stderr in Progress
  • Fixed broken expanded tuple of one textualize#445
  • Fixed traceback message with from exceptions
  • Fixed justify argument not working in console.log textualize#460

[9.2.0] - 2020-11-08

Added
  • Added tracebacks_show_locals parameter to RichHandler
  • Added max_string to Pretty
  • Added rich.ansi.AnsiDecoder
  • Added decoding of ansi codes to captured stdout in Progress
  • Added expand_all to rich.pretty.pprint
Changed
  • Applied dim=True to indent guide styles
  • Factored out RichHandler.get_style_and_level to allow for overriding in subclasses
  • Hid progress bars from html export
  • rich.pretty.pprint now soft wraps

[9.1.0] - 2020-10-23

Added
  • Added Text.with_indentation_guide
  • Added Text.detect_indentation
  • Added Pretty.indent_guides
  • Added Syntax.indent_guides
  • Added indent_guides parameter on pretty.install
  • Added rich.pretty.pprint
  • Added max_length to Pretty
Changed
  • Enabled indent guides on Tracebacks
Fixed

[9.0.1] - 2020-10-19

Fixed

[9.0.0] - 2020-10-18

Fixed
  • Progress download column now displays decimal units
Added
  • Support for Python 3.9
  • Added legacy_windows to ConsoleOptions
  • Added ascii_only to ConsoleOptions
  • Added box.SQUARE_DOUBLE_HEAD
  • Added highlighting of EUI-48 and EUI-64 (MAC addresses)
  • Added Console.pager
  • Added Console.out
  • Added binary_units in progress download column
  • Added Progress.reset
  • Added Style.background_style property
  • Added Bar renderable textualize#361
  • Added Table.min_width
  • Added table.Column.min_width and table.Column.max_width, and same to Table.add_column
Changed
  • Dropped box.get_safe_box function in favor of Box.substitute
  • Changed default padding in Panel from 0 to (0, 1) textualize#385
  • Table with row_styles will extend background color between cells if the box has no vertical dividehttps://github.com/textualize/rich/issues/38383
  • Changed default of fit kwarg in render_group() from False to True
  • Renamed rich.bar to rich.progress_bar, and Bar class to ProgressBar, rich.bar is now the new solid bar class
Fixed
  • Fixed typo in Style.transparent_background method name.

[8.0.0] - 2020-10-03

Added
  • Added Console.bell method
  • Added Set to types that Console.print will automatically pretty print
  • Added show_locals to Traceback
  • Added theme stack mechanism, see Console.push_theme and Console.pop_theme
Changed
  • Changed Style.empty to Style.null to better reflect what it does
  • Optimized combining styles involving a null style
  • Change error messages in Style.parse to read better
Fixed
  • Fixed Table.__rich_measure__
  • Fixed incorrect calculation of fixed width columns

[7.1.0] - 2020-09-26

Added
  • Added Console.begin_capture, Console.end_capture and Console.capture
  • Added Table.title_justify and Table.caption_justify textualize#301
Changed
  • Improved formatting of exceptions
  • Enabled Rich exceptions in logging https://github.com/taliraj
  • UTF-8 encoding is now mentioned in HTML head section
Removed
  • Removed line_numbers argument from traceback.install, which was undocumented and did nothing

[7.0.0] - 2020-09-18

Added
  • New ansi_dark and ansi_light themes
  • Added Text.append_tokens for fast appending of string + Style pairs
  • Added Text.remove_suffix
  • Added Text.append_tokens
Changed
  • Text.tabs_to_spaces was renamed to Text.expand_tabs, which works in place rather than returning a new instance
  • Renamed Column.index to Column._index
  • Optimized Style.combine and Style.chain
  • Optimized text rendering by fixing internal cache mechanism
  • Optimized hash generation for Styles

[6.2.0] - 2020-09-13

Added
  • Added inline code highlighting to Markdown

[6.1.2] - 2020-09-11

Added
  • Added ipv4 and ipv6 to ReprHighlighter
Changed
  • The # sign is included in url highlighting
Fixed
  • Fixed force-color switch in rich.syntax and rich.markdown commands

[6.1.1] - 2020-09-07

Changed
  • Restored "def" in inspect signature

[6.1.0] - 2020-09-07

Added
  • New inspect module
  • Added os._Environ to pretty print
Fixed
  • Prevented recursive renderables from getting stuck

Changed

  • force_terminal and force_jupyter can now be used to force the disabled state, or left as None to auto-detect.
  • Panel now expands to fit title if supplied

[6.0.0] - 2020-08-25

Fixed
  • Fixed use of __rich__ cast
Changed
  • New algorithm to pretty print which fits more on a line if possible
  • Deprecated character parameter in Rule and Console.rule, in favor of characters
  • Optimized Syntax.from_path to avoid searching all lexers, which also speeds up tracebacks
Added
  • Added soft_wrap flag to Console.print

[5.2.1] - 2020-08-19

Fixed

[5.2.0] - 2020-08-14

Changed

[5.1.2] - 2020-08-10

Fixed
  • Further optimized pretty printing ~5X.

[5.1.1] - 2020-08-09

Fixed
  • Optimized pretty printing ~3X faster

[5.1.0] - 2020-08-08

Added
  • Added Text.cell_len
  • Added helpful message regarding unicode decoding errors textualize#212
  • Added display hook with pretty.install()
Fixed
  • Fixed deprecation warnings re backslash textualize#210
  • Fixed repr highlighting of scientific notation, e.g. 1e100
Changed
  • Implemented pretty printing, and removed pprintpp from dependencies
  • Optimized Text.join

[5.0.0] - 2020-08-02

Changed
  • Change to console markup syntax to not parse Python structures as markup, i.e. [1,2,3] is treated as a literal, not a tag.
  • Standard color numbers syntax has changed to "color(<number>)" so that [5] (for example) is considered a literal.
  • Markup escape method has changed from double brackets to preceding with a backslash, so foo[[]] would be foo\[bar]

[4.2.2] - 2020-07-30

Changed
  • Added thread to automatically call update() in progress.track(). Replacing previous adaptive algorithm.
  • Second attempt at working around https://bugs.python.org/issue37871

[4.2.1] - 2020-07-29

Added
  • Added show_time and show_level parameters to RichHandler textualize#182
Fixed
Changed

[4.2.0] - 2020-07-27

Fixed

[4.1.0] - 2020-07-26

Changed
  • Optimized progress.track for very quick

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added bot Automated pull requests or issues dependencies Pull requests that update a dependency file renovate Pull requests from Renovate skip:codecov Skip Codecov reporting and check labels Apr 12, 2026
@renovate renovate bot requested a review from a team as a code owner April 12, 2026 09:22
@renovate renovate bot added bot Automated pull requests or issues renovate Pull requests from Renovate skip:codecov Skip Codecov reporting and check labels Apr 12, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Automated pull requests or issues dependencies Pull requests that update a dependency file renovate Pull requests from Renovate skip:codecov Skip Codecov reporting and check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants