------------------------------------------------------------------- Sat Sep 26 15:51:49 UTC 2020 - Martin Hauke - Update to version 7.1.0 Added * Added Console.begin_capture, Console.end_capture and Console.capture * Added Table.title_justify and Table.caption_justify Changed * Improved formatting of exceptions * Enabled Rich exceptions in logging https://github.com/taliraj * UTF-8 encoding is now mentioned in HTML head section Removed * Removed line_numbers argument from traceback.install, which was undocumented and did nothing ------------------------------------------------------------------- Fri Sep 18 19:12:03 UTC 2020 - Martin Hauke - Update to version 7.0.0 Added * New ansi_dark and ansi_light themes * Added Text.append_tokens for fast appending of string + Style pairs * Added Text.remove_suffix * Added Text.append_tokens Changed * Text.tabs_to_spaces was renamed to Text.expand_tabs, which works in place rather than returning a new instance * Renamed Column.index to Column._index * Optimized Style.combine and Style.chain * Optimized text rendering by fixing internal cache mechanism * Optimized hash generation for Styles ------------------------------------------------------------------- Fri Sep 11 16:02:21 UTC 2020 - Martin Hauke - Update to version 6.1.1 Added * Added ipv4 and ipv6 to ReprHighlighter Changed * The # sign is included in url highlighting Fixed * Fixed force-color switch in rich.syntax and rich.markdown commands ------------------------------------------------------------------- Tue Sep 8 18:56:56 UTC 2020 - Martin Hauke - Update to version 6.1.1 Added * Inspect now adds def to signature of methods. Not strictly necessary, but I think it helps distinguish methods from data. Changed * Restored "def" in inspect signature ------------------------------------------------------------------- Mon Sep 7 16:20:35 UTC 2020 - Martin Hauke - Update to version 6.1.0 Added * New inspect module * Added os._Environ to pretty print Fixed * Prevented recursive renderables from getting stuck Changed * force_terminal and force_jupyter can now be used to force the disabled state, or left as None to auto-detect. * Panel now expands to fit title if supplied ------------------------------------------------------------------- Tue Aug 25 17:49:37 UTC 2020 - Martin Hauke - Update to version 6.0.0 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 ------------------------------------------------------------------- Sat Aug 22 22:09:10 UTC 2020 - Martin Hauke - Update to version 5.2.1 * Fixed underscore with display hook - Update to version 5.2.0 * Added crop argument to Console.print * Added "ignore" overflow method * Added multiple characters per rule - Update to version 5.1.2 * Further optimized pretty printing ~5X. - Update to version 5.1.1 * Optimized pretty printing ~3X faster - Update to version 5.1.0 Added * Added Text.cell_len * Added helpful message regarding unicode decoding errors * Added display hook with pretty.install() Fixed * Fixed deprecation warnings re backslash * Fixed repr highlighting of scientific notation, e.g. 1e100 Changed * Implemented pretty printing, and removed pprintpp from dependencies * Optimized Text.join ------------------------------------------------------------------- Sat Aug 8 04:47:19 UTC 2020 - John Vandenberg - Update to v5.0.0 * Change to console markup syntax to not parse Python structures as markup, i.e. `[1,2,3]` is treated as a literal, not a tag. * Standard color numbers syntax has changed to `"color()"` so that `[5]` (for example) is considered a literal. * Markup escape method has changed from double brackets to preceding with a backslash, so `foo[[]]` would be `foo\[bar]` - From v4.2.2 * Added thread to automatically call update() in progress.track(). Replacing previous adaptive algorithm. * Second attempt at working around https://bugs.python.org/issue37871 ------------------------------------------------------------------- Fri Jul 31 08:06:43 UTC 2020 - Marketa Calabkova - Update to version 4.2.1 - Added show_time and show_level parameters to RichHandler https://github.com/willmcgugan/rich/pull/182 - Fixed progress.track iterator exiting early https://github.com/willmcgugan/rich/issues/189 - Added workaround for Python bug https://bugs.python.org/issue37871, fixing https://github.com/willmcgugan/rich/issues/186 - Set overflow=fold for log messages https://github.com/willmcgugan/rich/issues/190 - Fixed missing new lines https://github.com/willmcgugan/rich/issues/178 - Fixed Progress.track https://github.com/willmcgugan/rich/issues/184 - Remove control codes from exported text https://github.com/willmcgugan/rich/issues/181 - Implemented auto-detection and color rendition of 16-color mode - Optimized progress.track for very quick iterations - Force default size of 80x25 if get_terminal_size reports size of 0,0 - Added markup switch to RichHandler https://github.com/willmcgugan/rich/issues/171 - Change signature of Text.stylize to accept style first - Remove Text.stylize_all which is no longer necessary - Fixed rendering of Confirm prompt https://github.com/willmcgugan/rich/issues/170 ------------------------------------------------------------------- Wed Jul 22 20:03:19 UTC 2020 - Martin Hauke - Update to version 3.4.1 * Fixed incorrect default of expand in Table.grid - Update to version 3.4.0 Added * Added stream parameter to Console.input * Added password parameter to Console.input * Added description parameter to Progress.update * Added rich.prompt * Added detecting 'dumb' terminals * Added Text.styled alternative constructor Fixes * Fixed progress bars so that they are readable when color is disabled - Update to version 3.3.2 Changed * Optimized Text.pad Added * Added rich.scope * Change log_locals to use scope.render_scope * Added title parameter to Columns ------------------------------------------------------------------- Mon Jul 13 19:16:04 UTC 2020 - Martin Hauke - Update to version 3.3.1 Added * box.ASCII_DOUBLE_HEAD Changed * Removed replace of -- --- ... from Markdown, as it made it impossible to include CLI info - Update to version 3.3.0 Added * Added title and title_align options to Panel * Added pad and width parameters to Align * Added end parameter to Rule * Added Text.pad and Text.align methods * Added leading parameter to Table - Update to version 3.2.0 Added * Added Align.left Align.center Align.right shortcuts * Added Panel.fit shortcut * Added align parameter to Columns Fixed * Align class now pads to the right, like Text * ipywidgets added as an optional dependency * Issue with Panel and background color * Fixed missing __bool__ on Segment Changed * Added border_style argument to Panel (note, style now applies to interior of the panel) - Update to version 3.1.0 Changed * Progress bars now work in Jupyter Added * Added refresh_per_second to progress.track * Added styles to BarColumn and progress.track - Update to version 3.0.5 Fixed * Fixed Windows version number require for truecolor - Update to version 3.0.4 Changed * More precise detection of Windows console - Update to version 3.0.3 Fixed * Fixed edge case with wrapped and overflowed text Changed * New algorithm for compressing table that priorities smaller columns Added * Added safe_box parameter to Console constructor ------------------------------------------------------------------- Thu Jul 2 19:08:35 UTC 2020 - Martin Hauke - Update to version 3.0.2 Added * Added rich.styled.Styled class to apply styles to renderable * Table.add_row now has an optional style parameter * Added table_movie.py to examples Changed * Modified box options to use half line characters at edges * Non no_wrap columns will now shrink below minimum width if table is compressed ------------------------------------------------------------------- Tue Jun 30 22:20:40 UTC 2020 - Martin Hauke - Update to version 3.0.1 Added * Added box.ASCII2 * Added markup argument to logging extra Changed * Setting a non-None width now implies expand=True ------------------------------------------------------------------- Mon Jun 29 09:39:54 UTC 2020 - Martin Hauke - Use dephell ------------------------------------------------------------------- Mon Jun 29 08:00:58 UTC 2020 - Martin Hauke - Initial package, version 3.0.0