Debian Codegraph @

CHANGELOG.md

raw
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4
5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8
9 # [15.0.0] - 2026-04-12
10
11 ### Changed
12
13 - Breaking change: Dropped support for Python3.8
14
15 ### Fixed
16
17 - Fixed empty print ignoring the `end` parameter https://github.com/Textualize/rich/pull/4075
18 - Fixed `Text.from_ansi` removing newlines https://github.com/Textualize/rich/pull/4076
19 - Fixed `FileProxy.isatty` not proxying https://github.com/Textualize/rich/pull/4077
20 - Fixed inline code in Markdown tables cells https://github.com/Textualize/rich/pull/4079
21
22 ## [14.3.4] - 2026-04-11
23
24 ### Changed
25
26 - Improved import time with lazy loading https://github.com/Textualize/rich/pull/4070
27 - Changed link id generation to avoid random number generation at runtime https://github.com/Textualize/rich/pull/3845
28
29 ## [14.3.3] - 2026-02-19
30
31 ### Fixed
32
33 - Fixed infinite loop with `cells.split_graphemes` https://github.com/Textualize/rich/pull/4006
34
35 ## [14.3.2] - 2026-02-01
36
37 ### Fixed
38
39 - Fixed solo ZWJ crash https://github.com/Textualize/rich/pull/3953
40 - Fixed control codes reporting width of 1 https://github.com/Textualize/rich/pull/3953
41
42 ## [14.3.1] - 2026-01-24
43
44 ### Fixed
45
46 - Fixed characters out of unicode range reporting a cell size if 0 https://github.com/Textualize/rich/pull/3944
47
48 ## [14.3.0] - 2026-01-24
49
50 ### Fixed
51
52 - IPython now respects when a `Console` instance is passed to `pretty.install` https://github.com/Textualize/rich/pull/3915
53 - Fixed extraneous blank line on non-interactive disabled `Progress` https://github.com/Textualize/rich/pull/3905
54 - Fixed extra padding on first cell in columns https://github.com/Textualize/rich/pull/3935
55 - Fixed trailing whitespace removed when soft_wrap=True https://github.com/Textualize/rich/pull/3937
56 - Fixed style new-lines when soft_wrap = True and a print style is set https://github.com/Textualize/rich/pull/3938
57
58 ### Added
59
60 - Added support for some multi-codepopint glyphs (will fix alignment issues for these characters) https://github.com/Textualize/rich/pull/3930
61 - Added support for `UNICODE_VERSION` environment variable https://github.com/Textualize/rich/pull/3930
62 - Added `last_render_height` property to LiveRender https://github.com/Textualize/rich/pull/3934
63 - Expose locals_max_depth and locals_overflow in traceback.install https://github.com/Textualize/rich/pull/3906/
64 - Added `Segment.split_lines_terminator` https://github.com/Textualize/rich/pull/3938
65
66 ### Changed
67
68 - `cells.cell_len` now has a `unicode_version` parameter (that you probably should never change) https://github.com/Textualize/rich/pull/3930
69 - Live will not write a new line if there was nothing rendered https://github.com/Textualize/rich/pull/3934
70 - Changed style of Markdown headers https://github.com/Textualize/rich/pull/3942
71 - Changed style of Markdown tables, added `markdown.table.header` and `markdown.table.border` styles https://github.com/Textualize/rich/pull/3942
72 - Changed style of Markdown rules https://github.com/Textualize/rich/pull/3942
73
74 ## [14.2.0] - 2025-10-09
75
76 ### Changed
77
78 - Python3.14 compatibility https://github.com/Textualize/rich/pull/3861
79
80 ### Fixed
81
82 - Fixed exception when calling `inspect` on objects with unusual `__qualname__` attribute https://github.com/Textualize/rich/pull/3894
83
84 ## [14.1.0] - 2025-06-25
85
86 ### Changed
87
88 - Removed `typing_extensions` from runtime dependencies https://github.com/Textualize/rich/pull/3763
89 - Live objects (including Progress) may now be nested https://github.com/Textualize/rich/pull/3768
90 - Added padding property to Syntax which returns a tuple of four integers https://github.com/Textualize/rich/pull/3782
91
92 ### Fixed
93
94 - Fixed extraction of recursive exceptions https://github.com/Textualize/rich/pull/3772
95 - Fixed padding applied to Syntax https://github.com/Textualize/rich/pull/3782
96 - Fixed `Panel` title missing the panel background style https://github.com/Textualize/rich/issues/3569
97
98 ### Added
99
100 - Added `TTY_INTERACTIVE` environment variable to force interactive mode off or on https://github.com/Textualize/rich/pull/3777
101
102 ## [14.0.0] - 2025-03-30
103
104 ### Added
105
106 - Added env var `TTY_COMPATIBLE` to override auto-detection of TTY support (See console.rst for details). https://github.com/Textualize/rich/pull/3675
107
108 ### Changed
109
110 - An empty `NO_COLOR` env var is now considered disabled. https://github.com/Textualize/rich/pull/3675
111 - An empty `FORCE_COLOR` env var is now considered disabled. https://github.com/Textualize/rich/pull/3675
112 - Rich tracebacks will now render notes on Python 3.11 onwards (added with `Exception.add_note`) https://github.com/Textualize/rich/pull/3676
113 - Indentation in exceptions won't be underlined https://github.com/Textualize/rich/pull/3678
114 - Rich tracebacks will now render Exception Groups https://github.com/Textualize/rich/pull/3677
115
116 ## [13.9.4] - 2024-11-01
117
118 ### Changed
119
120 - Optimizations to cell_len which may speed up Rich / Textual output https://github.com/Textualize/rich/pull/3546
121
122 ## [13.9.3] - 2024-10-22
123
124 ### Fixed
125
126 - Fixed broken regex that may have resulted in poor performance. https://github.com/Textualize/rich/pull/3535
127
128 ## [13.9.2] - 2024-10-04
129
130 ### Fixed
131
132 - Fixed `Table` columns not highlighting when added by `add_row` https://github.com/Textualize/rich/issues/3517
133 - Fixed an issue with Segment.split_cells reported in Textual https://github.com/Textualize/textual/issues/5090
134
135 ## [13.9.1] - 2024-10-01
136
137 ### Fixed
138
139 - Fixed typing_extensions dependency
140
141 ## [13.9.0] - 2024-10-01
142
143 ### Changed
144
145 - Dropped support for Python3.7 https://github.com/Textualize/rich/pull/3509
146 - Rich will display tracebacks with finely grained error locations on python 3.11+ https://github.com/Textualize/rich/pull/3486
147
148 ### Fixed
149
150 - Fixed issue with Segment._split_cells https://github.com/Textualize/rich/pull/3506
151 - Fix auto detection of terminal size on Windows https://github.com/Textualize/rich/pull/2916
152 - `Text.style` now respected in Panel title/subtitle https://github.com/Textualize/rich/pull/3509
153
154 ## [13.8.1] - 2024-09-10
155
156 ### Fixed
157
158 - Added support for Python 3.13 https://github.com/Textualize/rich/pull/3481
159 - Fixed infinite loop when appending Text to same instance https://github.com/Textualize/rich/pull/3480
160
161 ## [13.8.0] - 2024-08-26
162
163 ### Fixed
164
165 - Fixed `Table` rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.
166 - Fixed styles in Panel when Text objects are used for title https://github.com/Textualize/rich/pull/3401
167 - Fix pretty repr for `collections.deque` https://github.com/Textualize/rich/pull/2864
168 - Thread used in progress.track will exit if an exception occurs in a generator https://github.com/Textualize/rich/pull/3402
169 - Progress track thread is now a daemon thread https://github.com/Textualize/rich/pull/3402
170 - Fixed cached hash preservation upon clearing meta and links https://github.com/Textualize/rich/issues/2942
171 - Fixed overriding the `background_color` of `Syntax` not including padding https://github.com/Textualize/rich/issues/3295
172 - Fixed pretty printing of dataclasses with a default repr in Python 3.13 https://github.com/Textualize/rich/pull/3455
173 - Fixed selective enabling of highlighting when disabled in the `Console` https://github.com/Textualize/rich/issues/3419
174 - Fixed BrokenPipeError writing an error message https://github.com/Textualize/rich/pull/3468
175 - Fixed superfluous space above Markdown tables https://github.com/Textualize/rich/pull/3469
176 - Fixed issue with record and capture interaction https://github.com/Textualize/rich/pull/3470
177 - Fixed control codes breaking in `append_tokens` https://github.com/Textualize/rich/pull/3471
178 - Fixed exception pretty printing a dataclass with missing fields https://github.com/Textualize/rich/pull/3472
179
180 ### Changed
181
182 - `RichHandler` errors and warnings will now use different colors (red and yellow) https://github.com/Textualize/rich/issues/2825
183 - Removed the empty line printed in jupyter while using `Progress` https://github.com/Textualize/rich/pull/2616
184 - Running tests in environment with `FORCE_COLOR` or `NO_COLOR` environment variables
185 - ansi decoder will now strip problematic private escape sequences (like `\x1b7`) https://github.com/Textualize/rich/pull/3278/
186 - Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
187 - `rich.Text.highlight_regex` now accepts a regular expression object https://github.com/Textualize/rich/pull/3347
188
189 ### Added
190
191 - Adds a `case_sensitive` parameter to `prompt.Prompt`. This determines if the
192 response is treated as case-sensitive. Defaults to `True`.
193 - Added `Console.on_broken_pipe` https://github.com/Textualize/rich/pull/3468
194
195 ## [13.7.1] - 2024-02-28
196
197
198 ### Fixed
199
200 - Updated the widths of some characters https://github.com/Textualize/rich/pull/3289
201
202 ### Added
203
204 - Included a `name` attribute to the `Spinner` class https://github.com/Textualize/rich/pull/3359
205
206 ## [13.7.0] - 2023-11-15
207
208 ### Added
209
210 - Adds missing parameters to Panel.fit https://github.com/Textualize/rich/issues/3142
211
212 ### Fixed
213
214 - Some text goes missing during wrapping when it contains double width characters https://github.com/Textualize/rich/issues/3176
215 - Ensure font is correctly inherited in exported HTML https://github.com/Textualize/rich/issues/3104
216 - Fixed typing for `FloatPrompt`.
217
218 ## [13.6.0] - 2023-09-30
219
220 ### Added
221
222 - Added Python 3.12 to classifiers.
223
224 ## [13.5.3] - 2023-09-17
225
226 ### Fixed
227
228 - Markdown table rendering issue with inline styles and links https://github.com/Textualize/rich/issues/3115
229 - Fix Markdown code blocks on a light background https://github.com/Textualize/rich/issues/3123
230
231 ## [13.5.2] - 2023-08-01
232
233 ### Fixed
234
235 - Fixed Text.expand_tabs assertion error
236
237 ## [13.5.1] - 2023-07-31
238
239 ### Fixed
240
241 - Fix tilde character (`~`) not included in link regex when printing to console https://github.com/Textualize/rich/issues/3057
242
243 ## [13.5.0] - 2023-07-29
244
245 ### Fixed
246
247 - Fixed Text.expand_tabs not expanding spans.
248 - Fixed TimeElapsedColumn from showing negative.
249 - Fix for escaping strings with a trailing backslash https://github.com/Textualize/rich/issues/2987
250 - Fixed exception in Markdown with partial table https://github.com/Textualize/rich/issues/3053
251 - Fixed the HTML export template so that the `<html>` tag comes before the `<head>` tag https://github.com/Textualize/rich/issues/3021
252 - Fixed issue with custom classes overwriting `__eq__` https://github.com/Textualize/rich/issues/2875
253 - Fix rich.pretty.install breakage in iPython https://github.com/Textualize/rich/issues/3013
254
255 ### Added
256
257 - Added Text.extend_style method.
258 - Added Span.extend method.
259
260 ### Changed
261
262 - Text.tab_size now defaults to `None` to indicate that Console.tab_size should be used.
263
264 ## [13.4.2] - 2023-06-12
265
266 ### Changed
267
268 - Relaxed markdown-it-py dependency
269
270 ## [13.4.1] - 2023-05-31
271
272 ### Fixed
273
274 - Fixed typing extensions import in markdown https://github.com/Textualize/rich/issues/2979
275
276 ## [13.4.0] - 2023-05-31
277
278 ### Added
279
280 - Added support for tables in `Markdown` https://github.com/Textualize/rich/pull/2977
281
282 ## [13.3.5] - 2023-04-27
283
284 ### Fixed
285
286 - Fixed italic indent guides in SVG output
287
288 ## [13.3.4] - 2023-04-12
289
290 ### Fixed
291
292 - Fixed for `is_terminal` ignoring FORCE_COLOR https://github.com/Textualize/rich/pull/2923
293
294 ## [13.3.3] - 2023-02-27
295
296 ### Added
297
298 - Added Style.clear_meta_and_links
299
300 ## [13.3.2] - 2023-02-04
301
302 ### Fixed
303
304 - Reversed `pre` and `code` tags in base HTML format https://github.com/Textualize/rich/pull/2642
305 - Fix syntax error when building with nuitka https://github.com/Textualize/rich/pull/2635
306 - Fixed pretty printing of empty dataclass https://github.com/Textualize/rich/issues/2819
307 - Use `Console(stderr=True)` in `rich.traceback.install` to support io redirection.
308 - Fixes superfluous spaces in html output https://github.com/Textualize/rich/issues/2832
309 - Fixed duplicate output in Jupyter https://github.com/Textualize/rich/pulls/2804
310 - Filter ANSI character-encoding-change codes in `Text.from_ansi` parser
311 - Fixes traceback failing when a frame filename is unreadable https://github.com/Textualize/rich/issues/2821
312 - Fix for live update rendering console markup https://github.com/Textualize/rich/issues/2726
313
314 ### Added
315
316 - Added Polish README
317
318
319 ### Changed
320
321 - `rich.progress.track()` will now show the elapsed time after finishing the task https://github.com/Textualize/rich/pull/2659
322
323 ## [13.3.1] - 2023-01-28
324
325 ### Fixed
326
327 - Fixed truecolor to eight bit color conversion https://github.com/Textualize/rich/pull/2785
328
329 ## [13.3.0] - 2023-01-27
330
331 ### Fixed
332
333 - Fixed failing tests due to Pygments dependency https://github.com/Textualize/rich/issues/2757
334 - Relaxed ipywidgets https://github.com/Textualize/rich/issues/2767
335
336 ### Added
337
338 - Added `encoding` parameter in `Theme.read`
339
340
341 ## [13.2.0] - 2023-01-19
342
343 ### Changed
344
345 - Switch Markdown parsing from commonmark to markdown-it-py https://github.com/Textualize/rich/pull/2439
346
347 ## [13.1.0] - 2023-01-14
348
349 ### Fixed
350
351 - Fixed wrong filenames in Jupyter tracebacks https://github.com/Textualize/rich/issues/2271
352
353 ### Added
354
355 - Added locals_hide_dunder and locals_hide_sunder to Tracebacks, to hide double underscore and single underscore locals. https://github.com/Textualize/rich/pull/2754
356
357 ### Changed
358
359 - Tracebacks will now hide double underscore names from locals by default. Set `locals_hide_dunder=False` to restore previous behaviour.
360
361 ## [13.0.1] - 2023-01-06
362
363 ### Fixed
364
365 - Fixed issue with Segment.split_cells for mixed single and double cell widths
366
367 ## [13.0.0] - 2022-12-30
368
369 ### Fixed
370
371 - Reversed `pre` and `code` tags in base HTML format https://github.com/Textualize/rich/pull/2642
372 - Improved detection of `attrs` library, that isn't confused by the presence of the `attr` library.
373 - Fixed issue with `locals_max_length` parameter not being respected in Traceback https://github.com/Textualize/rich/issues/2649
374 - Handling of broken `fileno` made more robust. Fixes https://github.com/Textualize/rich/issues/2645
375 - Fixed missing `fileno` on FileProxy
376
377 ### Fixed
378
379 - Fix type of `spinner_style` argument in `Console.status` https://github.com/Textualize/rich/pull/2613.
380
381 ### Changed
382
383 - Bumped minimum Python version to 3.7 https://github.com/Textualize/rich/pull/2567
384 - Pretty-printing of "tagged" `__repr__` results is now greedy when matching tags https://github.com/Textualize/rich/pull/2565
385 - `progress.track` now supports deriving total from `__length_hint__`
386
387 ### Added
388
389 - Add type annotation for key_separator of pretty.Node https://github.com/Textualize/rich/issues/2625
390
391
392 ## [12.6.0] - 2022-10-02
393
394 ### Added
395
396 - Parse ANSI escape sequences in pretty repr https://github.com/Textualize/rich/pull/2470
397 - Add support for `FORCE_COLOR` env var https://github.com/Textualize/rich/pull/2449
398 - Allow a `max_depth` argument to be passed to the `install()` hook https://github.com/Textualize/rich/issues/2486
399 - Document using `None` as name in `__rich_repr__` for tuple positional args https://github.com/Textualize/rich/pull/2379
400 - Add `font_aspect_ratio` parameter in SVG export https://github.com/Textualize/rich/pull/2539/files
401 - Added `Table.add_section` method. https://github.com/Textualize/rich/pull/2544
402
403 ### Fixed
404
405 - Handle stdout/stderr being null https://github.com/Textualize/rich/pull/2513
406 - Fix NO_COLOR support on legacy Windows https://github.com/Textualize/rich/pull/2458
407 - Fix pretty printer handling of cyclic references https://github.com/Textualize/rich/pull/2524
408 - Fix missing `mode` property on file wrapper breaking uploads via `requests` https://github.com/Textualize/rich/pull/2495
409 - Fix mismatching default value of parameter `ensure_ascii` https://github.com/Textualize/rich/pull/2538
410 - Remove unused height parameter in `Layout` class https://github.com/Textualize/rich/pull/2540
411 - Fixed exception in Syntax.__rich_measure__ for empty files
412
413 ### Changed
414
415 - Removed border from code blocks in Markdown
416
417 ## [12.5.2] - 2022-07-18
418
419 ### Added
420
421 - Add Turkish Readme.
422
423 ## [12.5.1] - 2022-07-11
424
425 ### Fixed
426
427 - Fixed missing typing extensions dependency on 3.9 https://github.com/Textualize/rich/issues/2386
428 - Fixed Databricks Notebook is not detected as Jupyter environment. https://github.com/Textualize/rich/issues/2422
429
430 ## [12.5.0] - 2022-07-11
431
432 ### Added
433
434 - Environment variables `JUPYTER_COLUMNS` and `JUPYTER_LINES` to control width and height of console in Jupyter
435 - Markdown friendly `Box` style, `MARKDOWN`, for rendering tables ready to copy into markdown files
436 - `inspect` will prefix coroutine functions with `async def`
437 - `Style.__add__` will no longer return `NotImplemented`
438 - Remove rich.\_lru_cache
439
440 ### Changed
441
442 - Default width of Jupyter console size is increased to 115
443 - Optimized Segment.divide
444
445 ### Fixed
446
447 - Fix Rich clobbering cursor style on Windows https://github.com/Textualize/rich/pull/2339
448 - Fix text wrapping edge case https://github.com/Textualize/rich/pull/2296
449 - Allow exceptions that are raised while a Live is rendered to be displayed and/or processed https://github.com/Textualize/rich/pull/2305
450 - Fix crashes that can happen with `inspect` when docstrings contain some special control codes https://github.com/Textualize/rich/pull/2294
451 - Fix edges used in first row of tables when `show_header=False` https://github.com/Textualize/rich/pull/2330
452 - Fix interaction between `Capture` contexts and `Console(record=True)` https://github.com/Textualize/rich/pull/2343
453 - Fixed hash issue in Styles class https://github.com/Textualize/rich/pull/2346
454 - Fixed bug in `Segment.split_and_crop_lines`
455
456 ## [12.4.4] - 2022-05-24
457
458 ### Changed
459
460 - Added clipping per line to SVG output to avoid box characters overlapping
461 - Optimized SVG output
462
463 ## [12.4.3] - 2022-05-23
464
465 ### Changed
466
467 - Further tweaks to SVG character matrix
468 - Added clip rect to SVG to prevent box characters overlapping bottom of terminal
469
470 ## [12.4.2] - 2022-05-23
471
472 ### Fixed
473
474 - Fix for SVG on Firefox
475
476 ### Changed
477
478 - Removed excess margin from SVG, tweaked cell sizes to better render block characters
479
480 ## [12.4.1] - 2022-05-08
481
482 ### Fixed
483
484 - Fix for default background color in SVG export https://github.com/Textualize/rich/issues/2260
485
486 ### Changed
487
488 - Added a keyline around SVG terminals which is visible on dark backgrounds
489
490 ### Changed
491
492 - Added a keyline around SVG terminals which is visible on dark backgrounds
493
494 ## [12.4.0] - 2022-05-07
495
496 ### Changed
497
498 - Rebuilt SVG export to create a simpler SVG that is more portable
499 - Fix render_lines crash when render height was negative https://github.com/Textualize/rich/pull/2246
500 - Make objects from `rich.progress.open` forward the name of the internal handle https://github.com/Textualize/rich/pull/2254
501
502 ### Added
503
504 - Add `padding` to Syntax constructor https://github.com/Textualize/rich/pull/2247
505
506 ## [12.3.0] - 2022-04-26
507
508 ### Added
509
510 - Ability to change terminal window title https://github.com/Textualize/rich/pull/2200
511 - Added show_speed parameter to progress.track which will show the speed when the total is not known
512 - Python blocks can now opt out from being rendered in tracebacks's frames, by setting a `_rich_traceback_omit = True` in their local scope https://github.com/Textualize/rich/issues/2207
513
514 ### Fixed
515
516 - Fall back to `sys.__stderr__` on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process)
517 - Fixed markup escaping issue https://github.com/Textualize/rich/issues/2187
518 - Safari - Box appearing around SVG export https://github.com/Textualize/rich/pull/2201
519 - Fixed recursion error in Jupyter progress bars https://github.com/Textualize/rich/issues/2047
520 - Complex numbers are now identified by the highlighter https://github.com/Textualize/rich/issues/2214
521 - Fix crash on IDLE and forced is_terminal detection to False because IDLE can't do escape codes https://github.com/Textualize/rich/issues/2222
522 - Fixed missing blank line in traceback rendering https://github.com/Textualize/rich/issues/2206
523 - Fixed running Rich with the current working dir was deleted https://github.com/Textualize/rich/issues/2197
524
525 ### Changed
526
527 - Setting `total=None` on progress is now possible, and will display pulsing animation
528 - Micro-optimization for Segment.divide
529
530 ## [12.2.0] - 2022-04-05
531
532 ### Changed
533
534 - Bumped typing-extensions minimum to 4.0.0
535 - Bumped minimum Python version to 3.6.3
536
537 ## [12.1.0] - 2022-04-03
538
539 ### Added
540
541 - Progress.open and Progress.wrap_file method to track the progress while reading from a file or file-like object https://github.com/textualize/rich/pull/1759
542 - SVG export functionality https://github.com/Textualize/rich/pull/2101
543 - Adding Indonesian translation
544
545 ### Fixed
546
547 - Add missing `end` keyword argument to `Text.from_markup` https://github.com/Textualize/rich/pull/2095
548 - Fallback to text lexer when no lexer guessed https://github.com/Textualize/rich/pull/2133
549 - Fixed issue with decoding ANSI reset https://github.com/Textualize/rich/issues/2112
550
551 ## [12.0.1] - 2022-03-22
552
553 ### Changed
554
555 - Improve performance of cell_length https://github.com/Textualize/rich/pull/2061
556 - Improve performance of chop_cells https://github.com/Textualize/rich/pull/2077
557
558 ### Fixed
559
560 - Fix capturing stdout on legacy Windows https://github.com/Textualize/rich/pull/2066
561
562 ## [12.0.0] - 2022-03-10
563
564 ### Added
565
566 - Added options to TimeRemainingColumn to render a compact time format and render elapsed time when a task is
567 finished. https://github.com/Textualize/rich/pull/1992
568 - Added ProgressColumn `MofNCompleteColumn` to display raw `completed/total` column (similar to DownloadColumn,
569 but displays values as ints, does not convert to floats or add bit/bytes units).
570 https://github.com/Textualize/rich/pull/1941
571 - Replace Colorama with win32 renderer https://github.com/Textualize/rich/pull/1993
572 - Add support for namedtuples to `Pretty` https://github.com/Textualize/rich/pull/2031
573
574 ### Fixed
575
576 - In Jupyter mode make the link target be set to "\_blank"
577 - Fix some issues with markup handling around "[" characters https://github.com/Textualize/rich/pull/1950
578 - Fix syntax lexer guessing.
579 - Fixed Pretty measure not respecting expand_all https://github.com/Textualize/rich/issues/1998
580 - Collapsed definitions for single-character spinners, to save memory and reduce import time.
581 - Fix print_json indent type in `__init__.py`
582 - Fix error when inspecting object defined in REPL https://github.com/Textualize/rich/pull/2037
583 - Fix incorrect highlighting of non-indented JSON https://github.com/Textualize/rich/pull/2038
584 - Fixed height reset in complex renderables https://github.com/Textualize/rich/issues/2042
585
586 ### Changed
587
588 - Improved support for enum.Flag in ReprHighlighter https://github.com/Textualize/rich/pull/1920
589 - Tree now respects justify=None, i.e. won't pad to right https://github.com/Textualize/rich/issues/1690
590 - Removed rich.tabulate which was marked for deprecation
591 - Deprecated rich.align.AlignValues in favor of AlignMethod
592
593 ## [11.2.0] - 2022-02-08
594
595 ### Added
596
597 - Add support for US spelling of "gray" in ANSI color names https://github.com/Textualize/rich/issues/1890
598 - Added `rich.diagnose.report` to expose environment debugging logic as function https://github.com/Textualize/rich/pull/1917
599 - Added classmethod `Progress.get_default_columns()` to get the default list of progress bar columns https://github.com/Textualize/rich/pull/1894
600
601 ### Fixed
602
603 - Fixed performance issue in measuring text
604
605 ### Fixed
606
607 - Fixed test failures on PyPy3 https://github.com/Textualize/rich/pull/1904
608
609 ## [11.1.0] - 2022-01-28
610
611 ### Added
612
613 - Workaround for edge case of object from Faiss with no `__class__` https://github.com/Textualize/rich/issues/1838
614 - Add Traditional Chinese readme
615 - Add `Syntax.guess_lexer`, add support for more lexers (e.g. Django templates etc.) https://github.com/Textualize/rich/pull/1869
616 - Add `lexer` parameter to `Syntax.from_path` to allow for overrides https://github.com/Textualize/rich/pull/1873
617
618 ### Fixed
619
620 - Workaround for edge case of object from Faiss with no `__class__` https://github.com/Textualize/rich/issues/1838
621 - Ensure `Syntax` always justifies left https://github.com/Textualize/rich/pull/1872
622 - Handle classes in inspect when methods=True https://github.com/Textualize/rich/pull/1874
623
624 ## [11.0.0] - 2022-01-09
625
626 ### Added
627
628 - Added max_depth arg to pretty printing https://github.com/Textualize/rich/issues/1585
629 - Added `vertical_align` to Table.add_row https://github.com/Textualize/rich/issues/1590
630
631 ### Fixed
632
633 - Fixed issue with pretty repr in jupyter notebook https://github.com/Textualize/rich/issues/1717
634 - Fix Traceback theme defaults override user supplied styles https://github.com/Textualize/rich/issues/1786
635
636 ### Changed
637
638 - **breaking** Deprecated rich.console.RenderGroup, now named rich.console.Group
639 - **breaking** `Syntax.__init__` parameter `lexer_name` renamed to `lexer`
640 - Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748
641
642 ## [10.16.2] - 2021-01-02
643
644 ### Fixed
645
646 - Fixed @ not being escaped in markup
647
648 ## [10.16.1] - 2021-12-15
649
650 ### Fixed
651
652 - Fixed issues with overlapping tags https://github.com/textualize/rich/issues/1755
653
654 ## [10.16.0] - 2021-12-12
655
656 ### Fixed
657
658 - Double print of progress bar in Jupyter https://github.com/textualize/rich/issues/1737
659
660 ### Added
661
662 - Added Text.markup property https://github.com/textualize/rich/issues/1751
663
664 ## [10.15.2] - 2021-12-02
665
666 ### Fixed
667
668 - Deadlock issue https://github.com/textualize/rich/issues/1734
669
670 ## [10.15.1] - 2021-11-29
671
672 ### Fixed
673
674 - Reverted thread-safety fix for Live that introduced deadlock potential
675
676 ## [10.15.0] - 2021-11-28
677
678 ### Added
679
680 - Added dynamic_progress.py to examples
681 - Added ConsoleOptions.update_height
682 - Fixed Padding not respecting height
683
684 ### Changed
685
686 - Some optimizations for simple strings (with only single cell widths)
687
688 ### Fixed
689
690 - Fixed issue with progress bar not rendering markup https://github.com/textualize/rich/issues/1721
691 - Fixed race condition when exiting Live https://github.com/textualize/rich/issues/1530
692
693 ## [10.14.0] - 2021-11-16
694
695 ### Fixed
696
697 - Fixed progress speed not updating when total doesn't change
698 - Fixed superfluous new line in Status https://github.com/textualize/rich/issues/1662
699 - Fixed Windows legacy width again
700 - Fixed infinite loop in set_cell_size https://github.com/textualize/rich/issues/1682
701
702 ### Added
703
704 - Added file protocol to URL highlighter https://github.com/textualize/rich/issues/1681
705 - Added rich.protocol.rich_cast
706
707 ### Changed
708
709 - Allowed `__rich__` to work recursively
710 - Allowed Text classes to work with sep in print https://github.com/textualize/rich/issues/1689
711
712 ### Added
713
714 - Added a `rich.text.Text.from_ansi` helper method for handling pre-formatted input strings https://github.com/textualize/rich/issues/1670
715
716 ## [10.13.0] - 2021-11-07
717
718 ### Added
719
720 - Added json.dumps parameters to print_json https://github.com/textualize/rich/issues/1638
721
722 ### Fixed
723
724 - Fixed an edge case bug when console module try to detect if they are in a tty at the end of a pytest run
725 - Fixed a bug where logging handler raises an exception when running with pythonw (related to https://bugs.python.org/issue13807)
726 - Fixed issue with TERM env vars that have more than one hyphen https://github.com/textualize/rich/issues/1640
727 - Fixed missing new line after progress bar when terminal is not interactive https://github.com/textualize/rich/issues/1606
728 - Fixed exception in IPython when disabling pprint with %pprint https://github.com/textualize/rich/issues/1646
729 - Fixed issue where values longer than the console width produced invalid JSON https://github.com/textualize/rich/issues/1653
730 - Fixes trailing comma when pretty printing dataclass with last field repr=False https://github.com/textualize/rich/issues/1599
731
732 ## Changed
733
734 - Markdown codeblocks now word-wrap https://github.com/textualize/rich/issues/1515
735
736 ## [10.12.0] - 2021-10-06
737
738 ### Updated
739
740 - Official Py3.10 release
741
742 ### Fixed
743
744 - Fixed detection of custom repr when pretty printing dataclasses
745
746 ## [10.11.0] - 2021-09-24
747
748 ### Added
749
750 - Added `suppress` parameter to tracebacks
751 - Added `max_frames` parameter to tracebacks
752
753 ## [10.10.0] - 2021-09-18
754
755 ### Added
756
757 - Added stdin support to `rich.json`
758
759 ### Fixed
760
761 - Fixed pretty printing of objects with fo magic with **getattr** https://github.com/textualize/rich/issues/1492
762
763 ## [10.9.0] - 2021-08-29
764
765 ### Added
766
767 - Added data parameter to print_json method / function
768 - Added an --indent parameter to python -m rich.json
769
770 ### Changed
771
772 - Changed default indent of JSON to 2 (down from 4)
773 - Changed highlighting of JSON keys to new style (bold blue)
774
775 ## [10.8.0] - 2021-08-28
776
777 ### Added
778
779 - Added Panel.subtitle
780 - Added Panel.subtitle_align
781 - Added rich.json.JSON
782 - Added rich.print_json and Console.print_json
783
784 ### Fixed
785
786 - Fixed a bug where calling `rich.reconfigure` within a `pytest_configure` hook would lead to a crash
787 - Fixed highlight not being passed through options https://github.com/textualize/rich/issues/1404
788
789 ## [10.7.0] - 2021-08-05
790
791 ### Added
792
793 - Added Text.apply_meta
794 - Added meta argument to Text.assemble
795 - Added Style.from_meta
796 - Added Style.on
797 - Added Text.on
798
799 ### Changed
800
801 - Changed `RenderGroup` to `Group` and `render_group` to `group` (old names remain for compatibility but will be deprecated in the future)
802 - Changed `rich.repr.RichReprResult` to `rich.repr.Result` (old names remain for compatibility but will be deprecated in the future)
803 - Changed meta serialization to use pickle rather than marshal to permit callables
804
805 ## [10.6.0] - 2021-07-12
806
807 ### Deprecated
808
809 - Added deprecation warning for tabulate_mapping which will be removed in v11.0.0
810
811 ### Added
812
813 - Added precision argument to filesize.decimal
814 - Added separator argument to filesize.decimal
815 - Added \_rich_traceback_guard to Traceback
816 - Added emoji_variant to Console
817 - Added -emoji and -text variant selectors to emoji code
818
819 ### Fixed
820
821 - Fixed issue with adjoining color tags https://github.com/textualize/rich/issues/1334
822
823 ### Changed
824
825 - Changed Console.size to use unproxied stdin and stdout
826
827 ## [10.5.0] - 2021-07-05
828
829 ### Fixed
830
831 - Fixed Pandas objects not pretty printing https://github.com/textualize/rich/issues/1305
832 - Fixed https://github.com/textualize/rich/issues/1256
833 - Fixed typing with rich.repr.auto decorator
834 - Fixed repr error formatting https://github.com/textualize/rich/issues/1326
835
836 ### Added
837
838 - Added new_line_start argument to Console.print
839 - Added Segment.divide method
840 - Added Segment.split_cells method
841 - Added segment.SegmentLines class
842
843 ## [10.4.0] - 2021-06-18
844
845 ### Added
846
847 - Added Style.meta
848 - Added rich.repr.auto decorator
849
850 ### Fixed
851
852 - Fixed error pretty printing classes with special **rich_repr** method
853
854 ## [10.3.0] - 2021-06-09
855
856 ### Added
857
858 - Added Console.size setter
859 - Added Console.width setter
860 - Added Console.height setter
861 - Added angular style Rich reprs
862 - Added an IPython extension. Load via `%load_ext rich`
863
864 ### Changed
865
866 - Changed the logic for retrieving the calling frame in console logs to a faster one for the Python implementations that support it.
867
868 ## [10.2.2] - 2021-05-19
869
870 ### Fixed
871
872 - Fixed status not rendering console markup https://github.com/textualize/rich/issues/1244
873
874 ## [10.2.1] - 2021-05-17
875
876 ### Fixed
877
878 - Fixed panel in Markdown exploding https://github.com/textualize/rich/issues/1234
879
880 ## [10.2.0] - 2021-05-12
881
882 ### Added
883
884 - Added syntax for call, i.e. "Foo(bar)"
885 - Added Console.measure as a convenient alias for Measurement.get
886 - Added support for pretty printing attrs objects
887 - Added mappingproxy to pretty print
888 - Added UserDict and UserList support to pretty printer
889
890 ### Changed
891
892 - Changed colorama init to set strip=False
893 - Changed highlighter for False, True, None to not match in the middle of a word. i.e. NoneType is no longer highlighted as None
894
895 ### Fixed
896
897 - Fixed initial blank lines removed from Syntax https://github.com/textualize/rich/issues/1214
898
899 ## [10.1.0] - 2021-04-03
900
901 ### Fixed
902
903 - Fixed support for jupyter qtconsole and similar Jupyter environments
904
905 ## [10.0.1] - 2021-03-30
906
907 ### Fixed
908
909 - Fixed race condition that duplicated lines in progress https://github.com/textualize/rich/issues/1144
910
911 ## [10.0.0] - 2021-03-27
912
913 ### Changed
914
915 - Made pydoc import lazy as at least one use found it slow to import https://github.com/textualize/rich/issues/1104
916 - Modified string highlighting to not match in the middle of a word, so that apostrophes are not considered strings
917 - New way of encoding control codes in Segment
918 - New signature for Control class
919 - Changed Layout.split to use new Splitter class
920 - Improved layout.tree
921 - Changed default theme color for repr.number to cyan
922 - `__rich_measure__` signature changed to accept ConsoleOptions rather than max_width
923 - `text` parameter to rich.spinner.Spinner changed to RenderableType
924
925 ### Added
926
927 - Added `__rich_repr__` protocol method to Pretty
928 - Added rich.region.Region
929 - Added ConsoleOptions.update_dimensions
930 - Added rich.console.ScreenUpdate
931 - Added Console.is_alt_screen
932 - Added Control.segment, Control.bell, Control.home, Control.move_to, Control.clear, Control.show_cursor, Control.alt_screen
933 - Added Console.update_screen and Console.update_screen_lines
934 - Added Layout.add_split, Layout.split_column, Layout.split_row, layout.refresh
935 - Added new Rich repr protocol `__rich_repr__`
936
937 ### Fixed
938
939 - Fixed table style taking precedence over row style https://github.com/textualize/rich/issues/1129
940 - Fixed incorrect measurement of Text with new lines and whitespace https://github.com/textualize/rich/issues/1133
941 - Made type annotations consistent for various `total` keyword arguments in `rich.progress` and rich.`progress_bar`
942 - Disabled Progress no longer displays itself when starting https://github.com/textualize/rich/pull/1125
943 - Animations no longer reset when updating rich.status.Status
944
945 ## [9.13.0] - 2021-03-06
946
947 ### Added
948
949 - Pretty printer now supports dataclasses
950
951 ### Fixed
952
953 - Fixed Syntax background https://github.com/textualize/rich/issues/1088
954 - Fix for double tracebacks when no formatter https://github.com/textualize/rich/issues/1079
955
956 ### Changed
957
958 - Added ws and wss to url highlighter
959
960 ## [9.12.4] - 2021-03-01
961
962 ### Fixed
963
964 - Fixed custom formatters with rich tracebacks in RichHandler https://github.com/textualize/rich/issues/1079
965
966 ### Changed
967
968 - Allow highly compressed table cells to go to 0 width
969 - Optimization to remove empty styles in various places
970
971 ## [9.12.3] - 2021-02-28
972
973 ### Changed
974
975 - Optimized Padding
976
977 ## [9.12.2] - 2021-02-27
978
979 ### Added
980
981 - Added ConsoleOptions.copy
982
983 ### Changed
984
985 - Optimized ConsoleOptions.update
986
987 ## [9.12.1] - 2021-02-27
988
989 ### Fixed
990
991 - Fixed deadlock in Progress https://github.com/textualize/rich/issues/1061
992
993 ### Added
994
995 - Added Task.finished_speed
996
997 ### Changed
998
999 - Froze TransferSpeedColumn speed when task is finished
1000 - Added SIGINT handler to downloader.py example
1001 - Optimization for large tables
1002
1003 ## [9.12.0] - 2021-02-24
1004
1005 ### Fixed
1006
1007 - Fixed issue with Syntax and missing lines in Layout https://github.com/textualize/rich/issues/1050
1008 - Fixed issue with nested markdown elements https://github.com/textualize/rich/issues/1036
1009 - Fixed new lines not invoking render hooks https://github.com/textualize/rich/issues/1052
1010 - Fixed Align setting height to child https://github.com/textualize/rich/issues/1057
1011
1012 ### Changed
1013
1014 - Printing a table with no columns now result in a blank line https://github.com/textualize/rich/issues/1044
1015
1016 ### Added
1017
1018 - Added height to Panel
1019
1020 ## [9.11.1] - 2021-02-20
1021
1022 ### Fixed
1023
1024 - Fixed table with expand=False not expanding when justify="center"
1025 - Fixed single renderable in Layout not respecting height
1026 - Fixed COLUMNS and LINES env var https://github.com/textualize/rich/issues/1019
1027 - Layout now respects minimum_size when fixes sizes are greater than available space
1028 - HTML export now changes link underline score to match terminal https://github.com/textualize/rich/issues/1009
1029
1030 ### Changed
1031
1032 - python -m rich.markdown and rich.syntax show usage with no file
1033
1034 ### Added
1035
1036 - Added height parameter to Layout
1037 - Added python -m rich.segment
1038
1039 ## [9.11.0] - 2021-02-15
1040
1041 ### Fixed
1042
1043 - Fixed error message for tracebacks with broken `__str__` https://github.com/textualize/rich/issues/980
1044 - Fixed markup edge case https://github.com/textualize/rich/issues/987
1045
1046 ### Added
1047
1048 - Added cheeky sponsorship request to test card
1049 - Added `quiet` argument to Console constructor
1050 - Added support for a callback function to format timestamps (allows presentation of milliseconds)
1051 - Added Console.set_alt_screen and Console.screen
1052 - Added height to ConsoleOptions
1053 - Added `vertical` parameter to Align
1054 - Added Layout class
1055
1056 ### Changed
1057
1058 - Pretty.overflow now defaults to None
1059 - Panel now respects options.height
1060 - Traceback lexer defaults to Python if no extension on source
1061 - Added ConsoleDimensions size attribute to ConsoleOptions so that size can't change mid-render
1062
1063 ## [9.10.0] - 2021-01-27
1064
1065 ### Changed
1066
1067 - Some optimizations for Text
1068 - Further optimized Tracebacks by not tokenizing code more that necessary
1069 - Table Column.header_style and Column.footer_style are now added to Table header/footer style
1070
1071 ## [9.9.0] - 2021-01-23
1072
1073 ### Changed
1074
1075 - Extended Windows palette to 16 colors
1076 - Modified windows palette to Windows 10 colors
1077 - Change regex for attrib_name to be more performant
1078 - Optimized traceback generation
1079
1080 ### Fixed
1081
1082 - Fix double line tree guides on Windows
1083 - Fixed Tracebacks ignoring initial blank lines
1084 - Partial fix for tracebacks not finding source after chdir
1085 - Fixed error message when code in tracebacks doesn't have an extension https://github.com/textualize/rich/issues/996
1086
1087 ### Added
1088
1089 - Added post_style argument to Segment.apply_style
1090
1091 ## [9.8.2] - 2021-01-15
1092
1093 ### Fixed
1094
1095 - Fixed deadlock in live https://github.com/textualize/rich/issues/927
1096
1097 ## [9.8.1] - 2021-01-13
1098
1099 ### Fixed
1100
1101 - Fixed rich.inspect failing with attributes that claim to be callable but aren't https://github.com/textualize/rich/issues/916
1102
1103 ## [9.8.0] - 2021-01-11
1104
1105 ### Added
1106
1107 - Added **rich_measure** for tree
1108 - Added rich.align.VerticalCenter
1109
1110 ### Changed
1111
1112 - The `style` argument on Align now applies to background only
1113 - Changed display of progress bars in no_color mode for clarity
1114 - 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
1115
1116 ### Fixed
1117
1118 - Fixed panel cropping when shrunk too bar
1119 - Allow passing markdown over STDIN when using `python -m rich.markdown`
1120 - Fix printing MagicMock.mock_calls https://github.com/textualize/rich/issues/903
1121
1122 ## [9.7.0] - 2021-01-09
1123
1124 ### Added
1125
1126 - Added rich.tree
1127 - Added no_color argument to Console
1128
1129 ## [9.6.2] - 2021-01-07
1130
1131 ### Fixed
1132
1133 - Fixed markup escaping edge case https://github.com/textualize/rich/issues/878
1134 - Double tag escape, i.e. `"\\[foo]"` results in a backslash plus `[foo]` tag
1135 - Fixed header_style not applying to headers in positional args https://github.com/textualize/rich/issues/953
1136
1137 ## [9.6.1] - 2020-12-31
1138
1139 ### Fixed
1140
1141 - Fixed encoding error on Windows when loading code for Tracebacks
1142
1143 ## [9.6.0] - 2020-12-30
1144
1145 ### Changed
1146
1147 - MarkupError exception raise from None to omit internal exception
1148 - Factored out RichHandler.render and RichHandler.render_message for easier extending
1149 - Display pretty printed value in rich.inspect
1150
1151 ### Added
1152
1153 - Added Progress.TimeElapsedColumn
1154 - Added IPython support to pretty.install
1155
1156 ### Fixed
1157
1158 - Fixed display of locals in Traceback for stdin
1159
1160 ## [9.5.1] - 2020-12-19
1161
1162 ### Fixed
1163
1164 - Fixed terminal size detection on Windows https://github.com/textualize/rich/issues/836
1165 - Fixed hex number highlighting
1166
1167 ## [9.5.0] - 2020-12-18
1168
1169 ### Changed
1170
1171 - If file is not specified on Console then the Console.file will return the current sys.stdout. Prior to 9.5.0 sys.stdout was cached on the Console, which could break code that wrapped sys.stdout after the Console was constructed.
1172 - Changed `Color.__str__` to not include ansi codes
1173 - Changed Console.size to get the terminal dimensions via sys.stdin. This means that if you set file to be an io.StringIO file then the width will be set to the current terminal dimensions and not a default of 80.
1174
1175 ### Added
1176
1177 - Added stderr parameter to Console
1178 - Added rich.reconfigure
1179 - Added `Color.__rich__`
1180 - Added Console.soft_wrap
1181 - Added Console.style parameter
1182 - Added Table.highlight parameter to enable highlighting of cells
1183 - Added Panel.highlight parameter to enable highlighting of panel title
1184 - Added highlight to ConsoleOptions
1185
1186 ### Fixed
1187
1188 - Fixed double output in rich.live https://github.com/textualize/rich/issues/485
1189 - Fixed Console.out highlighting not reflecting defaults https://github.com/textualize/rich/issues/827
1190 - FileProxy now raises TypeError for empty non-str arguments https://github.com/textualize/rich/issues/828
1191
1192 ## [9.4.0] - 2020-12-12
1193
1194 ### Added
1195
1196 - Added rich.live https://github.com/textualize/rich/pull/382
1197 - Added align parameter to Rule and Console.rule
1198 - Added rich.Status class and Console.status
1199 - Added getitem to Text
1200 - Added style parameter to Console.log
1201 - Added rich.diagnose command
1202
1203 ### Changed
1204
1205 - Table.add_row style argument now applies to entire line and not just cells
1206 - Added end_section parameter to Table.add_row to force a line underneath row
1207
1208 ## Fixed
1209
1210 - Fixed suppressed traceback context https://github.com/textualize/rich/issues/468
1211
1212 ## [9.3.0] - 2020-12-1
1213
1214 ### Added
1215
1216 - Added get_datetime parameter to Console, to allow for repeatable tests
1217 - Added get_time parameter to Console
1218 - Added rich.abc.RichRenderable
1219 - Added expand_all to rich.pretty.install()
1220 - Added locals_max_length, and locals_max_string to Traceback and logging.RichHandler
1221 - Set defaults of max_length and max_string for Traceback to 10 and 80
1222 - Added disable argument to Progress
1223
1224 ### Changed
1225
1226 - Reformatted test card (python -m rich)
1227
1228 ### Fixed
1229
1230 - Fixed redirecting of stderr in Progress
1231 - Fixed broken expanded tuple of one https://github.com/textualize/rich/issues/445
1232 - Fixed traceback message with `from` exceptions
1233 - Fixed justify argument not working in console.log https://github.com/textualize/rich/issues/460
1234
1235 ## [9.2.0] - 2020-11-08
1236
1237 ### Added
1238
1239 - Added tracebacks_show_locals parameter to RichHandler
1240 - Added max_string to Pretty
1241 - Added rich.ansi.AnsiDecoder
1242 - Added decoding of ansi codes to captured stdout in Progress
1243 - Added expand_all to rich.pretty.pprint
1244
1245 ### Changed
1246
1247 - Applied dim=True to indent guide styles
1248 - Factored out RichHandler.get_style_and_level to allow for overriding in subclasses
1249 - Hid progress bars from html export
1250 - rich.pretty.pprint now soft wraps
1251
1252 ## [9.1.0] - 2020-10-23
1253
1254 ### Added
1255
1256 - Added Text.with_indentation_guide
1257 - Added Text.detect_indentation
1258 - Added Pretty.indent_guides
1259 - Added Syntax.indent_guides
1260 - Added indent_guides parameter on pretty.install
1261 - Added rich.pretty.pprint
1262 - Added max_length to Pretty
1263
1264 ### Changed
1265
1266 - Enabled indent guides on Tracebacks
1267
1268 ### Fixed
1269
1270 - Fixed negative time remaining in Progress bars https://github.com/textualize/rich/issues/378
1271
1272 ## [9.0.1] - 2020-10-19
1273
1274 ### Fixed
1275
1276 - Fixed broken ANSI codes in input on windows legacy https://github.com/textualize/rich/issues/393
1277
1278 ## [9.0.0] - 2020-10-18
1279
1280 ### Fixed
1281
1282 - Progress download column now displays decimal units
1283
1284 ### Added
1285
1286 - Support for Python 3.9
1287 - Added legacy_windows to ConsoleOptions
1288 - Added ascii_only to ConsoleOptions
1289 - Added box.SQUARE_DOUBLE_HEAD
1290 - Added highlighting of EUI-48 and EUI-64 (MAC addresses)
1291 - Added Console.pager
1292 - Added Console.out
1293 - Added binary_units in progress download column
1294 - Added Progress.reset
1295 - Added Style.background_style property
1296 - Added Bar renderable https://github.com/textualize/rich/pull/361
1297 - Added Table.min_width
1298 - Added table.Column.min_width and table.Column.max_width, and same to Table.add_column
1299
1300 ### Changed
1301
1302 - Dropped box.get_safe_box function in favor of Box.substitute
1303 - Changed default padding in Panel from 0 to (0, 1) https://github.com/textualize/rich/issues/385
1304 - Table with row_styles will extend background color between cells if the box has no vertical dividerhttps://github.com/textualize/rich/issues/383
1305 - Changed default of fit kwarg in render_group() from False to True
1306 - Renamed rich.bar to rich.progress_bar, and Bar class to ProgressBar, rich.bar is now the new solid bar class
1307
1308 ### Fixed
1309
1310 - Fixed typo in `Style.transparent_background` method name.
1311
1312 ## [8.0.0] - 2020-10-03
1313
1314 ### Added
1315
1316 - Added Console.bell method
1317 - Added Set to types that Console.print will automatically pretty print
1318 - Added show_locals to Traceback
1319 - Added theme stack mechanism, see Console.push_theme and Console.pop_theme
1320
1321 ### Changed
1322
1323 - Changed Style.empty to Style.null to better reflect what it does
1324 - Optimized combining styles involving a null style
1325 - Change error messages in Style.parse to read better
1326
1327 ### Fixed
1328
1329 - Fixed Table.\_\_rich_measure\_\_
1330 - Fixed incorrect calculation of fixed width columns
1331
1332 ## [7.1.0] - 2020-09-26
1333
1334 ### Added
1335
1336 - Added Console.begin_capture, Console.end_capture and Console.capture
1337 - Added Table.title_justify and Table.caption_justify https://github.com/textualize/rich/issues/301
1338
1339 ### Changed
1340
1341 - Improved formatting of exceptions
1342 - Enabled Rich exceptions in logging https://github.com/taliraj
1343 - UTF-8 encoding is now mentioned in HTML head section
1344
1345 ### Removed
1346
1347 - Removed line_numbers argument from traceback.install, which was undocumented and did nothing
1348
1349 ## [7.0.0] - 2020-09-18
1350
1351 ### Added
1352
1353 - New ansi_dark and ansi_light themes
1354 - Added Text.append_tokens for fast appending of string + Style pairs
1355 - Added Text.remove_suffix
1356 - Added Text.append_tokens
1357
1358 ### Changed
1359
1360 - Text.tabs_to_spaces was renamed to Text.expand_tabs, which works in place rather than returning a new instance
1361 - Renamed Column.index to Column.\_index
1362 - Optimized Style.combine and Style.chain
1363 - Optimized text rendering by fixing internal cache mechanism
1364 - Optimized hash generation for Styles
1365
1366 ## [6.2.0] - 2020-09-13
1367
1368 ### Added
1369
1370 - Added inline code highlighting to Markdown
1371
1372 ## [6.1.2] - 2020-09-11
1373
1374 ### Added
1375
1376 - Added ipv4 and ipv6 to ReprHighlighter
1377
1378 ### Changed
1379
1380 - The `#` sign is included in url highlighting
1381
1382 ### Fixed
1383
1384 - Fixed force-color switch in rich.syntax and rich.markdown commands
1385
1386 ## [6.1.1] - 2020-09-07
1387
1388 ### Changed
1389
1390 - Restored "def" in inspect signature
1391
1392 ## [6.1.0] - 2020-09-07
1393
1394 ### Added
1395
1396 - New inspect module
1397 - Added os.\_Environ to pretty print
1398
1399 ### Fixed
1400
1401 - Prevented recursive renderables from getting stuck
1402
1403 ## Changed
1404
1405 - force_terminal and force_jupyter can now be used to force the disabled state, or left as None to auto-detect.
1406 - Panel now expands to fit title if supplied
1407
1408 ## [6.0.0] - 2020-08-25
1409
1410 ### Fixed
1411
1412 - Fixed use of `__rich__` cast
1413
1414 ### Changed
1415
1416 - New algorithm to pretty print which fits more on a line if possible
1417 - Deprecated `character` parameter in Rule and Console.rule, in favor of `characters`
1418 - Optimized Syntax.from_path to avoid searching all lexers, which also speeds up tracebacks
1419
1420 ### Added
1421
1422 - Added soft_wrap flag to Console.print
1423
1424 ## [5.2.1] - 2020-08-19
1425
1426 ### Fixed
1427
1428 - Fixed underscore with display hook https://github.com/textualize/rich/issues/235
1429
1430 ## [5.2.0] - 2020-08-14
1431
1432 ### Changed
1433
1434 - Added crop argument to Console.print
1435 - Added "ignore" overflow method
1436 - Added multiple characters per rule @hedythedev https://github.com/textualize/rich/pull/207
1437
1438 ## [5.1.2] - 2020-08-10
1439
1440 ### Fixed
1441
1442 - Further optimized pretty printing ~5X.
1443
1444 ## [5.1.1] - 2020-08-09
1445
1446 ### Fixed
1447
1448 - Optimized pretty printing ~3X faster
1449
1450 ## [5.1.0] - 2020-08-08
1451
1452 ### Added
1453
1454 - Added Text.cell_len
1455 - Added helpful message regarding unicode decoding errors https://github.com/textualize/rich/issues/212
1456 - Added display hook with pretty.install()
1457
1458 ### Fixed
1459
1460 - Fixed deprecation warnings re backslash https://github.com/textualize/rich/issues/210
1461 - Fixed repr highlighting of scientific notation, e.g. 1e100
1462
1463 ### Changed
1464
1465 - Implemented pretty printing, and removed pprintpp from dependencies
1466 - Optimized Text.join
1467
1468 ## [5.0.0] - 2020-08-02
1469
1470 ### Changed
1471
1472 - 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.
1473 - Standard color numbers syntax has changed to `"color(<number>)"` so that `[5]` (for example) is considered a literal.
1474 - Markup escape method has changed from double brackets to preceding with a backslash, so `foo[[]]` would be `foo\[bar]`
1475
1476 ## [4.2.2] - 2020-07-30
1477
1478 ### Changed
1479
1480 - Added thread to automatically call update() in progress.track(). Replacing previous adaptive algorithm.
1481 - Second attempt at working around https://bugs.python.org/issue37871
1482
1483 ## [4.2.1] - 2020-07-29
1484
1485 ### Added
1486
1487 - Added show_time and show_level parameters to RichHandler https://github.com/textualize/rich/pull/182
1488
1489 ### Fixed
1490
1491 - Fixed progress.track iterator exiting early https://github.com/textualize/rich/issues/189
1492 - Added workaround for Python bug https://bugs.python.org/issue37871, fixing https://github.com/textualize/rich/issues/186
1493
1494 ### Changed
1495
1496 - Set overflow=fold for log messages https://github.com/textualize/rich/issues/190
1497
1498 ## [4.2.0] - 2020-07-27
1499
1500 ### Fixed
1501
1502 - Fixed missing new lines https://github.com/textualize/rich/issues/178
1503 - Fixed Progress.track https://github.com/textualize/rich/issues/184
1504 - Remove control codes from exported text https://github.com/textualize/rich/issues/181
1505 - Implemented auto-detection and color rendition of 16-color mode
1506
1507 ## [4.1.0] - 2020-07-26
1508
1509 ### Changed
1510
1511 - Optimized progress.track for very quick iterations
1512 - Force default size of 80x25 if get_terminal_size reports size of 0,0
1513
1514 ## [4.0.0] - 2020-07-23
1515
1516 Major version bump for a breaking change to `Text.stylize signature`, which corrects a minor but irritating API wart. The style now comes first and the `start` and `end` offsets default to the entire text. This allows for `text.stylize_all(style)` to be replaced with `text.stylize(style)`. The `start` and `end` offsets now support negative indexing, so `text.stylize("bold", -1)` makes the last character bold.
1517
1518 ### Added
1519
1520 - Added markup switch to RichHandler https://github.com/textualize/rich/issues/171
1521
1522 ### Changed
1523
1524 - Change signature of Text.stylize to accept style first
1525 - Remove Text.stylize_all which is no longer necessary
1526
1527 ### Fixed
1528
1529 - Fixed rendering of Confirm prompt https://github.com/textualize/rich/issues/170
1530
1531 ## [3.4.1] - 2020-07-22
1532
1533 ### Fixed
1534
1535 - Fixed incorrect default of expand in Table.grid
1536
1537 ## [3.4.0] - 2020-07-22
1538
1539 ### Added
1540
1541 - Added stream parameter to Console.input
1542 - Added password parameter to Console.input
1543 - Added description parameter to Progress.update
1544 - Added rich.prompt
1545 - Added detecting 'dumb' terminals
1546 - Added Text.styled alternative constructor
1547
1548 ### Fixes
1549
1550 - Fixed progress bars so that they are readable when color is disabled
1551
1552 ## [3.3.2] - 2020-07-14
1553
1554 ### Changed
1555
1556 - Optimized Text.pad
1557
1558 ### Added
1559
1560 - Added rich.scope
1561 - Change log_locals to use scope.render_scope
1562 - Added title parameter to Columns
1563
1564 ## [3.3.1] - 2020-07-13
1565
1566 ### Added
1567
1568 - box.ASCII_DOUBLE_HEAD
1569
1570 ### Changed
1571
1572 - Removed replace of -- --- ... from Markdown, as it made it impossible to include CLI info
1573
1574 ## [3.3.0] - 2020-07-12
1575
1576 ### Added
1577
1578 - Added title and title_align options to Panel
1579 - Added pad and width parameters to Align
1580 - Added end parameter to Rule
1581 - Added Text.pad and Text.align methods
1582 - Added leading parameter to Table
1583
1584 ## [3.2.0] - 2020-07-10
1585
1586 ### Added
1587
1588 - Added Align.left Align.center Align.right shortcuts
1589 - Added Panel.fit shortcut
1590 - Added align parameter to Columns
1591
1592 ### Fixed
1593
1594 - Align class now pads to the right, like Text
1595 - ipywidgets added as an optional dependency
1596 - Issue with Panel and background color
1597 - Fixed missing `__bool__` on Segment
1598
1599 ### Changed
1600
1601 - Added `border_style` argument to Panel (note, `style` now applies to interior of the panel)
1602
1603 ## [3.1.0] - 2020-07-09
1604
1605 ### Changed
1606
1607 - Progress bars now work in Jupyter
1608
1609 ## Added
1610
1611 - Added refresh_per_second to progress.track
1612 - Added styles to BarColumn and progress.track
1613
1614 ## [3.0.5] - 2020-07-07
1615
1616 ### Fixed
1617
1618 - Fixed Windows version number require for truecolor
1619
1620 ## [3.0.4] - 2020-07-07
1621
1622 ### Changed
1623
1624 - More precise detection of Windows console https://github.com/textualize/rich/issues/140
1625
1626 ## [3.0.3] - 2020-07-03
1627
1628 ### Fixed
1629
1630 - Fixed edge case with wrapped and overflowed text
1631
1632 ### Changed
1633
1634 - New algorithm for compressing table that priorities smaller columns
1635
1636 ### Added
1637
1638 - Added safe_box parameter to Console constructor
1639
1640 ## [3.0.2] - 2020-07-02
1641
1642 ### Added
1643
1644 - Added rich.styled.Styled class to apply styles to renderable
1645 - Table.add_row now has an optional style parameter
1646 - Added table_movie.py to examples
1647
1648 ### Changed
1649
1650 - Modified box options to use half line characters at edges
1651 - Non no_wrap columns will now shrink below minimum width if table is compressed
1652
1653 ## [3.0.1] - 2020-06-30
1654
1655 ### Added
1656
1657 - Added box.ASCII2
1658 - Added markup argument to logging extra
1659
1660 ### Changed
1661
1662 - Setting a non-None width now implies expand=True
1663
1664 ## [3.0.0] - 2020-06-28
1665
1666 ### Changed
1667
1668 - Enabled supported box chars for legacy Windows, and introduce `safe_box` flag
1669 - Disable hyperlinks on legacy Windows
1670 - Constructors for Rule and Panel now have keyword only arguments (reason for major version bump)
1671 - Table.add_colum added keyword only arguments
1672
1673 ### Fixed
1674
1675 - Fixed Table measure
1676
1677 ## [2.3.1] - 2020-06-26
1678
1679 ### Fixed
1680
1681 - Disabled legacy_windows if jupyter is detected https://github.com/textualize/rich/issues/125
1682
1683 ## [2.3.0] - 2020-06-26
1684
1685 ### Fixed
1686
1687 - Fixed highlighting of paths / filenames
1688 - Corrected docs for RichHandler which erroneously said default console writes to stderr
1689
1690 ### Changed
1691
1692 - Allowed `style` parameter for `highlight_regex` to be a callable that returns a style
1693
1694 ### Added
1695
1696 - Added optional highlighter parameter to RichHandler
1697
1698 ## [2.2.6] - 2020-06-24
1699
1700 ### Changed
1701
1702 - Store a "link id" on Style instance, so links containing different styles are highlighted together. (https://github.com/textualize/rich/pull/123)
1703
1704 ## [2.2.5] - 2020-06-23
1705
1706 ### Fixed
1707
1708 - Fixed justify of tables (https://github.com/textualize/rich/issues/117)
1709
1710 ## [2.2.4] - 2020-06-21
1711
1712 ### Added
1713
1714 - Added enable_link_path to RichHandler
1715 - Added legacy_windows switch to Console constructor
1716
1717 ## [2.2.3] - 2020-06-15
1718
1719 ### Fixed
1720
1721 - Fixed console.log hyperlink not containing full path
1722
1723 ### Changed
1724
1725 - Used random number for hyperlink id
1726
1727 ## [2.2.2] - 2020-06-14
1728
1729 ### Changed
1730
1731 - Exposed RichHandler highlighter as a class var
1732
1733 ## [2.2.1] - 2020-06-14
1734
1735 ### Changed
1736
1737 - Linked path in log render to file
1738
1739 ## [2.2.0] - 2020-06-14
1740
1741 ### Added
1742
1743 - Added redirect_stdout and redirect_stderr to Progress
1744
1745 ### Changed
1746
1747 - printing to console with an active Progress doesn't break visuals
1748
1749 ## [2.1.0] - 2020-06-11
1750
1751 ### Added
1752
1753 - Added 'transient' option to Progress
1754
1755 ### Changed
1756
1757 - Truncated overly long text in Rule with ellipsis overflow
1758
1759 ## [2.0.1] - 2020-06-10
1760
1761 ### Added
1762
1763 - Added expand option to Padding
1764
1765 ### Changed
1766
1767 - Some minor optimizations in Text
1768
1769 ### Fixed
1770
1771 - Fixed broken rule with CJK text
1772
1773 ## [2.0.0] - 2020-06-06
1774
1775 ### Added
1776
1777 - Added overflow methods
1778 - Added no_wrap option to print()
1779 - Added width option to print
1780 - Improved handling of compressed tables
1781
1782 ### Fixed
1783
1784 - Fixed erroneous space at end of log
1785 - Fixed erroneous space at end of progress bar
1786
1787 ### Changed
1788
1789 - Renamed \_ratio.ratio_divide to \_ratio.ratio_distribute
1790 - Renamed JustifyValues to JustifyMethod (backwards incompatible)
1791 - Optimized \_trim_spans
1792 - Enforced keyword args in Console / Text interfaces (backwards incompatible)
1793 - Return self from text.append
1794
1795 ## [1.3.1] - 2020-06-01
1796
1797 ### Changed
1798
1799 - Changed defaults of Table.grid
1800 - Polished listdir.py example
1801
1802 ### Added
1803
1804 - Added width argument to Columns
1805
1806 ### Fixed
1807
1808 - Fixed for `columns_first` argument in Columns
1809 - Fixed incorrect padding in columns with fixed width
1810
1811 ## [1.3.0] - 2020-05-31
1812
1813 ### Added
1814
1815 - Added rich.get_console() function to get global console instance.
1816 - Added Columns class
1817
1818 ### Changed
1819
1820 - Updated `markdown.Heading.create()` to work with subclassing.
1821 - Console now transparently works with Jupyter
1822
1823 ### Fixed
1824
1825 - Fixed issue with broken table with show_edge=False and a non-None box arg
1826
1827 ## [1.2.3] - 2020-05-24
1828
1829 ### Added
1830
1831 - Added `padding` parameter to Panel
1832 - Added 'indeterminate' state when progress bars aren't started
1833
1834 ### Fixed
1835
1836 - Fixed Progress deadlock https://github.com/textualize/rich/issues/90
1837
1838 ### Changed
1839
1840 - Auto-detect "truecolor" color system when in Windows Terminal
1841
1842 ## [1.2.2] - 2020-05-22
1843
1844 ### Fixed
1845
1846 - Issue with right aligned wrapped text adding extra spaces
1847
1848 ## [1.2.1] - 2020-05-22
1849
1850 ### Fixed
1851
1852 - Issue with sum and Style
1853
1854 ## [1.2.0] - 2020-05-22
1855
1856 ### Added
1857
1858 - Support for double underline, framed, encircled, and overlined attributes
1859
1860 ### Changed
1861
1862 - Optimized Style
1863 - Changed methods `__console__` to `__rich_console__`, and `__measure__` to `__rich_measure__`
1864
1865 ## [1.1.9] - 2020-05-20
1866
1867 ### Fixed
1868
1869 - Exception when BarColumn.bar_width == None
1870
1871 ## [1.1.8] - 2020-05-20
1872
1873 ### Changed
1874
1875 - Optimizations for Segment, Console and Table
1876
1877 ### Added
1878
1879 - Added Console.clear method
1880 - Added exporting of links to HTML
1881
1882 ## [1.1.7] - 2020-05-19
1883
1884 ### Added
1885
1886 - Added collapse_padding option to Table.
1887
1888 ### Changed
1889
1890 - Some style attributes may be abbreviated (b for bold, i for italic etc). Previously abbreviations worked in console markup but only one at a time, i.e. "[b]Hello[/]" but not "[b i]Hello[/]" -- now they work everywhere.
1891 - Renamed 'text' property on Text to 'plain'. i.e. text.plain returns a string version of the Text instance.
1892
1893 ### Fixed
1894
1895 - Fixed zero division if total is 0 in progress bar
1896
1897 ## [1.1.6] - 2020-05-17
1898
1899 ### Added
1900
1901 - Added rich.align.Align class
1902 - Added justify argument to Console.print and console.log
1903
1904 ## [1.1.5] - 2020-05-15
1905
1906 ### Changed
1907
1908 - Changed progress bars to write to stdout on terminal and hide on non-terminal
1909
1910 ## [1.1.4] - 2020-05-15
1911
1912 ### Fixed
1913
1914 - Fixed incorrect file and link in progress.log
1915 - Fixes for legacy windows: Bar, Panel, and Rule now use ASCII characters
1916 - show_cursor is now a no-op on legacy windows
1917
1918 ### Added
1919
1920 - Added Console.input
1921
1922 ### Changed
1923
1924 - Disable progress bars when not writing to a terminal
1925
1926 ## [1.1.3] - 2020-05-14
1927
1928 ### Fixed
1929
1930 - Issue with progress of one line`
1931
1932 ## [1.1.2] - 2020-05-14
1933
1934 ### Added
1935
1936 - Added -p switch to python -m rich.markdown to page output
1937 - Added Console.control to output control codes
1938
1939 ### Changed
1940
1941 - Changed Console log_time_format to no longer require a space at the end
1942 - Added print and log to Progress to render terminal output when progress is active
1943
1944 ## [1.1.1] - 2020-05-12
1945
1946 ### Changed
1947
1948 - Stripped cursor moving control codes from text
1949
1950 ## [1.1.0] - 2020-05-10
1951
1952 ### Added
1953
1954 - Added hyperlinks to Style and markup
1955 - Added justify and code theme switches to markdown command
1956
1957 ## [1.0.3] - 2020-05-08
1958
1959 ### Added
1960
1961 - Added `python -m rich.syntax` command
1962
1963 ## [1.0.2] - 2020-05-08
1964
1965 ### Fixed
1966
1967 - Issue with Windows legacy support https://github.com/textualize/rich/issues/59
1968
1969 ## [1.0.1] - 2020-05-08
1970
1971 ### Changed
1972
1973 - Applied console markup after highlighting
1974 - Documented highlighting
1975 - Changed Markup parser to handle overlapping styles
1976 - Relaxed dependency on colorama
1977 - Allowed Theme to accept values as style definitions (str) as well as Style instances
1978 - Added a panel to emphasize code in Markdown
1979
1980 ### Added
1981
1982 - Added markup.escape
1983 - Added `python -m rich.theme` command
1984 - Added `python -m rich.markdown` command
1985 - Added rendering of images in Readme (links only)
1986
1987 ### Fixed
1988
1989 - Fixed Text.assemble not working with strings https://github.com/textualize/rich/issues/57
1990 - Fixed table when column widths must be compressed to fit
1991
1992 ## [1.0.0] - 2020-05-03
1993
1994 ### Changed
1995
1996 - Improvements to repr highlighter to highlight URLs
1997
1998 ## [0.8.13] - 2020-04-28
1999
2000 ### Fixed
2001
2002 - Fixed incorrect markdown rendering for quotes and changed style
2003
2004 ## [0.8.12] - 2020-04-21
2005
2006 ### Fixed
2007
2008 - Removed debug print from rich.progress
2009
2010 ## [0.8.11] - 2020-04-14
2011
2012 ### Added
2013
2014 - Added Table.show_lines to render lines between rows
2015
2016 ### Changed
2017
2018 - Added markup escape with double square brackets
2019
2020 ## [0.8.10] - 2020-04-12
2021
2022 ### Fixed
2023
2024 - Fix row_styles applying to header
2025
2026 ## [0.8.9] - 2020-04-12
2027
2028 ### Changed
2029
2030 - Added force_terminal option to `Console.__init__`
2031
2032 ### Added
2033
2034 - Added Table.row_styles to enable zebra striping.
2035
2036 ## [0.8.8] - 2020-03-31
2037
2038 ### Fixed
2039
2040 - Fixed background in Syntax
2041
2042 ## [0.8.7] - 2020-03-31
2043
2044 ### Fixed
2045
2046 - Broken wrapping of long lines
2047 - Fixed wrapping in Syntax
2048
2049 ### Changed
2050
2051 - Added word_wrap option to Syntax, which defaults to False.
2052 - Added word_wrap option to Traceback.
2053
2054 ## [0.8.6] - 2020-03-29
2055
2056 ### Added
2057
2058 - Experimental Jupyter notebook support: from rich.jupyter import print
2059
2060 ## [0.8.5] - 2020-03-29
2061
2062 ### Changed
2063
2064 - Smarter number parsing regex for repr highlighter
2065
2066 ### Added
2067
2068 - uuid highlighter for repr
2069
2070 ## [0.8.4] - 2020-03-28
2071
2072 ### Added
2073
2074 - Added 'test card', run python -m rich
2075
2076 ### Changed
2077
2078 - Detected windows terminal, defaulting to colorama support
2079
2080 ### Fixed
2081
2082 - Fixed table scaling issue
2083
2084 ## [0.8.3] - 2020-03-27
2085
2086 ### Fixed
2087
2088 - CJK right align
2089
2090 ## [0.8.2] - 2020-03-27
2091
2092 ### Changed
2093
2094 - Fixed issue with 0 speed resulting in zero division error
2095 - Changed signature of Progress.update
2096 - Made calling start() a second time a no-op
2097
2098 ## [0.8.1] - 2020-03-22
2099
2100 ### Added
2101
2102 - Added progress.DownloadColumn
2103
2104 ## [0.8.0] - 2020-03-17
2105
2106 ### Added
2107
2108 - CJK support
2109 - Console level highlight flag
2110 - Added encoding argument to Syntax.from_path
2111
2112 ### Changed
2113
2114 - Dropped support for Windows command prompt (try https://www.microsoft.com/en-gb/p/windows-terminal-preview/)
2115 - Added task_id to Progress.track
2116
2117 ## [0.7.2] - 2020-03-15
2118
2119 ### Fixed
2120
2121 - KeyError for missing pygments style
2122
2123 ## [0.7.1] - 2020-03-13
2124
2125 ### Fixed
2126
2127 - Issue with control codes being used in length calculation
2128
2129 ### Changed
2130
2131 - Remove current_style concept, which wasn't really used and was problematic for concurrency
2132
2133 ## [0.7.0] - 2020-03-12
2134
2135 ### Changed
2136
2137 - Added width option to Panel
2138 - Change special method `__render_width__` to `__measure__`
2139 - Dropped the "markdown style" syntax in console markup
2140 - Optimized style rendering
2141
2142 ### Added
2143
2144 - Added Console.show_cursor method
2145 - Added Progress bars
2146
2147 ### Fixed
2148
2149 - Fixed wrapping when a single word was too large to fit in a line
2150
2151 ## [0.6.0] - 2020-03-03
2152
2153 ### Added
2154
2155 - Added tab_size to Console and Text
2156 - Added protocol.is_renderable for runtime check
2157 - Added emoji switch to Console
2158 - Added inherit boolean to Theme
2159 - Made Console thread safe, with a thread local buffer
2160
2161 ### Changed
2162
2163 - Console.markup attribute now effects Table
2164 - SeparatedConsoleRenderable and RichCast types
2165
2166 ### Fixed
2167
2168 - Fixed tabs breaking rendering by converting to spaces
2169
2170 ## [0.5.0] - 2020-02-23
2171
2172 ### Changed
2173
2174 - Replaced `__console_str__` with `__rich__`
2175
2176 ## [0.4.1] - 2020-02-22
2177
2178 ### Fixed
2179
2180 - Readme links in PyPI
2181
2182 ## [0.4.0] - 2020-02-22
2183
2184 ### Added
2185
2186 - Added Traceback rendering and handler
2187 - Added rich.constrain
2188 - Added rich.rule
2189
2190 ### Fixed
2191
2192 - Fixed unnecessary padding
2193
2194 ## [0.3.3] - 2020-02-04
2195
2196 ### Fixed
2197
2198 - Fixed Windows color support
2199 - Fixed line width on windows issue (https://github.com/textualize/rich/issues/7)
2200 - Fixed Pretty print on Windows
2201
2202 ## [0.3.2] - 2020-01-26
2203
2204 ### Added
2205
2206 - Added rich.logging
2207
2208 ## [0.3.1] - 2020-01-22
2209
2210 ### Added
2211
2212 - Added colorama for Windows support
2213
2214 ## [0.3.0] - 2020-01-19
2215
2216 ### Added
2217
2218 - First official release, API still to be stabilized
2219
2220 [15.0.0]: https://github.com/textualize/rich/compare/v14.3.4...v15.0.0
2221 [14.3.4]: https://github.com/textualize/rich/compare/v14.3.3...v14.3.4
2222 [14.3.3]: https://github.com/textualize/rich/compare/v14.3.2...v14.3.3
2223 [14.3.2]: https://github.com/textualize/rich/compare/v14.3.1...v14.3.2
2224 [14.3.1]: https://github.com/textualize/rich/compare/v14.3.0...v14.3.1
2225 [14.3.0]: https://github.com/textualize/rich/compare/v14.2.0...v14.3.0
2226 [14.2.0]: https://github.com/textualize/rich/compare/v14.1.0...v14.2.0
2227 [14.1.0]: https://github.com/textualize/rich/compare/v14.0.0...v14.1.0
2228 [14.0.0]: https://github.com/textualize/rich/compare/v13.9.4...v14.0.0
2229 [13.9.4]: https://github.com/textualize/rich/compare/v13.9.3...v13.9.4
2230 [13.9.3]: https://github.com/textualize/rich/compare/v13.9.2...v13.9.3
2231 [13.9.2]: https://github.com/textualize/rich/compare/v13.9.1...v13.9.2
2232 [13.9.1]: https://github.com/textualize/rich/compare/v13.9.0...v13.9.1
2233 [13.9.0]: https://github.com/textualize/rich/compare/v13.8.1...v13.9.0
2234 [13.8.1]: https://github.com/textualize/rich/compare/v13.8.0...v13.8.1
2235 [13.8.0]: https://github.com/textualize/rich/compare/v13.7.1...v13.8.0
2236 [13.7.1]: https://github.com/textualize/rich/compare/v13.7.0...v13.7.1
2237 [13.7.0]: https://github.com/textualize/rich/compare/v13.6.0...v13.7.0
2238 [13.6.0]: https://github.com/textualize/rich/compare/v13.5.3...v13.6.0
2239 [13.5.3]: https://github.com/textualize/rich/compare/v13.5.2...v13.5.3
2240 [13.5.2]: https://github.com/textualize/rich/compare/v13.5.1...v13.5.2
2241 [13.5.1]: https://github.com/textualize/rich/compare/v13.5.0...v13.5.1
2242 [13.5.0]: https://github.com/textualize/rich/compare/v13.4.2...v13.5.0
2243 [13.4.2]: https://github.com/textualize/rich/compare/v13.4.1...v13.4.2
2244 [13.4.1]: https://github.com/textualize/rich/compare/v13.4.0...v13.4.1
2245 [13.4.0]: https://github.com/textualize/rich/compare/v13.3.5...v13.4.0
2246 [13.3.5]: https://github.com/textualize/rich/compare/v13.3.4...v13.3.5
2247 [13.3.4]: https://github.com/textualize/rich/compare/v13.3.3...v13.3.4
2248 [13.3.3]: https://github.com/textualize/rich/compare/v13.3.2...v13.3.3
2249 [13.3.2]: https://github.com/textualize/rich/compare/v13.3.1...v13.3.2
2250 [13.3.1]: https://github.com/textualize/rich/compare/v13.3.0...v13.3.1
2251 [13.3.0]: https://github.com/textualize/rich/compare/v13.2.0...v13.3.0
2252 [13.2.0]: https://github.com/textualize/rich/compare/v13.1.0...v13.2.0
2253 [13.1.0]: https://github.com/textualize/rich/compare/v13.0.1...v13.1.0
2254 [13.0.1]: https://github.com/textualize/rich/compare/v13.0.0...v13.0.1
2255 [13.0.0]: https://github.com/textualize/rich/compare/v12.6.0...v13.0.0
2256 [12.6.0]: https://github.com/textualize/rich/compare/v12.5.2...v12.6.0
2257 [12.5.2]: https://github.com/textualize/rich/compare/v12.5.1...v12.5.2
2258 [12.5.1]: https://github.com/textualize/rich/compare/v12.5.0...v12.5.1
2259 [12.5.0]: https://github.com/textualize/rich/compare/v12.4.4...v12.5.0
2260 [12.4.4]: https://github.com/textualize/rich/compare/v12.4.3...v12.4.4
2261 [12.4.3]: https://github.com/textualize/rich/compare/v12.4.2...v12.4.3
2262 [12.4.2]: https://github.com/textualize/rich/compare/v12.4.1...v12.4.2
2263 [12.4.1]: https://github.com/textualize/rich/compare/v12.4.0...v12.4.1
2264 [12.4.0]: https://github.com/textualize/rich/compare/v12.3.0...v12.4.0
2265 [12.3.0]: https://github.com/textualize/rich/compare/v12.2.0...v12.3.0
2266 [12.2.0]: https://github.com/textualize/rich/compare/v12.1.0...v12.2.0
2267 [12.1.0]: https://github.com/textualize/rich/compare/v12.0.1...v12.1.0
2268 [12.0.1]: https://github.com/textualize/rich/compare/v12.0.0...v12.0.1
2269 [12.0.0]: https://github.com/textualize/rich/compare/v11.2.0...v12.0.0
2270 [11.2.0]: https://github.com/textualize/rich/compare/v11.1.0...v11.2.0
2271 [11.1.0]: https://github.com/textualize/rich/compare/v11.0.0...v11.1.0
2272 [11.0.0]: https://github.com/textualize/rich/compare/v10.16.1...v11.0.0
2273 [10.16.2]: https://github.com/textualize/rich/compare/v10.16.1...v10.16.2
2274 [10.16.1]: https://github.com/textualize/rich/compare/v10.16.0...v10.16.1
2275 [10.16.0]: https://github.com/textualize/rich/compare/v10.15.2...v10.16.0
2276 [10.15.2]: https://github.com/textualize/rich/compare/v10.15.1...v10.15.2
2277 [10.15.1]: https://github.com/textualize/rich/compare/v10.15.0...v10.15.1
2278 [10.15.0]: https://github.com/textualize/rich/compare/v10.14.0...v10.15.0
2279 [10.14.0]: https://github.com/textualize/rich/compare/v10.13.0...v10.14.0
2280 [10.13.0]: https://github.com/textualize/rich/compare/v10.12.0...v10.13.0
2281 [10.12.0]: https://github.com/textualize/rich/compare/v10.11.0...v10.12.0
2282 [10.11.0]: https://github.com/textualize/rich/compare/v10.10.0...v10.11.0
2283 [10.10.0]: https://github.com/textualize/rich/compare/v10.9.0...v10.10.0
2284 [10.9.0]: https://github.com/textualize/rich/compare/v10.8.0...v10.9.0
2285 [10.8.0]: https://github.com/textualize/rich/compare/v10.7.0...v10.8.0
2286 [10.7.0]: https://github.com/textualize/rich/compare/v10.6.0...v10.7.0
2287 [10.6.0]: https://github.com/textualize/rich/compare/v10.5.0...v10.6.0
2288 [10.5.0]: https://github.com/textualize/rich/compare/v10.4.0...v10.5.0
2289 [10.4.0]: https://github.com/textualize/rich/compare/v10.3.0...v10.4.0
2290 [10.3.0]: https://github.com/textualize/rich/compare/v10.2.2...v10.3.0
2291 [10.2.2]: https://github.com/textualize/rich/compare/v10.2.1...v10.2.2
2292 [10.2.1]: https://github.com/textualize/rich/compare/v10.2.0...v10.2.1
2293 [10.2.0]: https://github.com/textualize/rich/compare/v10.1.0...v10.2.0
2294 [10.1.0]: https://github.com/textualize/rich/compare/v10.0.1...v10.1.0
2295 [10.0.1]: https://github.com/textualize/rich/compare/v10.0.0...v10.0.1
2296 [10.0.0]: https://github.com/textualize/rich/compare/v9.13.0...v10.0.0
2297 [9.13.0]: https://github.com/textualize/rich/compare/v9.12.4...v9.13.0
2298 [9.12.4]: https://github.com/textualize/rich/compare/v9.12.3...v9.12.4
2299 [9.12.3]: https://github.com/textualize/rich/compare/v9.12.2...v9.12.3
2300 [9.12.2]: https://github.com/textualize/rich/compare/v9.12.1...v9.12.2
2301 [9.12.1]: https://github.com/textualize/rich/compare/v9.12.0...v9.12.1
2302 [9.12.0]: https://github.com/textualize/rich/compare/v9.11.1...v9.12.0
2303 [9.11.1]: https://github.com/textualize/rich/compare/v9.11.0...v9.11.1
2304 [9.11.0]: https://github.com/textualize/rich/compare/v9.10.0...v9.11.0
2305 [9.10.0]: https://github.com/textualize/rich/compare/v9.9.0...v9.10.0
2306 [9.9.0]: https://github.com/textualize/rich/compare/v9.8.2...v9.9.0
2307 [9.8.2]: https://github.com/textualize/rich/compare/v9.8.1...v9.8.2
2308 [9.8.1]: https://github.com/textualize/rich/compare/v9.8.0...v9.8.1
2309 [9.8.0]: https://github.com/textualize/rich/compare/v9.7.0...v9.8.0
2310 [9.7.0]: https://github.com/textualize/rich/compare/v9.6.2...v9.7.0
2311 [9.6.2]: https://github.com/textualize/rich/compare/v9.6.1...v9.6.2
2312 [9.6.1]: https://github.com/textualize/rich/compare/v9.6.0...v9.6.1
2313 [9.6.0]: https://github.com/textualize/rich/compare/v9.5.1...v9.6.0
2314 [9.5.1]: https://github.com/textualize/rich/compare/v9.5.0...v9.5.1
2315 [9.5.0]: https://github.com/textualize/rich/compare/v9.4.0...v9.5.0
2316 [9.4.0]: https://github.com/textualize/rich/compare/v9.3.0...v9.4.0
2317 [9.3.0]: https://github.com/textualize/rich/compare/v9.2.0...v9.3.0
2318 [9.2.0]: https://github.com/textualize/rich/compare/v9.1.0...v9.2.0
2319 [9.1.0]: https://github.com/textualize/rich/compare/v9.0.1...v9.1.0
2320 [9.0.1]: https://github.com/textualize/rich/compare/v9.0.0...v9.0.1
2321 [9.0.0]: https://github.com/textualize/rich/compare/v8.0.0...v9.0.0
2322 [8.0.0]: https://github.com/textualize/rich/compare/v7.1.0...v8.0.0
2323 [7.1.0]: https://github.com/textualize/rich/compare/v7.0.0...v7.1.0
2324 [7.0.0]: https://github.com/textualize/rich/compare/v6.2.0...v7.0.0
2325 [6.2.0]: https://github.com/textualize/rich/compare/v6.1.2...v6.2.0
2326 [6.1.2]: https://github.com/textualize/rich/compare/v6.1.1...v6.1.2
2327 [6.1.1]: https://github.com/textualize/rich/compare/v6.1.0...v6.1.1
2328 [6.1.0]: https://github.com/textualize/rich/compare/v6.0.0...v6.1.0
2329 [6.0.0]: https://github.com/textualize/rich/compare/v5.2.1...v6.0.0
2330 [5.2.1]: https://github.com/textualize/rich/compare/v5.2.0...v5.2.1
2331 [5.2.0]: https://github.com/textualize/rich/compare/v5.1.2...v5.2.0
2332 [5.1.2]: https://github.com/textualize/rich/compare/v5.1.1...v5.1.2
2333 [5.1.1]: https://github.com/textualize/rich/compare/v5.1.0...v5.1.1
2334 [5.1.0]: https://github.com/textualize/rich/compare/v5.0.0...v5.1.0
2335 [5.0.0]: https://github.com/textualize/rich/compare/v4.2.2...v5.0.0
2336 [4.2.2]: https://github.com/textualize/rich/compare/v4.2.1...v4.2.2
2337 [4.2.1]: https://github.com/textualize/rich/compare/v4.2.0...v4.2.1
2338 [4.2.0]: https://github.com/textualize/rich/compare/v4.1.0...v4.2.0
2339 [4.1.0]: https://github.com/textualize/rich/compare/v4.0.0...v4.1.0
2340 [4.0.0]: https://github.com/textualize/rich/compare/v3.4.1...v4.0.0
2341 [3.4.1]: https://github.com/textualize/rich/compare/v3.4.0...v3.4.1
2342 [3.4.0]: https://github.com/textualize/rich/compare/v3.3.2...v3.4.0
2343 [3.3.2]: https://github.com/textualize/rich/compare/v3.3.1...v3.3.2
2344 [3.3.1]: https://github.com/textualize/rich/compare/v3.3.0...v3.3.1
2345 [3.3.0]: https://github.com/textualize/rich/compare/v3.2.0...v3.3.0
2346 [3.2.0]: https://github.com/textualize/rich/compare/v3.1.0...v3.2.0
2347 [3.1.0]: https://github.com/textualize/rich/compare/v3.0.5...v3.1.0
2348 [3.0.5]: https://github.com/textualize/rich/compare/v3.0.4...v3.0.5
2349 [3.0.4]: https://github.com/textualize/rich/compare/v3.0.3...v3.0.4
2350 [3.0.3]: https://github.com/textualize/rich/compare/v3.0.2...v3.0.3
2351 [3.0.2]: https://github.com/textualize/rich/compare/v3.0.1...v3.0.2
2352 [3.0.1]: https://github.com/textualize/rich/compare/v3.0.0...v3.0.1
2353 [3.0.0]: https://github.com/textualize/rich/compare/v2.3.1...v3.0.0
2354 [2.3.1]: https://github.com/textualize/rich/compare/v2.3.0...v2.3.1
2355 [2.3.0]: https://github.com/textualize/rich/compare/v2.2.6...v2.3.0
2356 [2.2.6]: https://github.com/textualize/rich/compare/v2.2.5...v2.2.6
2357 [2.2.5]: https://github.com/textualize/rich/compare/v2.2.4...v2.2.5
2358 [2.2.4]: https://github.com/textualize/rich/compare/v2.2.3...v2.2.4
2359 [2.2.3]: https://github.com/textualize/rich/compare/v2.2.2...v2.2.3
2360 [2.2.2]: https://github.com/textualize/rich/compare/v2.2.1...v2.2.2
2361 [2.2.1]: https://github.com/textualize/rich/compare/v2.2.0...v2.2.1
2362 [2.2.0]: https://github.com/textualize/rich/compare/v2.1.0...v2.2.0
2363 [2.1.0]: https://github.com/textualize/rich/compare/v2.0.1...v2.1.0
2364 [2.0.1]: https://github.com/textualize/rich/compare/v2.0.0...v2.0.1
2365 [2.0.0]: https://github.com/textualize/rich/compare/v1.3.1...v2.0.0
2366 [1.3.1]: https://github.com/textualize/rich/compare/v1.3.0...v1.3.1
2367 [1.3.0]: https://github.com/textualize/rich/compare/v1.2.3...v1.3.0
2368 [1.2.3]: https://github.com/textualize/rich/compare/v1.2.2...v1.2.3
2369 [1.2.2]: https://github.com/textualize/rich/compare/v1.2.1...v1.2.2
2370 [1.2.1]: https://github.com/textualize/rich/compare/v1.2.0...v1.2.1
2371 [1.2.0]: https://github.com/textualize/rich/compare/v1.1.9...v1.2.0
2372 [1.1.9]: https://github.com/textualize/rich/compare/v1.1.8...v1.1.9
2373 [1.1.8]: https://github.com/textualize/rich/compare/v1.1.7...v1.1.8
2374 [1.1.7]: https://github.com/textualize/rich/compare/v1.1.6...v1.1.7
2375 [1.1.6]: https://github.com/textualize/rich/compare/v1.1.5...v1.1.6
2376 [1.1.5]: https://github.com/textualize/rich/compare/v1.1.4...v1.1.5
2377 [1.1.4]: https://github.com/textualize/rich/compare/v1.1.3...v1.1.4
2378 [1.1.3]: https://github.com/textualize/rich/compare/v1.1.2...v1.1.3
2379 [1.1.2]: https://github.com/textualize/rich/compare/v1.1.1...v1.1.2
2380 [1.1.1]: https://github.com/textualize/rich/compare/v1.1.0...v1.1.1
2381 [1.1.0]: https://github.com/textualize/rich/compare/v1.0.3...v1.1.0
2382 [1.0.3]: https://github.com/textualize/rich/compare/v1.0.2...v1.0.3
2383 [1.0.2]: https://github.com/textualize/rich/compare/v1.0.1...v1.0.2
2384 [1.0.1]: https://github.com/textualize/rich/compare/v1.0.0...v1.0.1
2385 [1.0.0]: https://github.com/textualize/rich/compare/v0.8.13...v1.0.0
2386 [0.8.13]: https://github.com/textualize/rich/compare/v0.8.12...v0.8.13
2387 [0.8.12]: https://github.com/textualize/rich/compare/v0.8.11...v0.8.12
2388 [0.8.11]: https://github.com/textualize/rich/compare/v0.8.10...v0.8.11
2389 [0.8.10]: https://github.com/textualize/rich/compare/v0.8.9...v0.8.10
2390 [0.8.9]: https://github.com/textualize/rich/compare/v0.8.8...v0.8.9
2391 [0.8.8]: https://github.com/textualize/rich/compare/v0.8.7...v0.8.8
2392 [0.8.7]: https://github.com/textualize/rich/compare/v0.8.6...v0.8.7
2393 [0.8.6]: https://github.com/textualize/rich/compare/v0.8.5...v0.8.6
2394 [0.8.5]: https://github.com/textualize/rich/compare/v0.8.4...v0.8.5
2395 [0.8.4]: https://github.com/textualize/rich/compare/v0.8.3...v0.8.4
2396 [0.8.3]: https://github.com/textualize/rich/compare/v0.8.2...v0.8.3
2397 [0.8.2]: https://github.com/textualize/rich/compare/v0.8.1...v0.8.2
2398 [0.8.1]: https://github.com/textualize/rich/compare/v0.8.0...v0.8.1
2399 [0.8.0]: https://github.com/textualize/rich/compare/v0.7.2...v0.8.0
2400 [0.7.2]: https://github.com/textualize/rich/compare/v0.7.1...v0.7.2
2401 [0.7.1]: https://github.com/textualize/rich/compare/v0.7.0...v0.7.1
2402 [0.7.0]: https://github.com/textualize/rich/compare/v0.6.0...v0.7.0
2403 [0.6.0]: https://github.com/textualize/rich/compare/v0.5.0...v0.6.0
2404 [0.5.0]: https://github.com/textualize/rich/compare/v0.4.1...v0.5.0
2405 [0.4.1]: https://github.com/textualize/rich/compare/v0.4.0...v0.4.1
2406 [0.4.0]: https://github.com/textualize/rich/compare/v0.3.3...v0.4.0
2407 [0.3.3]: https://github.com/textualize/rich/compare/v0.3.2...v0.3.3
2408 [0.3.2]: https://github.com/textualize/rich/compare/v0.3.1...v0.3.2
2409 [0.3.1]: https://github.com/textualize/rich/compare/v0.3.0...v0.3.1
2410 [0.3.0]: https://github.com/textualize/rich/compare/v0.2.0...v0.3.0