Releases: fastapi/typer
Releases · fastapi/typer
0.24.1
Internal
- 👷 Fix CI, do not attempt to build
typer-slim, nortyper-cli. PR #1569 by @tiangolo. - ➖ Drop support for
typer-slimandtyper-cli, no more versions will be released, use onlytyper. PR #1568 by @tiangolo. - ⬆ Bump rich from 14.3.2 to 14.3.3. PR #1565 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.13.0 to 2.13.1. PR #1566 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.1 to 0.15.2. PR #1567 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.1 to 9.7.2. PR #1561 by @dependabot[bot].
- ⬆ Bump pillow from 11.3.0 to 12.1.1. PR #1550 by @dependabot[bot].
- ⬆ Bump pytest from 8.4.2 to 9.0.2. PR #1551 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.12.0 to 2.13.0. PR #1552 by @dependabot[bot].
- 🎨 Upgrade types for Python 3.10. PR #1549 by @tiangolo.
- 🔨 Add internal scripts to migrate docs from Python 3.9 to 3.10. PR #1547 by @tiangolo.
- ⬆ Bump ty from 0.0.16 to 0.0.17. PR #1544 by @dependabot[bot].
0.24.0
0.23.1
0.23.0
0.22.0
0.21.2
Fixes
- 🐛 Fix highlighting of optional variadic argument metavars. PR #1508 by @BenjyWiener.
- 🐛 Fix
--helptext alignment when usingtyper.style()in option descriptions. PR #1356 by @mahimairaja.
Refactors
Upgrades
Docs
- 📝 Add reference (code API) docs. PR #1504 by @svlandeg.
- 📝 Update the "Building a Package" tutorial to use
uvinstead ofpoetry. PR #1474 by @svlandeg. - 📝 Update
management-tasks.mdto be in line withmanagement-tasks.mdin FastAPI repo. PR #1519 by @YuriiMotov. - 📝 Add link to Typer developer survey. PR #1514 by @tiangolo.
- 📝 Add contribution instructions about LLM generated code and comments and automated tools for PRs. PR #1489 by @alejsdev.
- 🐛 Fix copy button in
custom.js. PR #1488 by @alejsdev.
Internal
- 🔧 Update config for labeler. PR #1530 by @tiangolo.
- 🔧 Remove no longer used requirements.txt file. PR #1528 by @tiangolo.
- 📌 Update internal dependency limits. PR #1529 by @tiangolo.
- 🔧 Add ty to pre-commit. PR #1527 by @tiangolo.
- 👷 Add
tyto the CIlintcheck. PR #1477 by @svlandeg. - ⬆ Bump prek from 0.3.1 to 0.3.2. PR #1524 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.14 to 0.15.0. PR #1516 by @dependabot[bot].
- 🔧 Add generate-readme to pre-commit. PR #1515 by @tiangolo.
- 👷 Run mypy in pre-commit instead of
Lintstep intest.ymlworkflow. PR #1511 by @YuriiMotov. - ⬆ Bump prek from 0.3.0 to 0.3.1. PR #1510 by @dependabot[bot].
- ⬆ Bump rich from 14.3.1 to 14.3.2. PR #1509 by @dependabot[bot].
- ✅ Update test to use
modfixture. PR #1506 by @svlandeg. - ⬆ Bump rich from 14.2.0 to 14.3.1. PR #1502 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.13 to 0.14.14. PR #1499 by @dependabot[bot].
- 🔧 Ensure that an edit to
uv.lockgets theinternallabel. PR #1497 by @svlandeg. - ⬆ Bump ruff from 0.14.10 to 0.14.13. PR #1493 by @dependabot[bot].
- ⬆ Bump urllib3 from 2.6.2 to 2.6.3. PR #1496 by @dependabot[bot].
- ⬆ Bump prek from 0.2.24 to 0.3.0. PR #1495 by @dependabot[bot].
0.21.1
Fixes
Internal
- ⬆️ Migrate to uv. PR #1472 by @DoctorJohn.
- ⬆ Bump mypy from 1.18.2 to 1.19.1. PR #1469 by @dependabot[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #1456 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 6 to 7. PR #1444 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.8 to 0.14.10. PR #1449 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.0 to 9.7.1. PR #1446 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 5 to 6. PR #1443 by @dependabot[bot].
- ⬆ Bump actions/cache from 4 to 5. PR #1441 by @dependabot[bot].
- 👷 Update secrets check. PR #1471 by @YuriiMotov.
- ✅ Add missing tests for code examples. PR #1465 by @YuriiMotov.
- 🔧 Update pre-commit to use local Ruff instead of hook, unpin
prek. PR #1466 by @YuriiMotov. - ⬆ Bump mypy from 1.14.1 to 1.18.2. PR #1382 by @dependabot[bot].
0.21.0
Breaking Changes
- ➖ Drop support for Python 3.8. PR #1464 by @tiangolo.
- ➖ Drop support for Python 3.8 in CI. PR #1463 by @YuriiMotov and @tiangolo.
Docs
- 📝 Update code examples to Python 3.9. PR #1459 by @YuriiMotov.
Internal
- 💚 Move
ruffdependency to sharedrequirements-docs-tests.txtto fix "Build docs" workflow in CI. PR #1458 by @YuriiMotov. - ⬆ Bump markdown-include-variants from 0.0.5 to 0.0.8. PR #1442 by @dependabot[bot].
- 👷 Add pre-commit workflow. PR #1453 by @tiangolo.
- 👷 Configure coverage, error on main tests, don't wait for Smokeshow. PR #1448 by @YuriiMotov.
- 👷 Run Smokeshow always, even on test failures. PR #1447 by @YuriiMotov.
- 🔨 Add Typer script to generate example variants for Python files. PR #1452 by @tiangolo.
0.20.1
Features
- ✨ Add support for standard tracebacks via the env
TYPER_STANDARD_TRACEBACK. PR #1299 by @colin-nolan.
Fixes
- 🐛 Ensure that
options_metavaris passed through correctly. PR #816 by @gar1t. - 🐛 Ensure an optional argument is shown in brackets, even when
metavaris set. PR #1409 by @svlandeg. - 🐛 Ensure that the default
rich_markup_modeis interpreted correctly. PR #1304 by @svlandeg.
Refactors
- ♻️ Refactor the handling of
shellingham. PR #1347 by @nathanjmcdougall.
Docs
- 📝 Ensure that bold letters are rendered correctly in
printing.md. PR #1365 by @svlandeg. - 🩺 Update test badge to only reflect pushes to
master. PR #1414 by @svlandeg. - 📝 Update console output on the Rich help formatting page. PR #1430 by @svlandeg.
- 📝 Update emoji used in Rich help formatting tutorial. PR #1429 by @svlandeg.
- 📝 Remove duplicate explanation how the path is resolved. PR #956 by @dennis-rall.
- 📝 Update docs to use
Typer()more prominently. PR #1418 by @svlandeg. - 💄 Use font 'Fira Code' to fix display of Rich panels in docs in Windows. PR #1419 by @tiangolo.
Internal
- 🔨 Add
--showlocalstotest.sh. PR #1169 by @rickwporter. - ⬆ Bump ruff from 0.14.6 to 0.14.8. PR #1436 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1434 by @pre-commit-ci[bot].
- ✅ Update tests to use
mod.app. PR #1427 by @svlandeg. - ⬆ Bump actions/checkout from 5 to 6. PR #1426 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1425 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.5 to 0.14.6. PR #1423 by @dependabot[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #1417 by @dependabot[bot].
- 👷 Upgrade
latest-changesGitHub Action and pinactions/checkout@v5. PR #1424 by @tiangolo. - 🔧 Upgrade Material for MkDocs and remove insiders. PR #1416 by @tiangolo.
- ⬆ Bump mkdocs-material from 9.6.23 to 9.7.0. PR #1404 by @dependabot[bot].
- ⬆ Bump mkdocs-macros-plugin from 1.4.1 to 1.5.0. PR #1406 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.4 to 0.14.5. PR #1407 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1413 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.3 to 0.14.4. PR #1402 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1403 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.2 to 0.14.3. PR #1396 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1399 by @pre-commit-ci[bot].
- ⬆ Bump mkdocs-material from 9.6.22 to 9.6.23. PR #1398 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1394 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.1 to 0.14.2. PR #1383 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 4 to 5. PR #1388 by @dependabot[bot].
- ⬆ Bump mkdocs-macros-plugin from 1.4.0 to 1.4.1. PR #1389 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 5 to 6. PR #1391 by @dependabot[bot].
- 🔧 Add PEP-639 license metadata. PR #1387 by @svlandeg.
- ⬆ Bump mypy from 1.11.2 to 1.14.1. PR #1375 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1380 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.0 to 0.14.1. PR #1379 by @dependabot[bot].
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
waitinglabel 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.