diff --git a/python-rich.changes b/python-rich.changes index b4e2c19..14482c9 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,83 @@ +------------------------------------------------------------------- +Thu Jul 7 10:34:00 UTC 2022 - Dirk Müller + +- 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 diff --git a/python-rich.spec b/python-rich.spec index bb3fca5..8a8af48 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -21,7 +21,7 @@ %define skip_python2 1 Name: python-rich -Version: 11.0.0 +Version: 12.4.4 Release: 0 Summary: A Python library for rich text and beautiful formatting in the terminal License: MIT diff --git a/rich-11.0.0.tar.gz b/rich-11.0.0.tar.gz deleted file mode 100644 index cb02d2b..0000000 --- a/rich-11.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae34173366a3e4e18da211f2f3fd64df5090cf48e83aeddf53d14677aad27473 -size 16293684 diff --git a/rich-12.4.4.tar.gz b/rich-12.4.4.tar.gz new file mode 100644 index 0000000..a1f8cd5 --- /dev/null +++ b/rich-12.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1d224ee0627560ea7b43da882badf1fe21b77db42bbaee37d3426903156cd56 +size 14891341