* 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
- 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
* 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
- Update to version 9.9.0
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
Added
* Added post_style argument to Segment.apply_style
- Changelog for 9.8.2
* Fixed deadlock in live #927
- Changelog for 9.8.1
* Fixed rich.inspect failing with attributes that claim to be
callable but aren't #916
- Changelog for 9.8.0
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 #903
- Changelog for 9.7.0
* Added rich.tree
* Added no_color argument to Console
- Changelog for 9.6.2
* Fixed markup escaping edge case #878
* Double tag escape, i.e. "\\[foo]" results in a
backslash plus [foo] tag
* Fixed header_style not applying to headers in
positional args #953
- Changelog for 9.6.1
* Fixed encoding error on Windows when loading code for
Tracebacks
- Changelog for 9.6.0
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
- Add dataclasses BuildRequires for python 3.6 builds
OBS-URL: https://build.opensuse.org/request/show/866539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=22
- Update to version 9.5.1
* Fixed hex number highlighting
- Update to version 9.5.0
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 (for example) 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.style parameter
* Added Table.highlight parameter to enable highlighting ofcells
* Added Panel.highlight parameter to enable highlighting of panel
title
* Added highlight to ConsoleOptions
Fixed
* Fixed double output in rich.live #485
* Fixed Console.out highlighting not reflecting defaults #827
* FileProxy now raises TypeError for empty non-str arguments #828
- Update to version 9.5.0
Added
* Added rich.live #382
* Added algin parameter to Rule and Console.rule
OBS-URL: https://build.opensuse.org/request/show/856924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=20
- Update to version 9.1.0
* New option to render 'indent guides' in Syntax and pretty
printing.
* Added a max_length argument to pretty printing which will
truncate containers longer than a certain length.
- Update to version 9.0.0
* Added a new pager method which will pipe any console output
in to the system 'pager'.
* There's also a new Bar renderable you could use to display a
chart in a table. See bars.py for an example of how to use it.
OBS-URL: https://build.opensuse.org/request/show/843916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=16
- Update to version 7.1.0
Added
* Added Console.begin_capture, Console.end_capture and
Console.capture
* Added Table.title_justify and Table.caption_justify
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
- Update to version 7.0.0
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
- Update to version 6.1.1
Added
OBS-URL: https://build.opensuse.org/request/show/837924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=14
- Update to v5.0.0
* 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]`
- From v4.2.2
* Added thread to automatically call update() in progress.track().
Replacing previous adaptive algorithm.
* Second attempt at working around https://bugs.python.org/issue37871
OBS-URL: https://build.opensuse.org/request/show/824925
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=10
- Update to version 3.4.1
* Fixed incorrect default of expand in Table.grid
- Update to version 3.4.0
Added
* Added stream parameter to Console.input
* Added password parameter to Console.input
* Added description parameter to Progress.update
* Added rich.prompt
* Added detecting 'dumb' terminals
* Added Text.styled alternative constructor
Fixes
* Fixed progress bars so that they are readable when color is
disabled
- Update to version 3.3.2
Changed
* Optimized Text.pad
Added
* Added rich.scope
* Change log_locals to use scope.render_scope
* Added title parameter to Columns
OBS-URL: https://build.opensuse.org/request/show/822298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=7
- Update to version 3.3.1
Added
* box.ASCII_DOUBLE_HEAD
Changed
* Removed replace of -- --- ... from Markdown, as it made it
impossible to include CLI info
- Update to version 3.3.0
Added
* Added title and title_align options to Panel
* Added pad and width parameters to Align
* Added end parameter to Rule
* Added Text.pad and Text.align methods
* Added leading parameter to Table
- Update to version 3.2.0
Added
* Added Align.left Align.center Align.right shortcuts
* Added Panel.fit shortcut
* Added align parameter to Columns
Fixed
* Align class now pads to the right, like Text
* ipywidgets added as an optional dependency
* Issue with Panel and background color
* Fixed missing __bool__ on Segment
Changed
* Added border_style argument to Panel (note, style now applies
to interior of the panel)
- Update to version 3.1.0
Changed
* Progress bars now work in Jupyter
Added
OBS-URL: https://build.opensuse.org/request/show/820749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=5