Releases: fastapi/typer
Releases · fastapi/typer
0.20.0
Features
- ✨ Enable command suggestions on typo by default. PR #1371 by @savannahostrowski.
Upgrades
Internal
- 👷 Add nightly workflow to run tests against CPython main branch. PR #1374 by @savannahostrowski.
- ⬆ Bump mkdocs-material from 9.6.21 to 9.6.22. PR #1377 by @dependabot[bot].
- 🔧 Configure reminder for
waiting
label inissue-manager
. PR #1378 by @YuriiMotov. - ⬆ Bump ruff from 0.13.3 to 0.14.0. PR #1368 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1376 by @pre-commit-ci[bot].
- ⬆ Bump mkdocs-macros-plugin from 1.3.9 to 1.4.0. PR #1354 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.6.20 to 9.6.21. PR #1360 by @dependabot[bot].
- ⬆ Bump mypy from 1.4.1 to 1.11.2. PR #957 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 6 to 7. PR #1369 by @dependabot[bot].
- ⬆ Bump ruff from 0.13.2 to 0.13.3. PR #1366 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1367 by @pre-commit-ci[bot].
- ⬆ Bump tiangolo/issue-manager from 0.5.1 to 0.6.0. PR #1361 by @dependabot[bot].
- ⬆ Bump ruff from 0.13.1 to 0.13.2. PR #1357 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1358 by @pre-commit-ci[bot].
- 👷 Update docs previews comment, single comment, add failure status. PR #1359 by @tiangolo.
0.19.2
Fixes
Refactors
Internal
- ⬆ Bump ruff from 0.13.0 to 0.13.1. PR #1339 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1351 by @pre-commit-ci[bot].
- ⬆ Bump markdown-include-variants from 0.0.4 to 0.0.5. PR #1348 by @dependabot[bot].
0.19.1
Note: this is the last version to support Python 3.7, going forward Typer will require Python 3.8+. And soon Python 3.8 will also be dropped as Python 3.8 reached it's end of life almost a year ago.
Fixes
- 🐛 Ensure that
Optional[list]
values work correctly with callbacks. PR #1018 by @solesensei.
0.19.0
Features
- ✨ Support
typing.Literal
to define a set of predefined choices. PR #429 by @blackary. - ✨ Allow setting an environment variable to
None
inCliRunner.invoke
. PR #1303 by @arjenzorgdoc.
Refactors
- ✅ Use Ruff rules to ensure safe lazy-loading of
rich
. PR #1297 by @nathanjmcdougall. - ✅ Avoid rich formatting in number test. PR #1305 by @svlandeg.
Docs
- 📝 Clarify single-command vs multi-command behaviour in README. PR #1268 by @MorgenPronk.
0.18.0
0.17.5
Fixes
Internal
- ⬆ Bump mkdocs-material from 9.6.14 to 9.6.20. PR #1308 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.5.50 to 9.6.14. PR #1223 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 4 to 5. PR #1269 by @dependabot[bot].
- ⬆ Bump ruff from 0.12.12 to 0.13.0. PR #1302 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1307 by @pre-commit-ci[bot].
- ⬆ Update pytest-cov requirement from <7.0.0,>=2.10.0 to >=2.10.0,<8.0.0. PR #1301 by @dependabot[bot].
- ⬆ Bump actions/setup-python from 5 to 6. PR #1291 by @dependabot[bot].
- ⬆ Bump ruff from 0.12.11 to 0.12.12. PR #1295 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1300 by @pre-commit-ci[bot].
- ⬆ Bump actions/labeler from 5 to 6. PR #1296 by @dependabot[bot].
0.17.4
Fixes
- 🐛 Make sure
rich.markup
is imported when rendering help text. PR #1290 by @g-arjones.
Internal
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0. PR #1292 by @dependabot[bot].
- ⬆ Bump ruff from 0.12.10 to 0.12.11. PR #1283 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1288 by @pre-commit-ci[bot].
- 👷 Set permissions for conflict detector workflow. PR #1287 by @svlandeg.
- 👷 Detect and label merge conflicts on PRs automatically. PR #1286 by @svlandeg.