pypi rich 12.0.0
New Legacy Windows renderer

latest releases: 13.7.1, 13.7.0, 13.6.0...
2 years ago

This release drops Colorama as a dependancy in favour of an internal Win32 render.

There are some new features for progress bars, added support for pretty printing named tuples, and a bunch of fixes.

As a major version there are a few breaking changes, see below.

[12.0.0] - 2022-03-10

Added

  • Added options to TimeRemainingColumn to render a compact time format and render elapsed time when a task is
    finished. #1992
  • Added ProgressColumn MofNCompleteColumn to display raw completed/total column (similar to DownloadColumn,
    but displays values as ints, does not convert to floats or add bit/bytes units).
    #1941
  • Replace Colorama with win32 renderer #1993
  • Add support for namedtuples to Pretty #2031

Fixed

  • In Jupyter mode make the link target be set to "_blank"
  • Fix some issues with markup handling around "[" characters https://github.com//pull/1950
  • Fix syntax lexer guessing.
  • Fixed Pretty measure not respecting expand_all #1998
  • Collapsed definitions for single-character spinners, to save memory and reduce import time.
  • Fix print_json indent type in __init__.py
  • Fix error when inspecting object defined in REPL #2037
  • Fix incorrect highlighting of non-indented JSON #2038
  • Fixed height reset in complex renderables #2042

Changed

  • Improved support for enum.Flag in ReprHighlighter #1920
  • Tree now respects justify=None, i.e. won't pad to right #1690
  • Removed rich.tabulate which was marked for deprecation
  • Deprecated rich.align.AlignValues in favor of AlignMethod

Don't miss a new rich release

NewReleases is sending notifications on new releases.