Releases: Textualize/rich
Releases · Textualize/rich
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)
Fixed
v10.14.0
Mostly fixes for edge cases. Added a rich_cast function to rich.protocol, which is unlikely to be used outside of Rich itself.
[10.14.0] - 2021-11-16
Fixed
- Fixed progress speed not updating when total doesn't change
- Fixed superfluous new line in Status #1662
- Fixed Windows legacy width again
- Fixed infinite loop in set_cell_size #1682
Added
- Added file protocol to URL highlighter #1681
- Added rich.protocol.rich_cast
Changed
- Allowed
__rich__
to work recursively - Allowed Text classes to work with sep in print #1689
v10.13.0
This release is mostly bugfixes (details below). The minor version bump is because print_json
grew a number of parameters to match json.dumps
[10.13.0] - 2021-11-07
Added
- Added json.dumps parameters to print_json #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 #1640
- Fixed missing new line after progress bar when terminal is not interactive #1606
- Fixed exception in IPython when disabling pprint with %pprint #1646
- Fixed issue where values longer than the console width produced invalid JSON #1653
- Fixes trailing comma when pretty printing dataclass with last field repr=False #1599
Changed
- Markdown codeblocks now word-wrap #1515
Python3.10 support
[10.12.0] - 2021-10-06
Updated
- Official Py3.10 release
Fixed
- Fixed detection of custom repr when pretty printing dataclasses
v10.11.0
v10.10.0: Merge pull request #1496 from willmcgugan/pretty-fix
[10.10.0] - 2021-09-18
Added
- Added stdin support to
rich.json
Fixed
- Fixed pretty printing of objects with fo magic with getattr #1492
Enhancements to print_json
This release highlights JSON keys with a different color
[10.9.0] - 2020-08-29
Added
- Added data parameter to print_json method / function
- Added an --indent parameter to python -m rich.json
Changed
- Changed default indent of JSON to 2 (down from 4)
- Changed highlighting of JSON keys to new style (bold blue)