chore(deps): update dependency typer to v0.15.2
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| typer (changelog) | minor | ==0.13.1 -> ==0.15.2 |
Release Notes
fastapi/typer (typer)
v0.15.2
Features
- ✨ Allow custom styles for commands in help output. PR #1103 by @TheTechromancer.
- ✨ Avoid the unnecessary import of
typing_extensionsin newer Python versions. PR #1048 by @horta.
Fixes
Refactors
- 🚚 Rename test to corner-cases to make it more explicit. PR #1083 by @tiangolo.
Docs
- ✏️ Fix small typos in the tutorial documentation. PR #1137 by @svlandeg.
- 📝 Update optional CLI argument section in tutorial with
Annotated. PR #983 by @gkeuccsr. - 📝 Clarify the need for
mix_stderrwhen accessing the output ofstderrin tests. PR #1045 by @mrchrisadams.
Internal
- 🔧 Add support for Python 3.13, tests in CI and add PyPI trove classifier. PR #1091 by @edgarrmondragon.
- ⬆ Bump ruff from 0.9.6 to 0.9.7. PR #1161 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1162 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.9.5 to 0.9.6. PR #1153 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1151 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.9.4 to 0.9.5. PR #1146 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1142 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.9.3 to 0.9.4. PR #1139 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1135 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.9.1 to 0.9.3. PR #1136 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1130 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.8.6 to 0.9.1. PR #1118 by @dependabot[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4. PR #1132 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.5.49 to 9.5.50. PR #1129 by @dependabot[bot].
- 💚 Fix test matrix for Python 3.7. PR #1116 by @svlandeg.
- ⬆ Bump ruff from 0.8.4 to 0.8.6. PR #1107 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1109 by @pre-commit-ci[bot].
- ⬆ Bump pillow from 11.0.0 to 11.1.0. PR #1104 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1102 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.8.3 to 0.8.4. PR #1097 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 4 to 5. PR #1098 by @dependabot[bot].
- ⬆ Bump markdown-include-variants from 0.0.3 to 0.0.4. PR #1100 by @dependabot[bot].
- ⬆ Bump ruff from 0.8.2 to 0.8.3. PR #1090 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1093 by @pre-commit-ci[bot].
- ⬆ Bump mkdocs-material from 9.5.48 to 9.5.49. PR #1092 by @dependabot[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3. PR #1088 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1087 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.8.1 to 0.8.2. PR #1084 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.5.47 to 9.5.48. PR #1086 by @dependabot[bot].
v0.15.1
Features
- 🗑️ Deprecate
shell_completeand continue to useautocompletionfor CLI parameters. PR #974 by @svlandeg.
Docs
- ✏️ Fix a few typos in the source and documentation. PR #1028 by @kkirsche.
- 📝 Fix minor inconsistencies and typos in tutorial. PR #1067 by @tvoirand.
- ✏️ Fix a few small typos in the documentation. PR #1077 by @svlandeg.
Internal
- 🔧 Update build-docs filter patterns. PR #1080 by @tiangolo.
- 🔨 Update deploy docs preview script. PR #1079 by @tiangolo.
- 🔧 Update members. PR #1078 by @tiangolo.
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1071 by @pre-commit-ci[bot].
- ⬆ Update httpx requirement from <0.28.0,>=0.27.0 to >=0.27.0,<0.29.0. PR #1065 by @dependabot[bot].
v0.15.0
Features
- ✨ Add support for extending typer apps without passing a name, add commands to the top level. PR #1037 by @patrick91.
- New docs: One File Per Command.
Internal
- ⬆ Bump mkdocs-material from 9.5.46 to 9.5.47. PR #1070 by @dependabot[bot].
- ⬆ Bump ruff from 0.8.0 to 0.8.1. PR #1066 by @dependabot[bot].
v0.14.0
Breaking Changes
- 🔥 Remove auto naming of groups added via
add_typerbased on the group's callback function name. PR #1052 by @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:
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:
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.
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 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.5.44 to 9.5.46. PR #1062 by @dependabot[bot].
- ⬆ Bump ruff from 0.7.4 to 0.8.0. PR #1059 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 3 to 4. PR #1061 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1053 by @pre-commit-ci[bot].
Configuration
📅 Schedule: Branch creation - "every weekday" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.