rich v12.0.0 Release Notes
Release Date: 2022-03-10 // about 2 years ago-
➕ 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