Releases: Textualize/rich
New Legacy Windows renderer
This release drops Colorama as a dependancy in favour of an internal Win32 render.
There are some new features for progress bars, added support for pretty printing named tuples, and a bunch of fixes.
As a major version there are a few breaking changes, see below.
[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 rawcompleted/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 https://github.com//pull/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
v11.2.0: Merge pull request #1936 from Textualize/opti-table
[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
v11.1.0
Vertical alignment in tables
The headline feature of this reach is vertical alignment in tables.
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.
[11.0.0] - 2022-01-09
Added
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__
parameterlexer_name
renamed tolexer
- Syntax constructor accepts both str and now a pygments lexer #1748
v10.16.2: Merge pull request #1793 from willmcgugan/escape_at
[10.16.2] - 2021-01-02
Fixed
- Fixed @ not being escaped in markup
v10.16.1: Merge pull request #1756 from willmcgugan/overlap-markup
v10.16.0
Hotfix to fix deadlock issue with Live (including status and progress)
AFAIK this issue only occurred in test suites, but it is a recommended that if you have 10.15.X installed you should upgrade.
[10.15.2] - 2021-12-02
Fixed
- Deadlock issue #1734
Merge pull request #1729 from willmcgugan/v10.15.1
Reverted a fix for #1530
On reflection, I think the fix might introduce the possibility for a deadlock -- although none was reported.
[10.15.1] - 2021-11-29
Changed
- Reverted thread-safety fix for Live that introduced deadlock potential
Merge pull request #1723 from willmcgugan/v10.15.0
[10.15.0] - 2021-11-28
Added
- 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)