Update dependency rich to v12
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
rich | ironbank-pypi | major |
10.11.0 -> 12.4.4
|
Release Notes
willmcgugan/rich
v12.4.4
Changed
- Added clipping per line to SVG output to avoid box characters overlapping
- Optimized SVG output
v12.4.3
Changed
- Further tweaks to SVG character matrix
- Added clip rect to SVG to prevent box characters overlapping bottom of terminal
v12.4.2
Fixed
- Fix for SVG on Firefox
Changed
- Removed excess margin from SVG, tweaked cell sizes to better render block characters
v12.4.1
Fixed
- Fix for default background color in SVG export https://github.com/Textualize/rich/issues/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
v12.4.0
Changed
- Rebuilt SVG export to create a simpler SVG that is more portable
- Fix render_lines crash when render height was negative https://github.com/Textualize/rich/pull/2246
Added
- Add
padding
to Syntax constructor https://github.com/Textualize/rich/pull/2247
v12.3.0
Added
- Ability to change terminal window title https://github.com/Textualize/rich/pull/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 https://github.com/Textualize/rich/issues/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 https://github.com/Textualize/rich/issues/2187
- Safari - Box appearing around SVG export https://github.com/Textualize/rich/pull/2201
- Fixed recursion error in Jupyter progress bars https://github.com/Textualize/rich/issues/2047
- Complex numbers are now identified by the highlighter https://github.com/Textualize/rich/issues/2214
- Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes https://github.com/Textualize/rich/issues/2222
- Fixed missing blank line in traceback rendering https://github.com/Textualize/rich/issues/2206
- Fixed running Rich with the current working dir was deleted https://github.com/Textualize/rich/issues/2197
Changed
- Setting
total=None
on progress is now possible, and will display pulsing animation - Micro-optimization for Segment.divide
v12.2.0
Changed
- Bumped typing-extensions minimum to 4.0.0
- Bumped minimum Python version to 3.6.3
v12.1.0
Added
- Progress.open and Progress.wrap_file method to track the progress while reading from a file or file-like object https://github.com/willmcgugan/rich/pull/1759
- SVG export functionality https://github.com/Textualize/rich/pull/2101
- Adding Indonesian translation
Fixed
- Add missing
end
keyword argument toText.from_markup
https://github.com/Textualize/rich/pull/2095 - Fallback to text lexer when no lexer guessed https://github.com/Textualize/rich/pull/2133
- Fixed issue with decoding ANSI reset https://github.com/Textualize/rich/issues/2112
v12.0.1
Changed
- Improve performance of cell_length https://github.com/Textualize/rich/pull/2061
- Improve performance of chop_cells https://github.com/Textualize/rich/pull/2077
Fixed
- Fix capturing stdout on legacy Windows https://github.com/Textualize/rich/pull/2066
v12.0.0
Added
- Added options to TimeRemainingColumn to render a compact time format and render elapsed time when a task is finished. https://github.com/Textualize/rich/pull/1992
- Added ProgressColumn
MofNCompleteColumn
to display rawcompleted/total
column (similar to DownloadColumn, but displays values as ints, does not convert to floats or add bit/bytes units). https://github.com/Textualize/rich/pull/1941 - Replace Colorama with win32 renderer https://github.com/Textualize/rich/pull/1993
- Add support for namedtuples to
Pretty
https://github.com/Textualize/rich/pull/2031
Fixed
- In Jupyter mode make the link target be set to "_blank"
- Fix some issues with markup handling around "[" characters https://github.com/Textualize/rich/pull/1950
- Fix syntax lexer guessing.
- Fixed Pretty measure not respecting expand_all https://github.com/Textualize/rich/issues/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 https://github.com/Textualize/rich/pull/2037
- Fix incorrect highlighting of non-indented JSON https://github.com/Textualize/rich/pull/2038
- Fixed height reset in complex renderables https://github.com/Textualize/rich/issues/2042
Changed
- Improved support for enum.Flag in ReprHighlighter https://github.com/Textualize/rich/pull/1920
- Tree now respects justify=None, i.e. won't pad to right https://github.com/Textualize/rich/issues/1690
- Removed rich.tabulate which was marked for deprecation
- Deprecated rich.align.AlignValues in favor of AlignMethod
v11.2.0
Added
- Add support for US spelling of "gray" in ANSI color names https://github.com/Textualize/rich/issues/1890
- Added
rich.diagnose.report
to expose environment debugging logic as function https://github.com/Textualize/rich/pull/1917 - Added classmethod
Progress.get_default_columns()
to get the default list of progress bar columns https://github.com/Textualize/rich/pull/1894
Fixed
- Fixed performance issue in measuring text
Fixed
- Fixed test failures on PyPy3 https://github.com/Textualize/rich/pull/1904
v11.1.0
Added
- Workaround for edge case of object from Faiss with no
__class__
https://github.com/Textualize/rich/issues/1838 - Add Traditional Chinese readme
- Add
Syntax.guess_lexer
, add support for more lexers (e.g. Django templates etc.) https://github.com/Textualize/rich/pull/1869 - Add
lexer
parameter toSyntax.from_path
to allow for overrides https://github.com/Textualize/rich/pull/1873
Fixed
- Workaround for edge case of object from Faiss with no
__class__
https://github.com/Textualize/rich/issues/1838 - Ensure
Syntax
always justifies left https://github.com/Textualize/rich/pull/1872 - Handle classes in inspect when methods=True https://github.com/Textualize/rich/pull/1874
v11.0.0
Added
- Added max_depth arg to pretty printing https://github.com/Textualize/rich/issues/1585
- Added
vertical_align
to Table.add_row https://github.com/Textualize/rich/issues/1590
Fixed
- Fixed issue with pretty repr in jupyter notebook https://github.com/Textualize/rich/issues/1717
- Fix Traceback theme defaults override user supplied styles https://github.com/Textualize/rich/issues/1786
Changed
- breaking Deprecated rich.console.RenderGroup, now named rich.console.Group
-
breaking
Syntax.__init__
parameterlexer_name
renamed tolexer
- Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748
v10.16.2
Fixed
- Fixed @ not being escaped in markup
v10.16.1
Fixed
- Fixed issues with overlapping tags https://github.com/willmcgugan/rich/issues/1755
v10.16.0
Fixed
- Double print of progress bar in Jupyter https://github.com/willmcgugan/rich/issues/1737
Added
- Added Text.markup property https://github.com/willmcgugan/rich/issues/1751
v10.15.2
Fixed
- Deadlock issue https://github.com/willmcgugan/rich/issues/1734
v10.15.1
Fixed
- Reverted thread-safety fix for Live that introduced deadlock potential
v10.15.0
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
- Fixed issue with progress bar not rendering markup https://github.com/willmcgugan/rich/issues/1721
- Fixed race condition when exiting Live https://github.com/willmcgugan/rich/issues/1530
v10.14.0
Fixed
- Fixed progress speed not updating when total doesn't change
- Fixed superfluous new line in Status https://github.com/willmcgugan/rich/issues/1662
- Fixed Windows legacy width again
- Fixed infinite loop in set_cell_size https://github.com/willmcgugan/rich/issues/1682
Added
- Added file protocol to URL highlighter https://github.com/willmcgugan/rich/issues/1681
- Added rich.protocol.rich_cast
Changed
- Allowed
__rich__
to work recursively - Allowed Text classes to work with sep in print https://github.com/willmcgugan/rich/issues/1689
Added
- Added a
rich.text.Text.from_ansi
helper method for handling pre-formatted input strings https://github.com/willmcgugan/rich/issues/1670
v10.13.0
Added
- Added json.dumps parameters to print_json https://github.com/willmcgugan/rich/issues/1638
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 https://github.com/willmcgugan/rich/issues/1640
- Fixed missing new line after progress bar when terminal is not interactive https://github.com/willmcgugan/rich/issues/1606
- Fixed exception in IPython when disabling pprint with %pprint https://github.com/willmcgugan/rich/issues/1646
- Fixed issue where values longer than the console width produced invalid JSON https://github.com/willmcgugan/rich/issues/1653
- Fixes trailing comma when pretty printing dataclass with last field repr=False https://github.com/willmcgugan/rich/issues/1599
v10.12.0
Updated
- Official Py3.10 release
Fixed
- Fixed detection of custom repr when pretty printing dataclasses
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.