Skip to content

Commit a95d33b

Browse files
authored
Merge branch 'master' into master
2 parents c2dafc4 + 43d3b04 commit a95d33b

36 files changed

+789
-477
lines changed

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
- uses: actions/checkout@v4
88
- run: python3 -m pip install codespell
99
- run: codespell --ignore-words-list="ba,fo,hel,revered,womens"
10-
--skip="./README.*.md,*.svg,*.ai,./benchmarks/snippets.py,./tests,./tools"
10+
--skip="./README.*.md,*.svg,*.ai,./benchmarks/snippets.py,./tests,./tools,*.lock"

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ jobs:
66
build:
77
runs-on: ${{ matrix.os }}
88
strategy:
9+
fail-fast: false
910
matrix:
1011
os: [windows-latest, ubuntu-latest, macos-latest]
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
12-
include:
13-
- { os: ubuntu-latest, python-version: "3.7" }
14-
- { os: windows-latest, python-version: "3.7" }
15-
- { os: macos-12, python-version: "3.7" }
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
13+
exclude:
14+
- { os: windows-latest, python-version: "3.13" }
1615
defaults:
1716
run:
1817
shell: bash
@@ -22,6 +21,7 @@ jobs:
2221
uses: actions/setup-python@v5
2322
with:
2423
python-version: ${{ matrix.python-version }}
24+
allow-prereleases: true
2525
- name: Install and configure Poetry
2626
# TODO: workaround for https://github.com/snok/install-poetry/issues/94
2727
uses: snok/[email protected]

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sphinx:
1212
formats: all
1313

1414
python:
15-
version: 3.7
15+
version: 3.8
1616
install:
1717
- requirements: docs/requirements.txt
1818
- method: pip

CHANGELOG.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,56 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9-
## [13.8.1]
9+
## [13.9.5]
1010

1111
### Fixed
1212
- Fixed `console.capture` context printing empty line in jupyter https://github.com/Textualize/rich/pull/3474
1313

14+
## [13.9.4] - 2024-11-01
15+
16+
### Changed
17+
18+
- Optimizations to cell_len which may speed up Rich / Textual output https://github.com/Textualize/rich/pull/3546
19+
20+
## [13.9.3] - 2024-10-22
21+
22+
### Fixed
23+
24+
- Fixed broken regex that may have resulted in poor performance. https://github.com/Textualize/rich/pull/3535
25+
26+
## [13.9.2] - 2024-10-04
27+
28+
### Fixed
29+
30+
- Fixed `Table` columns not highlighting when added by `add_row` https://github.com/Textualize/rich/issues/3517
31+
- Fixed an issue with Segment.split_cells reported in Textual https://github.com/Textualize/textual/issues/5090
32+
33+
## [13.9.1] - 2024-10-01
34+
35+
### Fixed
36+
37+
- Fixed typing_extensions dependency
38+
39+
## [13.9.0] - 2024-10-01
40+
41+
### Changed
42+
43+
- Dropped support for Python3.7 https://github.com/Textualize/rich/pull/3509
44+
- Rich will display tracebacks with finely grained error locations on python 3.11+ https://github.com/Textualize/rich/pull/3486
45+
46+
### Fixed
47+
48+
- Fixed issue with Segment._split_cells https://github.com/Textualize/rich/pull/3506
49+
- Fix auto detection of terminal size on Windows https://github.com/Textualize/rich/pull/2916
50+
- `Text.style` now respected in Panel title/subtitle https://github.com/Textualize/rich/pull/3509
51+
52+
## [13.8.1] - 2024-09-10
53+
54+
### Fixed
55+
56+
- Added support for Python 3.13 https://github.com/Textualize/rich/pull/3481
57+
- Fixed infinite loop when appending Text to same instance https://github.com/Textualize/rich/pull/3480
58+
1459
## [13.8.0] - 2024-08-26
1560

1661
### Fixed
@@ -37,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3782
- Running tests in environment with `FORCE_COLOR` or `NO_COLOR` environment variables
3883
- ansi decoder will now strip problematic private escape sequences (like `\x1b7`) https://github.com/Textualize/rich/pull/3278/
3984
- Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
85+
- `rich.Text.highlight_regex` now accepts a regular expression object https://github.com/Textualize/rich/pull/3347
4086

4187
### Added
4288

@@ -51,6 +97,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5197

5298
- Updated the widths of some characters https://github.com/Textualize/rich/pull/3289
5399

100+
### Added
101+
102+
- Included a `name` attribute to the `Spinner` class https://github.com/Textualize/rich/pull/3359
103+
54104
## [13.7.0] - 2023-11-15
55105

56106
### Added
@@ -2065,6 +2115,12 @@ Major version bump for a breaking change to `Text.stylize signature`, which corr
20652115

20662116
- First official release, API still to be stabilized
20672117

2118+
[13.9.4]: https://github.com/textualize/rich/compare/v13.9.3...v13.9.4
2119+
[13.9.3]: https://github.com/textualize/rich/compare/v13.9.2...v13.9.3
2120+
[13.9.2]: https://github.com/textualize/rich/compare/v13.9.1...v13.9.2
2121+
[13.9.1]: https://github.com/textualize/rich/compare/v13.9.0...v13.9.1
2122+
[13.9.0]: https://github.com/textualize/rich/compare/v13.8.1...v13.9.0
2123+
[13.8.1]: https://github.com/textualize/rich/compare/v13.8.0...v13.8.1
20682124
[13.8.0]: https://github.com/textualize/rich/compare/v13.7.1...v13.8.0
20692125
[13.7.1]: https://github.com/textualize/rich/compare/v13.7.0...v13.7.1
20702126
[13.7.0]: https://github.com/textualize/rich/compare/v13.6.0...v13.7.0

CONTRIBUTORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The following people have contributed to the development of Rich:
2020
- [Aryaz Eghbali](https://github.com/AryazE)
2121
- [Oleksis Fraga](https://github.com/oleksis)
2222
- [Andy Gimblett](https://github.com/gimbo)
23+
- [Kai Giokas](https://github.com/kaisforza)
2324
- [Tom Gooding](https://github.com/TomJGooding)
2425
- [Michał Górny](https://github.com/mgorny)
2526
- [Nok Lam Chan](https://github.com/noklam)
@@ -86,4 +87,7 @@ The following people have contributed to the development of Rich:
8687
- [Pierro](https://github.com/xpierroz)
8788
- [Bernhard Wagner](https://github.com/bwagner)
8889
- [Aaron Beaudoin](https://github.com/AaronBeaudoin)
90+
- [Sam Woodward](https://github.com/PyWoody)
91+
- [L. Yeung](https://github.com/lewis-yeung)
92+
- [chthollyphile](https://github.com/chthollyphile)
8993
- [Jonathan Helmus](https://github.com/jjhelmus)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ See what [people are saying about Rich](https://www.willmcgugan.com/blog/pages/p
3939

4040
## Compatibility
4141

42-
Rich works with Linux, macOS and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.7 or later.
42+
Rich works with Linux, macOS and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.8 or later.
4343

4444
Rich works with [Jupyter notebooks](https://jupyter.org/) with no additional configuration required.
4545

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
alabaster==0.7.12
1+
alabaster==1.0.0
22
Sphinx==7.3.7
33
sphinx-rtd-theme==2.0.0
44
sphinx-copybutton==0.5.1

docs/source/progress.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ The following column objects are available:
163163
- :class:`~rich.progress.TransferSpeedColumn` Displays transfer speed (assumes the steps are bytes).
164164
- :class:`~rich.progress.SpinnerColumn` Displays a "spinner" animation.
165165
- :class:`~rich.progress.RenderableColumn` Displays an arbitrary Rich renderable in the column.
166+
- :class:`~rich.progress.IterationSpeedColumn` Displays iteration speed in it/s (iterations per second).
166167

167168
To implement your own columns, extend the :class:`~rich.progress.ProgressColumn` class and use it as you would the other columns.
168169

docs/source/tables.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ There are a number of options you can set on a column to modify how it will look
142142
- ``max_width`` When set to an integer will prevent the column from growing beyond this amount.
143143
- ``ratio`` Defines a ratio to set the column width. For instance, if there are 3 columns with a total of 6 ratio, and ``ratio=2`` then the column will be a third of the available size.
144144
- ``no_wrap`` Set to True to prevent this column from wrapping.
145+
- ``highlight`` Set to True to enable automatic highlighting of cell contents.
145146

146147
Vertical Alignment
147148
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)