Releases: Textualize/rich
Releases · Textualize/rich
Merge pull request #2165 from Textualize/v12.2.0
[12.2.0] - 2022-05-05
Changed
- Bumped typing-extensions minimum to 4.0.0
- Bumped minimum Python version to 3.6.3
Export SVGs and file progress
Fix for piping on legacy windows plus optimizations
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