15
0
forked from pool/python-rich

- update to 12.4.4:

* Added clipping per line to SVG output to avoid box characters overlapping
  * Optimized SVG output
  * Further tweaks to SVG character matrix
  * Added clip rect to SVG to prevent box characters overlapping bottom of terminal
  * Fix for SVG on Firefox
  * Removed excess margin from SVG, tweaked cell sizes to better render block characters
  * Fix for default background color in SVG export
  * Added a keyline around SVG terminals which is visible on dark backgrounds
  * Added a keyline around SVG terminals which is visible on dark backgrounds
  * Rebuilt SVG export to create a simpler SVG that is more portable
  * Fix render_lines crash when render height was negative
  * Add `padding` to Syntax constructor
  * Ability to change terminal window title
  * Added show_speed parameter to progress.track which will show the speed when the total is not known
  * Python blocks can now opt out from being rendered in tracebacks's frames,
    by setting a `_rich_traceback_omit = True` in their local scope
  * Fall back to `sys.__stderr__` on POSIX systems when trying to get the
    terminal size (fix issues when Rich is piped to another process)
  * Fixed markup escaping issue
  * Safari - Box appearing around SVG export
  * Fixed recursion error in Jupyter progress bars
  * Complex numbers are now identified by the highlighter
  * Fix crash on IDLE and forced is_terminal detection to False because IDLE
    can't do escape codes
  * Fixed missing blank line in traceback rendering
  * Fixed running Rich with the current working dir was deleted
  * Setting `total=None` on progress is now possible, and will display pulsing animation
  * Micro-optimization for Segment.divide
  * Bumped typing-extensions minimum to 4.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=37
This commit is contained in:
2022-07-07 10:36:10 +00:00
committed by Git OBS Bridge
parent 766490a1b6
commit b6e2bf164d
4 changed files with 84 additions and 4 deletions

View File

@@ -1,3 +1,83 @@
-------------------------------------------------------------------
Thu Jul 7 10:34:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 12.4.4:
* Added clipping per line to SVG output to avoid box characters overlapping
* Optimized SVG output
* Further tweaks to SVG character matrix
* Added clip rect to SVG to prevent box characters overlapping bottom of terminal
* Fix for SVG on Firefox
* Removed excess margin from SVG, tweaked cell sizes to better render block characters
* Fix for default background color in SVG export
* Added a keyline around SVG terminals which is visible on dark backgrounds
* Added a keyline around SVG terminals which is visible on dark backgrounds
* Rebuilt SVG export to create a simpler SVG that is more portable
* Fix render_lines crash when render height was negative
* Add `padding` to Syntax constructor
* Ability to change terminal window title
* Added show_speed parameter to progress.track which will show the speed when the total is not known
* Python blocks can now opt out from being rendered in tracebacks's frames,
by setting a `_rich_traceback_omit = True` in their local scope
* Fall back to `sys.__stderr__` on POSIX systems when trying to get the
terminal size (fix issues when Rich is piped to another process)
* Fixed markup escaping issue
* Safari - Box appearing around SVG export
* Fixed recursion error in Jupyter progress bars
* Complex numbers are now identified by the highlighter
* Fix crash on IDLE and forced is_terminal detection to False because IDLE
can't do escape codes
* Fixed missing blank line in traceback rendering
* Fixed running Rich with the current working dir was deleted
* Setting `total=None` on progress is now possible, and will display pulsing animation
* Micro-optimization for Segment.divide
* Bumped typing-extensions minimum to 4.0.0
* Bumped minimum Python version to 3.6.3
* Progress.open and Progress.wrap_file method to track the progress while
reading from a file or file-like object
* SVG export functionality
* Adding Indonesian translation
* Add missing `end` keyword argument to `Text.from_markup`
* Fallback to text lexer when no lexer guessed
* Fixed issue with decoding ANSI reset
* Improve performance of cell_length
* Improve performance of chop_cells
* Fix capturing stdout on legacy Windows
* Added options to TimeRemainingColumn to render a compact time format and
render elapsed time when a task is finished.
* 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).
* Replace Colorama with win32 renderer
* Add support for namedtuples to `Pretty`
* In Jupyter mode make the link target be set to "\_blank"
* Fix some issues with markup handling around "[" characters
* Fix syntax lexer guessing.
* Fixed Pretty measure not respecting expand_all
* 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
* Fix incorrect highlighting of non-indented JSON
* Fixed height reset in complex renderables
* Improved support for enum.Flag in ReprHighlighter
* Tree now respects justify=None, i.e. won't pad to right
* Removed rich.tabulate which was marked for deprecation
* Deprecated rich.align.AlignValues in favor of AlignMethod
* Add support for US spelling of "gray" in ANSI color names
* Added `rich.diagnose.report` to expose environment debugging logic as function
* Added classmethod `Progress.get_default_columns()` to get the default list
of progress bar columns
* Fixed performance issue in measuring text
* Fixed test failures on PyPy3
* Workaround for edge case of object from Faiss with no `__class__`
* Add Traditional Chinese readme
* Add `Syntax.guess_lexer`, add support for more lexers
* Add `lexer` parameter to `Syntax.from_path` to allow for overrides
* Workaround for edge case of object from Faiss with no `__class__`
* Ensure `Syntax` always justifies left
* Handle classes in inspect when methods=True
-------------------------------------------------------------------
Thu Apr 14 07:17:44 UTC 2022 - Hui-Zhi Zhao <hui.zhi.zhao@suse.com>