- 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