rich v12.5.0 Release Notes
Release Date: 2022-07-11 // almost 2 years ago-
➕ Added
- Environment variables
JUPYTER_COLUMNS
andJUPYTER_LINES
to control width and height of console in Jupyter - 💅 Markdown friendly
Box
style,MARKDOWN
, for rendering tables ready to copy into markdown files inspect
will prefix coroutine functions withasync def
- ➕
Style.__add__
will no longer returnNotImplemented
- Remove rich._lru_cache
🔄 Changed
- 0️⃣ Default width of Jupyter console size is increased to 115
- ⚡️ Optimized Segment.divide
🛠 Fixed
- 🛠 Fix Rich clobbering cursor style on Windows https://github.com/Textualize/rich/pull/2339
- 🛠 Fix text wrapping edge case https://github.com/Textualize/rich/pull/2296
- 👍 Allow exceptions that are raised while a Live is rendered to be displayed and/or processed https://github.com/Textualize/rich/pull/2305
- 🛠 Fix crashes that can happen with
inspect
when docstrings contain some special control codes https://github.com/Textualize/rich/pull/2294 - 🛠 Fix edges used in first row of tables when
show_header=False
https://github.com/Textualize/rich/pull/2330 - 🛠 Fix interaction between
Capture
contexts andConsole(record=True)
https://github.com/Textualize/rich/pull/2343 - 🛠 Fixed hash issue in Styles class https://github.com/Textualize/rich/pull/2346
- Fixed bug in
Segment.split_and_crop_lines
- Environment variables