Releases: Textualize/rich
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
Tablerendering 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_colorofSyntaxnot 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
RichHandlererrors 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_COLORorNO_COLORenvironment 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_sensitiveparameter 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.
Markdown fixes
v13.5.2
Bugfix
[13.5.2] - 2023-08-01
Fixed
- Fixed Text.expand_tabs assertion error
v13.5.1: Merge pull request #3070 from Textualize/bump1351
Very minor update to URL highlighting
[13.5.1] - 2023-07-31
Fixed
- Fix tilde character (
~) not included in link regex when printing to console #3057
Mostly cake, one or two puppies
https://textual.textualize.io/blog/2023/07/29/pull-requests-are-cake-or-puppies/
[13.5.0] - 2023-07-29
Fixed
- Fixed Text.expand_tabs not expanding spans.
- Fixed TimeElapsedColumn from showing negative.
- Fix for escaping strings with a trailing backslash #2987
- Fixed exception in Markdown with partial table #3053
- Fixed the HTML export template so that the
<html>tag comes before the<head>tag #3021 - Fixed issue with custom classes overwriting
__eq__#2875 - Fix rich.pretty.install breakage in iPython #3013
Added
- Added Text.extend_style method.
- Added Span.extend method.
Changed
- Text.tab_size now defaults to
Noneto indicate that Console.tab_size should be used.