Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-03-30 | 1.3 kB | |
The ENVy of all other releases source code.tar.gz | 2025-03-30 | 15.1 MB | |
The ENVy of all other releases source code.zip | 2025-03-30 | 15.5 MB | |
Totals: 3 Items | 30.6 MB | 1 |
Mostly updates to Traceback rendering, to add support for features introduced in Python3.11
We also have a new env var that I am proposing to become a standard. TTY_COMPATIBLE=1
tells Rich to write ansi-escape sequences even if it detects it is not writing to a terminal. This is intended for use with GitHub Actions / CI, which can interpret escape sequences, but aren't a terminal.
There is also a change to how NO_COLOR and FORCE_COLOR are interpreted, which is the reason for the major version bump.
[14.0.0] - 2025-03-30
Added
- Added env var
TTY_COMPATIBLE
to override auto-detection of TTY support (See console.rst for details). https://github.com/Textualize/rich/pull/3675
Changed
- An empty
NO_COLOR
env var is now considered disabled. https://github.com/Textualize/rich/pull/3675 - An empty
FORCE_COLOR
env var is now considered disabled. https://github.com/Textualize/rich/pull/3675 - Rich tracebacks will now render notes on Python 3.11 onwards (added with
Exception.add_note
) https://github.com/Textualize/rich/pull/3676 - Indentation in exceptions won't be underlined https://github.com/Textualize/rich/pull/3678
- Rich tracebacks will now render Exception Groups https://github.com/Textualize/rich/pull/3677