8000 [pull] master from fastapi:master by pull[bot] · Pull Request #18 · psy-repos-python/typer · GitHub
[go: up one dir, main page]

Skip to content

[pull] master from fastapi:master #18

< 10000 div class="gh-header-actions mt-0 mb-3 mb-md-2 ml-1 flex-md-order-1 flex-shrink-0 d-flex flex-items-center gap-1">
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 166 commits into from
Jul 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
765c08c
⬆ [pre-commit.ci] pre-commit autoupdate (#1053)
pre-commit-ci[bot] Nov 19, 2024
8f4f267
📝 Update release notes
invalid-email-address Nov 19, 2024
9417872
⬆ Bump astral-sh/setup-uv from 3 to 4 (#1061)
dependabot[bot] Nov 25, 2024
7c0b58d
📝 Update release notes
invalid-email-address Nov 25, 2024
5fe79c2
⬆ Bump ruff from 0.7.4 to 0.8.0 (#1059)
dependabot[bot] Nov 25, 2024
740610f
📝 Update release notes
invalid-email-address Nov 25, 2024
be45e58
⬆ Bump mkdocs-material from 9.5.44 to 9.5.46 (#1062)
dependabot[bot] Nov 26, 2024
62525f2
📝 Update release notes
invalid-email-address Nov 26, 2024
8af0b48
⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#1043)
dependabot[bot] Nov 28, 2024
45cbfcd
📝 Update release notes
invalid-email-address Nov 28, 2024
2d1a598
🔥 Remove auto naming of groups added via `add_typer` based on the gro…
patrick91 Nov 28, 2024
35bad6a
📝 Update release notes
invalid-email-address Nov 28, 2024
7015323
📝 Update release notes
tiangolo Nov 28, 2024
f5c0b8a
🔖 Release version 0.14.0
tiangolo Nov 28, 2024
2557962
⬆ Bump ruff from 0.8.0 to 0.8.1 (#1066)
dependabot[bot] Nov 29, 2024
88fcf83
📝 Update release notes
invalid-email-address Nov 29, 2024
1a07076
⬆ Bump mkdocs-material from 9.5.46 to 9.5.47 (#1070)
dependabot[bot] Dec 2, 2024
3af0a84
📝 Update release notes
invalid-email-address Dec 2, 2024
2681205
✨ Add support for extending typer apps without passing a name, add co…
patrick91 Dec 3, 2024
6461452
📝 Update release notes
invalid-email-address Dec 3, 2024
f111f3e
📝 Update release notes
tiangolo Dec 3, 2024
ccbd35d
🔖 Release version 0.15.0
tiangolo Dec 3, 2024
9ece54d
⬆ Update httpx requirement from <0.28.0,>=0.27.0 to >=0.27.0,<0.29.0 …
dependabot[bot] Dec 4, 2024
3552e6f
📝 Update release notes
invalid-email-address Dec 4, 2024
9c681e0
⬆ [pre-commit.ci] pre-commit autoupdate (#1071)
pre-commit-ci[bot] Dec 4, 2024
5dd270d
📝 Update release notes
invalid-email-address Dec 4, 2024
47534b7
🔧 Update members (#1078)
tiangolo Dec 4, 2024
27a1c8e
📝 Update release notes
invalid-email-address Dec 4, 2024
b9f2205
🔨 Update deploy docs preview script (#1079)
tiangolo Dec 4, 2024
d18847a
📝 Update release notes
invalid-email-address Dec 4, 2024
e6f11c4
🔧 Update build-docs filter patterns (#1080)
tiangolo Dec 4, 2024
9be60da
📝 Update release notes
invalid-email-address Dec 4, 2024
b826dc4
✏️ Fix a few small typos in the documentation (#1077)
svlandeg Dec 4, 2024
5f378ee
📝 Update release notes
invalid-email-address Dec 4, 2024
d8e56e2
🗑️ Deprecate `shell_complete` and continue to use `autocompletion` fo…
svlandeg Dec 4, 2024
b88c327
📝 Update release notes
invalid-email-address Dec 4, 2024
dbc335b
📝 Fix minor inconsistencies and typos in tutorial (#1067)
tvoirand Dec 4, 2024
95ba85f
📝 Update release notes
invalid-email-address Dec 4, 2024
3b9ce47
✏️ Fix a few typos in the source and documentation (#1028)
kkirsche Dec 4, 2024
bd89bf6
📝 Update release notes
invalid-email-address Dec 4, 2024
0b89650
🔖 Release version 0.15.1
tiangolo Dec 4, 2024
6eba265
🚚 Rename test to corner-cases to make it more explicit (#1083)
tiangolo Dec 4, 2024
679318f
📝 Update release notes
invalid-email-address Dec 4, 2024
08407a0
⬆ Bump mkdocs-material from 9.5.47 to 9.5.48 (#1086)
dependabot[bot] Dec 10, 2024
9f87cba
📝 Update release notes
invalid-email-address Dec 10, 2024
b8ba8db
⬆ Bump ruff from 0.8.1 to 0.8.2 (#1084)
dependabot[bot] Dec 10, 2024
9425c19
⬆ [pre-commit.ci] pre-commit autoupdate (#1087)
pre-commit-ci[bot] Dec 10, 2024
df14bd8
📝 Update release notes
invalid-email-address Dec 10, 2024
c29d583
📝 Update release notes
invalid-email-address Dec 10, 2024
c007368
⬆ Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#1088)
dependabot[bot] Dec 10, 2024
f757204
📝 Update release notes
invalid-email-address Dec 10, 2024
3cdc60f
⬆ Bump mkdocs-material from 9.5.48 to 9.5.49 (#1092)
dependabot[bot] Dec 17, 2024
6d67684
⬆ [pre-commit.ci] pre-commit autoupdate (#1093)
pre-commit-ci[bot] Dec 17, 2024
a8bebd8
📝 Update release notes
invalid-email-address Dec 17, 2024
510d4f0
📝 Update release notes
invalid-email-address Dec 17, 2024
f67f63e
⬆ Bump ruff from 0.8.2 to 0.8.3 (#1090)
dependabot[bot] Dec 17, 2024
0c3ce93
📝 Update release notes
invalid-email-address Dec 17, 2024
2124d64
⬆ Bump markdown-include-variants from 0.0.3 to 0.0.4 (#1100)
dependabot[bot] Dec 23, 2024
69343c6
📝 Update release notes
invalid-email-address Dec 23, 2024
ee0138a
⬆ Bump astral-sh/setup-uv from 4 to 5 (#1098)
dependabot[bot] Dec 23, 2024
e059762
📝 Update release notes
invalid-email-address Dec 23, 2024
774a002
⬆ Bump ruff from 0.8.3 to 0.8.4 (#1097)
dependabot[bot] Dec 24, 2024
8cfef03
📝 Update release notes
invalid-email-address Dec 24, 2024
08d65b7
⬆ [pre-commit.ci] pre-commit autoupdate (#1102) 10000
pre-commit-ci[bot] Dec 24, 2024
24f6ba1
📝 Update release notes
invalid-email-address Dec 24, 2024
6276ece
⬆ Bump pillow from 11.0.0 to 11.1.0 (#1104)
dependabot[bot] Jan 2, 2025
aaa1351
📝 Update release notes
invalid-email-address Jan 2, 2025
eba47e0
⬆ [pre-commit.ci] pre-commit autoupdate (#1109)
pre-commit-ci[bot] Jan 7, 2025
395f754
⬆ Bump ruff from 0.8.4 to 0.8.6 (#1107)
dependabot[bot] Jan 7, 2025
a3b0e5d
📝 Update release notes
invalid-email-address Jan 7, 2025
a8765eb
📝 Update release notes
invalid-email-address Jan 7, 2025
11760ea
💚 Fix test matrix for Python 3.7 (#1116)
svlandeg Jan 8, 2025
f110845
📝 Update release notes
invalid-email-address Jan 8, 2025
5ba00de
⬆ Bump mkdocs-material from 9.5.49 to 9.5.50 (#1129)
dependabot[bot] Jan 20, 2025
c49d366
📝 Update release notes
invalid-email-address Jan 20, 2025
11f9491
⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#1132)
dependabot[bot] Jan 24, 2025
39ae7e7
📝 Update release notes
invalid-email-address Jan 24, 2025
8148867
⬆ Bump ruff from 0.8.6 to 0.9.1 (#1118)
dependabot[bot] Jan 27, 2025
a9e4f79
📝 Update release notes
invalid-email-address Jan 27, 2025
b2c0d3e
⬆ [pre-commit.ci] pre-commit autoupdate (#1130)
pre-commit-ci[bot] Jan 27, 2025
88882a0
📝 Update release notes
invalid-email-address Jan 27, 2025
f014cd2
⬆ Bump ruff from 0.9.1 to 0.9.3 (#1136)
dependabot[bot] Jan 28, 2025
78ff624
⬆ [pre-commit.ci] pre-commit autoupdate (#1135)
pre-commit-ci[bot] Jan 28, 2025
f1f9026
📝 Update release notes
invalid-email-address Jan 28, 2025
fa05687
📝 Update release notes
invalid-email-address Jan 28, 2025
2e20e51
⬆ Bump ruff from 0.9.3 to 0.9.4 (#1139)
dependabot[bot] Jan 31, 2025
33595b1
📝 Update release notes
invalid-email-address Jan 31, 2025
963d4e9
⬆ [pre-commit.ci] pre-commit autoupdate (#1142)
pre-commit-ci[bot] Feb 3, 2025
629963d
📝 Update release notes
invalid-email-address Feb 3, 2025
ad2f84b
⬆ Bump ruff from 0.9.4 to 0.9.5 (#1146)
dependabot[bot] Feb 7, 2025
b8bac79
📝 Update release notes
invalid-email-address Feb 7, 2025
bb13797
⬆ [pre-commit.ci] pre-commit autoupdate (#1151)
pre-commit-ci[bot] Feb 17, 2025
3799153
📝 Update release notes
invalid-email-address Feb 17, 2025
79ad0e5
⬆ Bump ruff from 0.9.5 to 0.9.6 (#1153)
dependabot[bot] Feb 17, 2025
99fe0d8
📝 Update release notes
invalid-email-address Feb 17, 2025
f31da17
⬆ [pre-commit.ci] pre-commit autoupdate (#1162)
pre-commit-ci[bot] Feb 25, 2025
54857a8
⬆ Bump ruff from 0.9.6 to 0.9.7 (#1161)
dependabot[bot] Feb 25, 2025
b86fa8e
📝 Update release notes
invalid-email-address Feb 25, 2025
ece5536
📝 Update release notes
invalid-email-address Feb 25, 2025
09fe616
📝 Clarify the need for `mix_stderr` when accessing the output of `std…
mrchrisadams Feb 27, 2025
8b90ef8
📝 Update release notes
invalid-email-address Feb 27, 2025
563e63e
📝 Update optional CLI argument section in tutorial with `Annotated` (…
gkeuccsr Feb 27, 2025
9e4ef99
📝 Update release notes
invalid-email-address Feb 27, 2025
ab52638
✨ Avoid the unnecessary import of `typing_extensions` in newer Python…
horta Feb 27, 2025
85ca5b5
📝 Update release notes
invalid-email-address Feb 27, 2025
4f04666
🐛 Fix shell completions for the fish shell (#1069)
goraje Feb 27, 2025
cdeb036
📝 Update release notes
invalid-email-address Feb 27, 2025
1332596
🔧 Add support for Python 3.13, tests in CI and add PyPI trove classif…
edgarrmondragon Feb 27, 2025
d3d3e46
📝 Update release notes
invalid-email-address Feb 27, 2025
a169a35
✏️ Fix small typos in the tutorial documentation (#1137)
svlandeg Feb 27, 2025
f12ecec
📝 Update release notes
invalid-email-address Feb 27, 2025
e8096c9
✨ Allow custom styles for commands in help output (#1103)
TheTechromancer Feb 27, 2025
31f5222
📝 Update release notes
invalid-email-address Feb 27, 2025
5474f0b
🔖 Release version 0.15.2
tiangolo Feb 27, 2025
82cde37
✏️ Fix typo in test name (#1165)
svlandeg Feb 28, 2025
4f58a59
📝 Update release notes
invalid-email-address Feb 28, 2025
70db5b2
⬆ Bump ruff from 0.9.7 to 0.9.9 (#1166)
dependabot[bot] Mar 4, 2025
0eac96c
📝 Update release notes
invalid-email-address Mar 4, 2025
fb39d8a
⬆ [pre-commit.ci] pre-commit autoupdate (#1171)
pre-commit-ci[bot] Mar 4, 2025
d2504fb
📝 Update release notes
invalid-email-address Mar 4, 2025
b7ad732
⬆ Bump ruff from 0.9.9 to 0.9.10 (#1175)
dependabot[bot] Mar 13, 2025
f2d80c6
📝 Update release notes
invalid-email-address Mar 13, 2025
7217bf5
⬆ [pre-commit.ci] pre-commit autoupdate (#1176)
pre-commit-ci[bot] Mar 13, 2025
b1d57ee
📝 Update release notes
invalid-email-address Mar 13, 2025
9213f35
⬆ [pre-commit.ci] pre-commit autoupdate (#1181)
pre-commit-ci[bot] Mar 18, 2025
1962d2e
⬆ Bump ruff from 0.9.10 to 0.11.0 (#1180)
dependabot[bot] Mar 18, 2025
0b4532a
📝 Update release notes
invalid-email-address Mar 18, 2025
202f55a
📝 Update release notes
invalid-email-address Mar 18, 2025
bd062bc
🐛 Fix newline after header in help text, and add more tests for the b…
svlandeg Mar 20, 2025
5a8a043
📝 Update release notes
invalid-email-address Mar 20, 2025
d6780df
⬆ Bump ruff from 0.11.0 to 0.11.1 (#1185)
dependabot[bot] Mar 21, 2025
5959673
📝 Update release notes
invalid-email-address Mar 21, 2025
2b83198
⬆ [pre-commit.ci] pre-commit autoupdate (#1187)
pre-commit-ci[bot] Mar 25, 2025
38ed1d5
⬆ Bump ruff from 0.11.1 to 0.11.2 (#1186)
dependabot[bot] Mar 25, 2025
ba4070f
📝 Update release notes
invalid-email-address Mar 25, 2025
3c9f2c0
📝 Update release notes
invalid-email-address Mar 25, 2025
322bc8d
🐛 Ensure that autocompletion works for `Path` arguments/options (#1138)
svlandeg Mar 26, 2025
46f4a0f
📝 Update release notes
invalid-email-address Mar 26, 2025
13e4b39
⬆ [pre-commit.ci] pre-commit autoupdate (#1196)
pre-commit-ci[bot] Apr 22, 2025
ef8345c
⬆ Bump ruff from 0.11.2 to 0.11.6 (#1200)
dependabot[bot] Apr 22, 2025
b0014d6
📝 Update release notes
invalid-email-address Apr 22, 2025
34c2173
📝 Update release notes
invalid-email-address Apr 22, 2025
a776163
⬆ Bump astral-sh/setup-uv from 5 to 6 (#1203)
dependabot[bot] Apr 28, 2025
8e9a540
📝 Update release notes
invalid-email-address Apr 28, 2025
38d1873
🔖 Release version 0.15.3
tiangolo Apr 28, 2025
589c045
📌 Pin Click to < 8.2, compatibility for Click >= 8.2 will be added in…
tiangolo May 14, 2025
e46db8f
📝 Update release notes
invalid-email-address May 14, 2025
38cbb1f
🔖 Release version 0.15.4
tiangolo May 14, 2025
17aaacc
🔧 Remove Google Analytics (#1229)
tiangolo May 22, 2025
ca2559a
📝 Update release notes
invalid-email-address May 22, 2025
4fe4822
✅ Refactor tests for compatibility with Click 8.2 (#1230)
tiangolo May 22, 2025
3ce5032
📝 Update release notes
invalid-email-address May 22, 2025
74e0923
⬆️ Add compatibility with Click 8.2 (#1222)
tiangolo May 26, 2025
40747a1
📝 Update release notes
invalid-email-address May 26, 2025
32c74b9
📝 Update release notes
tiangolo May 26, 2025
9138340
🔖 Release version 0.16.0
tiangolo May 26, 2025
fe9270b
⬆ Bump ruff from 0.11.6 to 0.11.13 (#1241)
dependabot[bot] Jun 11, 2025
f46490c
📝 Update release notes
invalid-email-address Jun 11, 2025
f5885f3
⬆ Bump cairosvg from 2.7.1 to 2.8.2 (#1226)
dependabot[bot] Jun 11, 2025
09b6cb0
📝 Update release notes
invalid-email-address Jun 11, 2025
14ea11b
⬆ Bump pillow from 11.1.0 to 11.2.1 (#1198)
dependabot[bot] Jun 11, 2025
3c453c7
📝 Update release notes
invalid-email-address Jun 11, 2025
e531a85
📝 Fix reference to `count` parameter in the documentation (#1201)
PokkaKiyo Jun 17, 2025
ed45bc9
📝 Update release notes
invalid-email-address Jun 17, 2025
364272b
⬆ [pre-commit.ci] pre-commit autoupdate (#1206)
pre-commit-ci[bot] Jun 23, 2025
3b17788
📝 Update release notes
invalid-email-address Jun 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
📝 Update release notes
  • Loading branch information
tiangolo committed Nov 28, 2024
commit 70153235a891ab49cc3e6611dce89fa98ec7c64b
52 changes: 52 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,58 @@

* 🔥 Remove auto naming of groups added via `add_typer` based on the group's callback function name. PR [#1052](https://github.com/fastapi/typer/pull/1052) by [@patrick91](https://github.com/patrick91).

Before, it was supported to infer the name of a command group from the callback function name in the sub-app, so, in this code:

```python
import typer

app = typer.Typer()
users_app = typer.Typer()

app.add_typer(users_app)


@users_app.callback()
def users(): # <-- This was the inferred command group name
"""
Manage users in the app.
"""


@users_app.command()
def create(name: str):
print(f"Creating user: {name}")
```

...the command group would be named `users`, based on the name of the function `def users()`.

Now you need to set it explicitly:

```python
import typer

app = typer.Typer()
users_app = typer.Typer()

app.add_typer(users_app, name="users") # <-- Explicitly set the command group name


@users_app.callback()
def users():
"""
Manage users in the app.
"""


@users_app.command()
def create(name: str):
print(f"Creating user: {name}")
```

Updated docs [SubCommand Name and Help](https://typer.tiangolo.com/tutorial/subcommands/name-and-help/).

**Note**: this change will enable important features in the next release. 🤩

### Internal

* ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2. PR [#1043](https://github.com/fastapi/typer/pull/1043) by [@dependabot[bot]](https://github.com/apps/dependabot).
Expand Down
0