rich v10.0.0 Release Notes

Release Date: 2021-03-27 // 10 months ago
  • ๐Ÿ”„ Changed

    • Made pydoc import lazy as at least one use found it slow to import https://github.com/willmcgugan/rich/issues/1104
    • Modified string highlighting to not match in the middle of a word, so that apostrophes are not considered strings
    • ๐Ÿ†• New way of encoding control codes in Segment
    • ๐Ÿ†• New signature for Control class
    • ๐Ÿ”„ Changed Layout.split to use new Splitter class
    • ๐Ÿ‘Œ Improved layout.tree
    • ๐Ÿ”„ Changed default theme color for repr.number to cyan
    • __rich_measure__ signature changed to accept ConsoleOptions rather than max_width
    • text parameter to rich.spinner.Spinner changed to RenderableType

    โž• Added

    • Added __rich_repr__ protocol method to Pretty
    • โž• Added rich.region.Region
    • โž• Added ConsoleOptions.update_dimensions
    • โž• Added rich.console.ScreenUpdate
    • Added Console.is_alt_screen
    • Added Control.segment, Control.bell, Control.home, Control.move_to, Control.clear, Control.show_cursor, Control.alt_screen
    • โšก๏ธ Added Console.update_screen and Console.update_screen_lines
    • Added Layout.add_split, Layout.split_column, Layout.split_row, layout.refresh
    • Added new Rich repr protocol __rich_repr__

    ๐Ÿ›  Fixed