pypi rich 6.0.0
A pretty good release

Headline of this release is a better pretty print. The previous version could expand lines prematurely. This version fits containers and is faster to boot. It also support defaultdict, Counter, and array.

Screen Shot 2020-08-25 at 17 06 39

Breaking change is because the signature of Pretty and pretty_repr has changed, and the character argument to rule was dropped. This is unlikely to impact many people.

[6.0.0] - 2020-08-25

Fixed

  • Fixed use of __rich__ cast

Changed

  • New algorithm to pretty print which fits more on a line if possible
  • Deprecated character parameter in Rule and Console.rule, in favor of characters
  • Optimized Syntax.from_path to avoid searching all lexers, which also speeds up tracebacks

Added

  • Added soft_wrap flag to Console.print
latest releases: 10.12.0, 10.11.0, 10.10.0...
13 months ago