Releases: Textualize/rich
Releases · Textualize/rich
v12.5.0: Merge pull request #2385 from Textualize/divide
[12.5.0] - 2022-07-11
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
Changed
- Default width of Jupyter console size is increased to 115
- Optimized Segment.divide
Style.__add__
will no longer returnNotImplemented
- Remove rich._lru_cache
Fixed
- Fix Rich clobbering cursor style on Windows #2339
- Fix text wrapping edge case #2296
- Allow exceptions that are raised while a Live is rendered to be displayed and/or processed #2305
- Fix crashes that can happen with
inspect
when docstrings contain some special control codes #2294 - Fix edges used in first row of tables when
show_header=False
#2330 - Fix interaction between
Capture
contexts andConsole(record=True)
#2343 - Fixed hash issue in Styles class #2346
- Fixed bug in
Segment.split_and_crop_lines
v12.4.4: Merge pull request #2290 from Textualize/more-svg-tweaks
[12.4.4] - 2022-05-24
Changed
- Added clipping per line to SVG output to avoid box characters overlapping
- Optimized SVG output
v12.4.3: Merge pull request #2289 from Textualize/svg-tweak
[12.4.3] - 2022-05-23
Changed
- Further tweaks to SVG character matrix
- Added clip rect to SVG to prevent box characters overlapping bottom of terminal
Fix SVG output on Firefox
[12.4.2] - 2022-05-23
Fixed
- Fix for SVG on Firefox
Changed
- Removed excess margin from SVG, tweaked cell sizes to better render block characters
SVG Redux Redux
A fix and further enhancements to the SVG export.
Default color scheme is now dimmed Monokai, and there is a keyline around the terminal so it looks distinct against a dark background.
[12.4.1] - 2022-05-08
Fixed
- Fix for default background color in SVG export #2260
Changed
- Added a keyline around SVG terminals which is visible on dark backgrounds
SVG Redux
This release has a major change to the SVG export. It is now a simpler design, and will render outside of a browser.
[12.4.0] - 2022-05-07
Changed
- Rebuilt SVG export to create a simpler SVG that is more portable
- Fix render_lines crash when render height was negative #2246
Added
- Add
padding
to Syntax constructor #2247
Merge pull request #2228 from Textualize/v12.3.0
[12.3.0] - 2022-04-26
Added
- Ability to change terminal window title #2200
- Added show_speed parameter to progress.track which will show the speed when the total is not known
- Python blocks can now opt out from being rendered in tracebacks's frames, by setting a
_rich_traceback_omit = True
in their local scope #2207
Fixed
- Fall back to
sys.__stderr__
on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process) - Fixed markup escaping issue #2187
- Safari - Box appearing around SVG export #2201
- Fixed recursion error in Jupyter progress bars #2047
- Complex numbers are now identified by the highlighter #2214
- Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes #2222
- Fixed missing blank line in traceback rendering #2206
- Fixed running Rich with the current working dir was deleted #2197
Changed
- Setting
total=None
on progress is now possible, and will display pulsing animation - Micro-optimization for Segment.divide
Merge pull request #2165 from Textualize/v12.2.0
[12.2.0] - 2022-05-05
Changed
- Bumped typing-extensions minimum to 4.0.0
- Bumped minimum Python version to 3.6.3