This is a fairly large update. Mostly an accumulation of small fixes and enhancements. Nothing qualifies as a *breaking change (for some definition), but there may be some subtly changes to output. Check below for anything that might affect you!
[13.8.0] - 2024-08-26
Fixed
- Fixed
Table
rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body. - Fixed styles in Panel when Text objects are used for title #3401
- Fix pretty repr for
collections.deque
#2864 - Thread used in progress.track will exit if an exception occurs in a generator #3402
- Progress track thread is now a daemon thread #3402
- Fixed cached hash preservation upon clearing meta and links #2942
- Fixed overriding the
background_color
ofSyntax
not including padding #3295 - Fixed pretty printing of dataclasses with a default repr in Python 3.13 #3455
- Fixed selective enabling of highlighting when disabled in the
Console
#3419 - Fixed BrokenPipeError writing an error message #3468
- Fixed superfluous space above Markdown tables #3469
- Fixed issue with record and capture interaction #3470
- Fixed control codes breaking in
append_tokens
#3471 - Fixed exception pretty printing a dataclass with missing fields #3472
Changed
RichHandler
errors and warnings will now use different colors (red and yellow) #2825- Removed the empty line printed in jupyter while using
Progress
#2616 - Running tests in environment with
FORCE_COLOR
orNO_COLOR
environment variables - ansi decoder will now strip problematic private escape sequences (like
\x1b7
) #3278 - Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
Added
- Adds a
case_sensitive
parameter toprompt.Prompt
. This determines if the
response is treated as case-sensitive. Defaults toTrue
. - Added
Console.on_broken_pipe
#3468