Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
>=14,<15→>=15,<16Release Notes
Textualize/rich (rich)
v15.0.0Compare Source
Changed
Fixed
endparameter #4075Text.from_ansiremoving newlines #4076FileProxy.isattynot proxying #4077[14.3.4] - 2026-04-11
Changed
[14.3.3] - 2026-02-19
Fixed
cells.split_graphemes#4006[14.3.2] - 2026-02-01
Fixed
[14.3.1] - 2026-01-24
Fixed
[14.3.0] - 2026-01-24
Fixed
Consoleinstance is passed topretty.install#3915Progress#3905Added
UNICODE_VERSIONenvironment variable #3930last_render_heightproperty to LiveRender #3934Segment.split_lines_terminator#3938Changed
cells.cell_lennow has aunicode_versionparameter (that you probably should never change) #3930markdown.table.headerandmarkdown.table.borderstyles #3942[14.2.0] - 2025-10-09
Changed
Fixed
inspecton objects with unusual__qualname__attribute #3894[14.1.0] - 2025-06-25
Changed
typing_extensionsfrom runtime dependencies #3763Fixed
Paneltitle missing the panel background style #3569Added
TTY_INTERACTIVEenvironment variable to force interactive mode off or on #3777[14.0.0] - 2025-03-30
Added
TTY_COMPATIBLEto override auto-detection of TTY support (See console.rst for details). #3675Changed
NO_COLORenv var is now considered disabled. #3675FORCE_COLORenv var is now considered disabled. #3675Exception.add_note) #3676[13.9.4] - 2024-11-01
Changed
[13.9.3] - 2024-10-22
Fixed
[13.9.2] - 2024-10-04
Fixed
Tablecolumns not highlighting when added byadd_row#3517[13.9.1] - 2024-10-01
Fixed
[13.9.0] - 2024-10-01
Changed
Fixed
Text.stylenow respected in Panel title/subtitle #3509[13.8.1] - 2024-09-10
Fixed
[13.8.0] - 2024-08-26
Fixed
Tablerendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.collections.deque#2864background_colorofSyntaxnot including padding #3295Console#3419append_tokens#3471Changed
RichHandlererrors and warnings will now use different colors (red and yellow) #2825Progress#2616FORCE_COLORorNO_COLORenvironment variables\x1b7) #3278/rich.Text.highlight_regexnow accepts a regular expression object #3347Added
case_sensitiveparameter toprompt.Prompt. This determines if theresponse is treated as case-sensitive. Defaults to
True.Console.on_broken_pipe#3468[13.7.1] - 2024-02-28
Fixed
Added
nameattribute to theSpinnerclass #3359[13.7.0] - 2023-11-15
Added
Fixed
FloatPrompt.[13.6.0] - 2023-09-30
Added
[13.5.3] - 2023-09-17
Fixed
[13.5.2] - 2023-08-01
Fixed
[13.5.1] - 2023-07-31
Fixed
~) not included in link regex when printing to console #3057[13.5.0] - 2023-07-29
Fixed
<html>tag comes before the<head>tag #3021__eq__#2875Added
Changed
Noneto indicate that Console.tab_size should be used.[13.4.2] - 2023-06-12
Changed
[13.4.1] - 2023-05-31
Fixed
[13.4.0] - 2023-05-31
Added
Markdown#2977[13.3.5] - 2023-04-27
Fixed
[13.3.4] - 2023-04-12
Fixed
is_terminalignoring FORCE_COLOR #2923[13.3.3] - 2023-02-27
Added
[13.3.2] - 2023-02-04
Fixed
preandcodetags in base HTML format #2642Console(stderr=True)inrich.traceback.installto support io redirection.Text.from_ansiparserAdded
Changed
rich.progress.track()will now show the elapsed time after finishing the task #2659[13.3.1] - 2023-01-28
Fixed
[13.3.0] - 2023-01-27
Fixed
Added
encodingparameter inTheme.read[13.2.0] - 2023-01-19
Changed
[13.1.0] - 2023-01-14
Fixed
Added
Changed
locals_hide_dunder=Falseto restore previous behaviour.[13.0.1] - 2023-01-06
Fixed
[13.0.0] - 2022-12-30
Fixed
preandcodetags in base HTML format #2642attrslibrary, that isn't confused by the presence of theattrlibrary.locals_max_lengthparameter not being respected in Traceback #2649filenomade more robust. Fixes #2645filenoon FileProxyFixed
spinner_styleargument inConsole.status#2613.Changed
__repr__results is now greedy when matching tags #2565progress.tracknow supports deriving total from__length_hint__Added
[12.6.0] - 2022-10-02
Added
FORCE_COLORenv var #2449max_depthargument to be passed to theinstall()hook #2486Noneas name in__rich_repr__for tuple positional args #2379font_aspect_ratioparameter in SVG export https://redirect.github.com/Textualize/rich/pull/2539/filesTable.add_sectionmethod. #2544Fixed
modeproperty on file wrapper breaking uploads viarequests#2495ensure_ascii#2538Layoutclass #2540Changed
[12.5.2] - 2022-07-18
Added
[12.5.1] - 2022-07-11
Fixed
[12.5.0] - 2022-07-11
Added
JUPYTER_COLUMNSandJUPYTER_LINESto control width and height of console in JupyterBoxstyle,MARKDOWN, for rendering tables ready to copy into markdown filesinspectwill prefix coroutine functions withasync defStyle.__add__will no longer returnNotImplementedChanged
Fixed
inspectwhen docstrings contain some special control codes #2294show_header=False#2330Capturecontexts andConsole(record=True)#2343Segment.split_and_crop_lines[12.4.4] - 2022-05-24
Changed
[12.4.3] - 2022-05-23
Changed
[12.4.2] - 2022-05-23
Fixed
Changed
[12.4.1] - 2022-05-08
Fixed
Changed
Changed
[12.4.0] - 2022-05-07
Changed
rich.progress.openforward the name of the internal handle #2254Added
paddingto Syntax constructor #2247[12.3.0] - 2022-04-26
Added
_rich_traceback_omit = Truein their local scope #2207Fixed
sys.__stderr__on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process)Changed
total=Noneon progress is now possible, and will display pulsing animation[12.2.0] - 2022-04-05
Changed
[12.1.0] - 2022-04-03
Added
Fixed
endkeyword argument toText.from_markup#2095[12.0.1] - 2022-03-22
Changed
Fixed
[12.0.0] - 2022-03-10
Added
finished. #1992
MofNCompleteColumnto display rawcompleted/totalcolumn (similar to DownloadColumn,but displays values as ints, does not convert to floats or add bit/bytes units).
#1941
Pretty#2031Fixed
__init__.pyChanged
[11.2.0] - 2022-02-08
Added
rich.diagnose.reportto expose environment debugging logic as function #1917Progress.get_default_columns()to get the default list of progress bar columns #1894Fixed
Fixed
[11.1.0] - 2022-01-28
Added
__class__#1838Syntax.guess_lexer, add support for more lexers (e.g. Django templates etc.) #1869lexerparameter toSyntax.from_pathto allow for overrides #1873Fixed
__class__#1838Syntaxalways justifies left #1872[11.0.0] - 2022-01-09
Added
vertical_alignto Table.add_row #1590Fixed
Changed
Syntax.__init__parameterlexer_namerenamed tolexer[10.16.2] - 2021-01-02
Fixed
[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
[10.15.0] - 2021-11-28
Added
Changed
Fixed
[10.14.0] - 2021-11-16
Fixed
Added
Changed
__rich__to work recursivelyAdded
rich.text.Text.from_ansihelper method for handling pre-formatted input strings textualize#1670[10.13.0] - 2021-11-07
Added
Fixed
Changed
[10.12.0] - 2021-10-06
Updated
Fixed
[10.11.0] - 2021-09-24
Added
suppressparameter to tracebacksmax_framesparameter to tracebacks[10.10.0] - 2021-09-18
Added
rich.jsonFixed
[10.9.0] - 2021-08-29
Added
Changed
[10.8.0] - 2021-08-28
Added
Fixed
rich.reconfigurewithin apytest_configurehook would lead to a crash[10.7.0] - 2021-08-05
Added
Changed
RenderGrouptoGroupandrender_grouptogroup(old names remain for compatibility but will be deprecated in the future)rich.repr.RichReprResulttorich.repr.Result(old names remain for compatibility but will be deprecated in the future)[10.6.0] - 2021-07-12
Deprecated
Added
Fixed
Changed
[10.5.0] - 2021-07-05
Fixed
Added
[10.4.0] - 2021-06-18
Added
Fixed
[10.3.0] - 2021-06-09
Added
%load_ext richChanged
[10.2.2] - 2021-05-19
Fixed
[10.2.1] - 2021-05-17
Fixed
[10.2.0] - 2021-05-12
Added
Changed
Fixed
[10.1.0] - 2021-04-03
Fixed
[10.0.1] - 2021-03-30
Fixed
[10.0.0] - 2021-03-27
Changed
__rich_measure__signature changed to accept ConsoleOptions rather than max_widthtextparameter to rich.spinner.Spinner changed to RenderableTypeAdded
__rich_repr__protocol method to Pretty__rich_repr__Fixed
totalkeyword arguments inrich.progressand rich.progress_bar[9.13.0] - 2021-03-06
Added
Fixed
Changed
[9.12.4] - 2021-03-01
Fixed
Changed
[9.12.3] - 2021-02-28
Changed
[9.12.2] - 2021-02-27
Added
Changed
[9.12.1] - 2021-02-27
Fixed
Added
Changed
[9.12.0] - 2021-02-24
Fixed
Changed
Added
[9.11.1] - 2021-02-20
Fixed
Changed
Added
[9.11.0] - 2021-02-15
Fixed
__str__textualize#980Added
quietargument to Console constructorverticalparameter to AlignChanged
[9.10.0] - 2021-01-27
Changed
[9.9.0] - 2021-01-23
Changed
Fixed
Added
[9.8.2] - 2021-01-15
Fixed
[9.8.1] - 2021-01-13
Fixed
[9.8.0] - 2021-01-11
Added
Changed
styleargument on Align now applies to background onlysizewill fall back to getting the terminal size of stdout it stdin fails, this allows size to be correctly determined when pipingFixed
python -m rich.markdown[9.7.0] - 2021-01-09
Added
[9.6.2] - 2021-01-07
Fixed
"\\[foo]"results in a backslash plus[foo]tag[9.6.1] - 2020-12-31
Fixed
[9.6.0] - 2020-12-30
Changed
Added
Fixed
[9.5.1] - 2020-12-19
Fixed
[9.5.0] - 2020-12-18
Changed
Color.__str__to not include ansi codesAdded
Color.__rich__Fixed
[9.4.0] - 2020-12-12
Added
Changed
Fixed
[9.3.0] - 2020-12-1
Added
Changed
Fixed
fromexceptions[9.2.0] - 2020-11-08
Added
Changed
[9.1.0] - 2020-10-23
Added
Changed
Fixed
[9.0.1] - 2020-10-19
Fixed
[9.0.0] - 2020-10-18
Fixed
Added
Changed
Fixed
Style.transparent_backgroundmethod name.[8.0.0] - 2020-10-03
Added
Changed
Fixed
[7.1.0] - 2020-09-26
Added
Changed
Removed
[7.0.0] - 2020-09-18
Added
Changed
[6.2.0] - 2020-09-13
Added
[6.1.2] - 2020-09-11
Added
Changed
#sign is included in url highlightingFixed
[6.1.1] - 2020-09-07
Changed
[6.1.0] - 2020-09-07
Added
Fixed
Changed
[6.0.0] - 2020-08-25
Fixed
__rich__castChanged
characterparameter in Rule and Console.rule, in favor ofcharactersAdded
[5.2.1] - 2020-08-19
Fixed
[5.2.0] - 2020-08-14
Changed
[5.1.2] - 2020-08-10
Fixed
[5.1.1] - 2020-08-09
Fixed
[5.1.0] - 2020-08-08
Added
Fixed
Changed
[5.0.0] - 2020-08-02
Changed
[1,2,3]is treated as a literal, not a tag."color(<number>)"so that[5](for example) is considered a literal.foo[[]]would befoo\[bar][4.2.2] - 2020-07-30
Changed
[4.2.1] - 2020-07-29
Added
Fixed
Changed
[4.2.0] - 2020-07-27
Fixed
[4.1.0] - 2020-07-26
Changed
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.