Skip to content

Commit db17c23

Browse files
authored
Merge branch 'master' into master
2 parents abb4db2 + cf9f331 commit db17c23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+637
-255
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@v2
36+
uses: github/codeql-action/init@v3
3737
with:
3838
languages: ${{ matrix.language }}
3939
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -47,7 +47,7 @@ jobs:
4747
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
4848
# If this step fails, then you should remove it and run the build manually (see below)
4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@v2
50+
uses: github/codeql-action/autobuild@v3
5151

5252
# ℹ️ Command-line programs to run using the OS shell.
5353
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -60,6 +60,6 @@ jobs:
6060
# ./location_of_script_within_repo/buildscript.sh
6161

6262
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@v2
63+
uses: github/codeql-action/analyze@v3
6464
with:
6565
category: "/language:${{matrix.language}}"

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install and configure Poetry
2626
# TODO: workaround for https://github.com/snok/install-poetry/issues/94
27-
uses: snok/install-poetry@v1.3.3
27+
uses: snok/install-poetry@v1.3.4
2828
with:
2929
version: 1.3.1
3030
virtualenvs-in-project: true
@@ -44,7 +44,7 @@ jobs:
4444
source $VENV
4545
pytest tests -v --cov=./rich --cov-report=xml:./coverage.xml --cov-report term-missing
4646
- name: Upload code coverage
47-
uses: codecov/codecov-action@v3
47+
uses: codecov/codecov-action@v4
4848
with:
4949
token: ${{ secrets.CODECOV_TOKEN }}
5050
file: ./coverage.xml

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ repos:
3030
hooks:
3131
- id: pycln
3232
args: [--all]
33-
- repo: https://github.com/psf/black
34-
rev: 23.7.0
33+
- repo: https://github.com/psf/black-pre-commit-mirror
34+
rev: 23.11.0
3535
hooks:
3636
- id: black
3737
exclude: ^benchmarks/

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,35 @@ All notable changes to this project will be documented in this file.
55
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

8-
## [13.7.2]
8+
9+
## Unreleased
10+
11+
### Fixed
12+
13+
- Fixed `Table` rendering of box elements so "footer" elements truly appear at bottom of table, "mid" elements in main table body.
14+
- Fixed styles in Panel when Text objects are used for title https://github.com/Textualize/rich/pull/3401
15+
- Fix pretty repr for `collections.deque` https://github.com/Textualize/rich/pull/2864
16+
- Thread used in progress.track will exit if an exception occurs in a generator https://github.com/Textualize/rich/pull/3402
17+
- Progress track thread is now a daemon thread https://github.com/Textualize/rich/pull/3402
18+
- Fixed cached hash preservation upon clearing meta and links https://github.com/Textualize/rich/issues/2942
19+
- Fixed overriding the `background_color` of `Syntax` not including padding https://github.com/Textualize/rich/issues/3295
920

1021
### Changed
1122

23+
- `RichHandler` errors and warnings will now use different colors (red and yellow) https://github.com/Textualize/rich/issues/2825
24+
- Removed the empty line printed in jupyter while using `Progress` https://github.com/Textualize/rich/pull/2616
25+
- Running tests in environment with `FORCE_COLOR` or `NO_COLOR` environment variables
26+
- ansi decoder will now strip problematic private escape sequences (like `\x1b7`) https://github.com/Textualize/rich/pull/3278/
1227
- Tree's ASCII_GUIDES and TREE_GUIDES constants promoted to class attributes
1328

29+
### Added
30+
31+
- Adds a `case_sensitive` parameter to `prompt.Prompt`. This determines if the
32+
response is treated as case-sensitive. Defaults to `True`.
33+
1434
## [13.7.1] - 2024-02-28
1535

36+
1637
### Fixed
1738

1839
- Updated the widths of some characters https://github.com/Textualize/rich/pull/3289
@@ -75,7 +96,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7596

7697
- Text.tab_size now defaults to `None` to indicate that Console.tab_size should be used.
7798

78-
7999
## [13.4.2] - 2023-06-12
80100

81101
### Changed
@@ -130,6 +150,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
130150

131151
- Added Polish README
132152

153+
133154
### Changed
134155

135156
- `rich.progress.track()` will now show the elapsed time after finishing the task https://github.com/Textualize/rich/pull/2659

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as
66
contributors and maintainers pledge to making participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
88
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
9+
level of experience, education, socioeconomic status, nationality, personal
1010
appearance, race, religion, or sexual identity and orientation.
1111

1212
## Our Standards

CONTRIBUTORS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,31 @@ The following people have contributed to the development of Rich:
1111
- [Robin Bowes](https://github.com/yo61)
1212
- [Dennis Brakhane](https://github.com/brakhane)
1313
- [Darren Burns](https://github.com/darrenburns)
14+
- [Ceyda Cinarel](https://github.com/cceyda)
1415
- [Jim Crist-Harif](https://github.com/jcrist)
1516
- [Ed Davis](https://github.com/davised)
1617
- [Pete Davison](https://github.com/pd93)
1718
- [James Estevez](https://github.com/jstvz)
19+
- [Jonathan Eunice](https://github.com/jonathan-3play)
1820
- [Aryaz Eghbali](https://github.com/AryazE)
1921
- [Oleksis Fraga](https://github.com/oleksis)
2022
- [Andy Gimblett](https://github.com/gimbo)
23+
- [Tom Gooding](https://github.com/TomJGooding)
2124
- [Michał Górny](https://github.com/mgorny)
2225
- [Nok Lam Chan](https://github.com/noklam)
2326
- [Leron Gray](https://github.com/daddycocoaman)
2427
- [Andre Hora](https://github.com/andrehora)
2528
- [Kenneth Hoste](https://github.com/boegel)
2629
- [Lanqing Huang](https://github.com/lqhuang)
2730
- [Finn Hughes](https://github.com/finnhughes)
31+
- [Logan Hunt](https://github.com/dosisod)
32+
- [JP Hutchins](https://github.com/JPhutchins)
2833
- [Ionite](https://github.com/ionite34)
2934
- [Josh Karpel](https://github.com/JoshKarpel)
3035
- [Jan Katins](https://github.com/jankatins)
3136
- [Hugo van Kemenade](https://github.com/hugovk)
3237
- [Andrew Kettmann](https://github.com/akettmann)
38+
- [Alexander Krasnikov](https://github.com/askras)
3339
- [Martin Larralde](https://github.com/althonos)
3440
- [Hedy Li](https://github.com/hedythedev)
3541
- [Henry Mai](https://github.com/tanducmai)
@@ -49,6 +55,7 @@ The following people have contributed to the development of Rich:
4955
- [Kylian Point](https://github.com/p0lux)
5056
- [Kyle Pollina](https://github.com/kylepollina)
5157
- [Sebastián Ramírez](https://github.com/tiangolo)
58+
- [Grant Ramsay](https://github.com/seapagan)
5259
- [Felipe Guedes](https://github.com/guedesfelipe)
5360
- [Min RK](https://github.com/minrk)
5461
- [Clément Robert](https://github.com/neutrinoceros)
@@ -60,6 +67,7 @@ The following people have contributed to the development of Rich:
6067
- [Anthony Shaw](https://github.com/tonybaloney)
6168
- [Nicolas Simonds](https://github.com/0xDEC0DE)
6269
- [Aaron Stephens](https://github.com/aaronst)
70+
- [Karolina Surma](https://github.com/befeleme)
6371
- [Gabriele N. Tornetta](https://github.com/p403n1x87)
6472
- [Nils Vu](https://github.com/nilsvu)
6573
- [Arian Mollik Wasi](https://github.com/wasi-master)

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -437,11 +437,3 @@ See also [Rich CLI](https://github.com/textualize/rich-cli) for a command line a
437437
See also Rich's sister project, [Textual](https://github.com/Textualize/textual), which you can use to build sophisticated User Interfaces in the terminal.
438438

439439
![Textual screenshot](https://raw.githubusercontent.com/Textualize/textual/main/imgs/textual.png)
440-
441-
# Projects using Rich
442-
443-
For some examples of projects using Rich, see the [Rich Gallery](https://www.textualize.io/rich/gallery) on [Textualize.io](https://www.textualize.io).
444-
445-
Would you like to add your own project to the gallery? You can! Follow [these instructions](https://www.textualize.io/gallery-instructions).
446-
447-
<!-- This is a test, no need to translate -->

0 commit comments

Comments
 (0)