github Textualize/rich v6.0.0
A pretty good release

latest releases: v13.7.1, v13.7.0, v13.6.0...
3 years ago

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

Don't miss a new rich release

NewReleases is sending notifications on new releases.