Skip to content

Releases: Textualize/rich

v13.3.5: Merge pull request #2940 from Textualize/fix-italic-guidlines

27 Apr 16:00
6d30ad0
Compare
Choose a tag to compare

[13.3.5] - 2023-04-27

Fixed

  • Fixed italic indent guides in SVG output

Bugfix for is_terminal

12 Apr 16:50
Compare
Choose a tag to compare

[13.3.4] - 2023-04-12

Fixed

  • Fixed for is_terminal ignoring FORCE_COLOR #2923

Clear meta and links

27 Mar 10:53
076e0d2
Compare
Choose a tag to compare

Just a new method on the Style class. A helper for Textual, you probable aren't going to need it.

[13.3.3] - 2023-02-27

Added

  • Added Style.clear_meta_and_links

Fixes and maintenance

04 Mar 16:30
2eb5cbf
Compare
Choose a tag to compare

Mixed bag, mostly fixes

[13.3.2] - 2023-02-04

Fixed

  • Reversed pre and code tags in base HTML format #2642
  • Fix syntax error when building with nuitka #2635
  • Fixed pretty printing of empty dataclass #2819
  • Use Console(stderr=True) in rich.traceback.install to support io redirection.
  • Fixes superfluous spaces in html output #2832
  • Fixed duplicate output in Jupyter https://github.com/Textualize/rich/pulls/2804
  • Filter ANSI character-encoding-change codes in Text.from_ansi parser
  • Fixes traceback failing when a frame filename is unreadable #2821
  • Fix for live update rendering console markup #2726

Added

  • Added Polish README

Changed

  • rich.progress.track() will now show the elapsed time after finishing the task #2659

My math was wrong

28 Jan 10:20
Compare
Choose a tag to compare

This release contains a fix for truecolor to eight bit color conversion, which results in more accurate colors.

[13.3.1] - 2023-01-28

Fixed

  • Fixed truecolor to eight bit color conversion #2785

Dependency update

27 Jan 17:22
0d062a7
Compare
Choose a tag to compare

[13.3.0] - 2023-01-27

Fixed

  • Fixed failing tests due to Pygments dependency #2757
  • Relaxed ipywidgets #2767

Added

  • Added encoding parameter in Theme.read

New Markdown parser

19 Jan 15:07
8c297cb
Compare
Choose a tag to compare

v13.2.0 replaces the unmaintained commonmark library with markdown-it-py. This new parser has a lot more capabilities and will allow us to implement a number of additional Markdown features in the future.

The output from the Markdown renderable may change a little from previous versions.

[13.2.0] - 2023-01-19

Changed

  • Switch Markdown parsing from commonmark to markdown-it-py #2439

Jupyter tracebacks fix

14 Jan 11:27
b7ac6bb
Compare
Choose a tag to compare

This release fixes tracebacks in Jupyter which didn't show the code.

Additionally tracebacks have two new parameters to hide double underscore and single underscore locals. See the changelog for details

Screenshot 2023-01-14 at 11 26 38

[13.1.0] - 2023-01-14

Fixed

  • Fixed wrong filenames in Jupyter tracebacks #2271

Added

  • Added locals_hide_dunder and locals_hide_sunder to Tracebacks, to hide double underscore and single underscore locals. #2754

Changed

  • Tracebacks will now hide double underscore names from locals by default. Set locals_hide_dunder=False to restore previous behaviour.

Fix for splitting segments

06 Jan 14:23
Compare
Choose a tag to compare

Fix for an issue where Segment.split_cells produced the wrong result.

Mostly a hotfix for the benefit of Textual.

[13.0.1] - 2023-01-06

Fixed

  • Fixed issue with Segment.split_cells for mixed single and double cell widths

Dropped Python3.6 support

30 Dec 12:55
d14b304
Compare
Choose a tag to compare

Some relatively minor fixes and improvements. The most significant update (and the reason for the major version bump) is that Rich has dropped Python3.6 support.

If you are a Python3.6 user and can't upgrade for whatever reason, pin to version 12.6.0.

[13.0.0] - 2022-12-30

Fixed

  • Reversed pre and code tags in base HTML format #2642
  • Improved detection of attrs library, that isn't confused by the presence of the attr library.
  • Fixed issue with locals_max_length parameter not being respected in Traceback #2649
  • Handling of broken fileno made more robust. Fixes #2645
  • Fixed missing fileno on FileProxy

Changed

  • Bumped minimum Python version to 3.7 #2567
  • Pretty-printing of "tagged" __repr__ results is now greedy when matching tags #2565
  • progress.track now supports deriving total from __length_hint__

Added

  • Add type annotation for key_separator of pretty.Node #2625