Releases: Textualize/rich
The Faster is Faster release
[13.9.4] - 2024-11-01
Changed
- Optimizations to cell_len which may speed up Rich / Textual output #3546
The irregular expression release
Fix a broken regex that resulted in the slow path being chosen for some operations. This fix should result in notable speedups for some operations, such as wrapping text.
[13.9.3] - 2024-10-22
Fixed
- Fixed broken regex that may have resulted in poor performance. #3535
The Splitting segments Release
A hotfix for highlighting in the table, and a fix for Segment.split_cells
[13.9.2] - 2024-10-04
Fixed
- Fixed
Table
columns not highlighting when added byadd_row
#3517 - Fixed an issue with Segment.split_cells reported in Textual Textualize/textual#5090
Hotfix for dependency issue
[13.9.1] - 2024-10-01
Fixed
- Fixed typing_extensions dependency
The so long Python 3.7 release
This version adds support for fine-grained information in tracebacks. In other words, it will highlight columns in tracebacks (for supported Python versions). Here's an example:
This version also drops support for Python 3.7, which has long since reached its EOL. If you are stuck on Python3.7 for any reason, you will not be able to upgrade to this version, but nothing should break.
See below for other changes in this release.
[13.9.0] - 2024-10-01
Changed
- Dropped support for Python3.7 #3509
- Rich will display tracebacks with finely grained error locations on python 3.11+ #3486
Fixed
The Python 3.13 release
The Thanks for your patience Release
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
v13.7.1: Merge pull request #3293 from Textualize/bump1371
The "It's a wrap" release
The Python 3.12 release
Mostly a meta update in readiness for the release of Python3.12
[13.6.0] - 2023-09-30
Added
- Added Python 3.12 to classifiers.