Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rich to v12 - autoclosed #125

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 11, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rich ==9.5.1 -> ==12.6.0 age adoption passing confidence

Release Notes

willmcgugan/rich

v12.6.0

Compare Source

Added
Fixed
Changed
  • Removed border from code blocks in Markdown

v12.5.1

Compare Source

Fixed

v12.5.0

Compare Source

Added
  • Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to control width and height of console in Jupyter
  • Markdown friendly Box style, MARKDOWN, for rendering tables ready to copy into markdown files
  • inspect will prefix coroutine functions with async def
  • Style.__add__ will no longer return NotImplemented
  • Remove rich._lru_cache
Changed
  • Default width of Jupyter console size is increased to 115
  • Optimized Segment.divide
Fixed

v12.4.4

Compare Source

Changed
  • Added clipping per line to SVG output to avoid box characters overlapping
  • Optimized SVG output

v12.4.3

Compare Source

Changed
  • Further tweaks to SVG character matrix
  • Added clip rect to SVG to prevent box characters overlapping bottom of terminal

v12.4.2

Compare Source

Fixed
  • Fix for SVG on Firefox
Changed
  • Removed excess margin from SVG, tweaked cell sizes to better render block characters

v12.4.1

Compare Source

Fixed
Changed
  • Added a keyline around SVG terminals which is visible on dark backgrounds
Changed
  • Added a keyline around SVG terminals which is visible on dark backgrounds

v12.4.0

Compare Source

Changed
Added

v12.3.0

Compare Source

Added
Fixed
Changed
  • Setting total=None on progress is now possible, and will display pulsing animation
  • Micro-optimization for Segment.divide

v12.2.0

Compare Source

Changed
  • Bumped typing-extensions minimum to 4.0.0
  • Bumped minimum Python version to 3.6.3

v12.1.0

Compare Source

Added
Fixed

v12.0.1

Compare Source

Changed
Fixed

v12.0.0

Compare Source

Added
Fixed
Changed

v11.2.0

Compare Source

Added
Fixed
  • Fixed performance issue in measuring text
Fixed

v11.1.0

Compare Source

Added
Fixed

v11.0.0

Compare Source

Added
Fixed
Changed
  • breaking Deprecated rich.console.RenderGroup, now named rich.console.Group
  • breaking Syntax.__init__ parameter lexer_name renamed to lexer
  • Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748

v10.16.2

Compare Source

Fixed
  • Fixed @​ not being escaped in markup

v10.16.1

Compare Source

Fixed

v10.16.0

Compare Source

Fixed
Added

v10.15.2

Compare Source

Fixed

v10.15.1

Compare Source

Fixed
  • Reverted thread-safety fix for Live that introduced deadlock potential

v10.15.0

Compare Source

Added
  • Added dynamic_progress.py to examples
  • Added ConsoleOptions.update_height
  • Fixed Padding not respecting height
Changed
  • Some optimizations for simple strings (with only single cell widths)
Fixed

v10.14.0

Compare Source

Fixed
Added
Changed
Added

v10.13.0

Compare Source

Added
Fixed

v10.12.0

Compare Source

Updated
  • Official Py3.10 release
Fixed
  • Fixed detection of custom repr when pretty printing dataclasses

v10.11.0

Compare Source

Added
  • Added suppress parameter to tracebacks
  • Added max_frames parameter to tracebacks

v10.10.0

Compare Source

Added
  • Added stdin support to rich.json
Fixed

v10.9.0

Compare Source

Added
  • Added data parameter to print_json method / function
  • Added an --indent parameter to python -m rich.json
Changed
  • Changed default indent of JSON to 2 (down from 4)
  • Changed highlighting of JSON keys to new style (bold blue)

v10.8.0

Compare Source

Added
  • Added Panel.subtitle
  • Added Panel.subtitle_align
  • Added rich.json.JSON
  • Added rich.print_json and Console.print_json
Fixed

v10.7.0

Compare Source

Added
  • Added Text.apply_meta
  • Added meta argument to Text.assemble
  • Added Style.from_meta
  • Added Style.on
  • Added Text.on
Changed
  • Changed RenderGroup to Group and render_group to group (old names remain for compatibility but will be deprecated in the future)
  • Changed rich.repr.RichReprResult to rich.repr.Result (old names remain for compatibility but will be deprecated in the future)
  • Changed meta serialization to use pickle rather than marshal to permit callables

v10.6.0

Compare Source

Deprecated
  • Added deprecation warning for tabulate_mapping which will be removed in v11.0.0
Added
  • Added precision argument to filesize.decimal
  • Added separator argument to filesize.decimal
  • Added _rich_traceback_guard to Traceback
  • Added emoji_variant to Console
  • Added -emoji and -text variant selectors to emoji code
Fixed
Changed
  • Changed Console.size to use unproxied stdin and stdout

v10.5.0

Compare Source

Fixed
Added
  • Added new_line_start argument to Console.print
  • Added Segment.divide method
  • Added Segment.split_cells method
  • Added segment.SegmentLines class

v10.4.0

Compare Source

Added
  • Added Style.meta
  • Added rich.repr.auto decorator
Fixed
  • Fixed error pretty printing classes with special rich_repr method

v10.3.0

Compare Source

Added
  • Added Console.size setter
  • Added Console.width setter
  • Added Console.height setter
  • Added angular style Rich reprs
  • Added an IPython extension. Load via %load_ext rich
Changed
  • Changed the logic for retrieving the calling frame in console logs to a faster one for the Python implementations that support it.

v10.2.2

Compare Source

Fixed

v10.2.1

Compare Source

Fixed

v10.2.0

Compare Source

Added
  • Added syntax for call, i.e. "Foo(bar)"
  • Added Console.measure as a convenient alias for Measurement.get
  • Added support for pretty printing attrs objects
  • Added mappingproxy to pretty print
  • Added UserDict and UserList support to pretty printer
Changed
  • Changed colorama init to set strip=False
  • Changed highlighter for False, True, None to not match in the middle of a word. i.e. NoneType is no longer highlighted as None
Fixed

v10.1.0

Compare Source

Fixed
  • Fixed support for jupyter qtconsole and similar Jupyter environments

v10.0.1

Compare Source

Fixed

v10.0.0

Compare Source

Changed
  • Made pydoc import lazy as at least one use found it slow to import https://github.com/textualize/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

v9.13.0

Compare Source

Added
  • Pretty printer now supports dataclasses
Fixed
Changed
  • Added ws and wss to url highlighter

v9.12.4

Compare Source

Fixed
Changed
  • Allow highly compressed table cells to go to 0 width
  • Optimization to remove empty styles in various places

v9.12.3

Compare Source

Changed
  • Optimized Padding

v9.12.2

Compare Source

Added
  • Added ConsoleOptions.copy
Changed
  • Optimized ConsoleOptions.update

v9.12.1

Compare Source

Fixed
Added
  • Added Task.finished_speed
Changed
  • Froze TransferSpeedColumn speed when task is finished
  • Added SIGINT handler to downloader.py example
  • Optimization for large tables

v9.12.0

Compare Source

Fixed
Changed
Added
  • Added height to Panel

v9.11.1

Compare Source

Fixed
Changed
  • python -m rich.markdown and rich.syntax show usage with no file
Added
  • Added height parameter to Layout
  • Added python -m rich.segment

v9.11.0

Compare Source

Fixed
Added
  • Added cheeky sponsorship request to test card
  • Added quiet argument to Console constructor
  • Added support for a callback function to format timestamps (allows presentation of milliseconds)
  • Added Console.set_alt_screen and Console.screen
  • Added height to ConsoleOptions
  • Added vertical parameter to Align
  • Added Layout class
Changed
  • Pretty.overflow now defaults to None
  • Panel now respects options.height
  • Traceback lexer defaults to Python if no extension on source
  • Added ConsoleDimensions size attribute to ConsoleOptions so that size can't change mid-render

v9.10.0

Compare Source

Changed
  • Some optimizations for Text
  • Further optimized Tracebacks by not tokenizing code more that necessary
  • Table Column.header_style and Column.footer_style are now added to Table header/footer style

v9.9.0

Compare Source

Changed
  • Extended Windows palette to 16 colors
  • Modified windows palette to Windows 10 colors
  • Change regex for attrib_name to be more performant
  • Optimized traceback generation
Fixed
  • Fix double line tree guides on Windows
  • Fixed Tracebacks ignoring initial blank lines
  • Partial fix for tracebacks not finding source after chdir
  • Fixed error message when code in tracebacks doesn't have an extension https://github.com/textualize/rich/issues/996
Added
  • Added post_style argument to Segment.apply_style

v9.8.2

Compare Source

Fixed

v9.8.1

Compare Source

Fixed

v9.8.0

Compare Source

Added
  • Added rich_measure for tree
  • Added rich.align.VerticalCenter
Changed
  • The style argument on Align now applies to background only
  • Changed display of progress bars in no_color mode for clarity
  • Console property size will fall back to getting the terminal size of stdout it stdin fails, this allows size to be correctly determined when piping
Fixed

v9.7.0

Compare Source

Added
  • Added rich.tree
  • Added no_color argument to Console

v9.6.2

Compare Source

Fixed

v9.6.1

Compare Source

Fixed
  • Fixed encoding error on Windows when loading code for Tracebacks

v9.6.0

Compare Source

Changed
  • MarkupError exception raise from None to omit internal exception
  • Factored out RichHandler.render and RichHandler.render_message for easier extending
  • Display pretty printed value in rich.inspect
Added
  • Added Progress.TimeElapsedColumn
  • Added IPython support to pretty.install
Fixed
  • Fixed display of locals in Traceback for stdin

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner March 11, 2022 16:34
@renovate renovate bot requested a review from DarianAmin March 11, 2022 16:34
@renovate renovate bot force-pushed the renovate/rich-12.x branch 2 times, most recently from b889ea2 to f2b39ce Compare March 25, 2022 15:09
@renovate renovate bot force-pushed the renovate/rich-12.x branch 2 times, most recently from 4c85923 to 09da290 Compare April 5, 2022 13:05
@renovate renovate bot force-pushed the renovate/rich-12.x branch 2 times, most recently from f5fbd3f to 7068465 Compare May 8, 2022 18:59
@renovate renovate bot force-pushed the renovate/rich-12.x branch 3 times, most recently from 985cfab to b5e93d6 Compare May 24, 2022 11:30
@renovate renovate bot changed the title chore(deps): update dependency rich to v12 Update dependency rich to v12 Sep 25, 2022
@renovate renovate bot changed the title Update dependency rich to v12 Update dependency rich to v12 - autoclosed Mar 17, 2023
@renovate renovate bot closed this Mar 17, 2023
@renovate renovate bot deleted the renovate/rich-12.x branch March 17, 2023 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants