Repository navigation
Releases
Releases · fastapi/typer
0.29.2
Typer includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with
uvx library-skillsin your project. See Develop with AI.
Internal
0.29.1
Typer includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with
uvx library-skillsin your project. See Develop with AI.
Upgrades
Docs
- 📝 Clarify compatibility changes in the 0.29.0 release notes. PR #2014 by @tiangolo.
- 📝 Adopt unversioned documentation snippets. PR #2010 by @tiangolo.
Internal
0.29.0
Features
-
✨ Use Pydantic for parameter validation. PR #1831 by @svlandeg.
Typer now uses Pydantic internally to validate command-line parameters. This is a gradual migration focused on preserving compatibility with existing Typer applications. Some validation error messages, help text, and usage output have changed.
Compatibility changes:
- Pydantic
>=2.5.3is now a required dependency. click_typehas been removed fromtyper.Option()andtyper.Argument(). New ways to provide custom types will be provided with Pydantic, with much more flexibility.- Some defaults are now validated more strictly. The previous tuple example's
(None, None, None)default now fails validation. Usetuple[str, int, bool] | Nonewith a default ofNoneand check forNonebefore unpacking, as shown in the updated tuple example. This also makes the code more correct, so you could consider this a bug fix, but if you depended on this behavior, there's a change needed in your code. - Default datetime parsing now follows Pydantic's rules, accepting Unix timestamps, timezone offsets, and fractional seconds.
- Callback parameter objects no longer expose Click's
.type,.make_metavar(),.human_readable_name, or.type_cast_value(). Custom integrations using these need updating.
- Pydantic
Fixes
Docs
0.28.0
Fixes
Docs
Internal
- ⬆ Bump certifi from 2025.11.12 to 2026.10.18. PR #1990 by @dependabot[bot].
- ⬆ Bump the python-packages group with 6 updates. PR #1994 by @dependabot[bot].
- ⬆ Bump the github-actions group with 6 updates. PR #1993 by @dependabot[bot].
- ⬆ Bump pre-commit hooks. PR #1995 by @pr-submit[bot].
0.27.3
Fixes
Internal
- ⬆ Bump pyjwt from 2.13.0 to 2.15.0. PR #1969 by @dependabot[bot].
- ⬆ Bump urllib3 from 2.7.0 to 2.8.0. PR #1968 by @dependabot[bot].
- ⬆ Bump pymdown-extensions from 11.0 to 11.0.1. PR #1924 by @dependabot[bot].
- ⬆ Bump the python-packages group across 1 directory with 7 updates. PR #1966 by @dependabot[bot].
- ⬆ Bump cryptography from 48.0.1 to 50.0.2. PR #1920 by @dependabot[bot].
- ⬆ Bump pre-commit hooks. PR #1967 by @pr-submit[bot].
- ⬆ Bump the github-actions group with 3 updates. PR #1965 by @dependabot[bot].
- ⬆ Bump anyio from 4.12.0 to 4.14.2. PR #1959 by @dependabot[bot].
- ✅ Fix flaky
app_dirandlaunchtutorial tests underxdist. PR #1951 by @YuriiMotov. - ⬆ Bump the python-packages group across 1 directory with 8 updates. PR #1948 by @dependabot[bot].
- ⬆ Bump annotated-doc from 0.0.4 to 0.0.5. PR #1949 by @dependabot[bot].
- ⬆ Bump pre-commit hooks. PR #1950 by @pr-submit[bot].
- ⬆ Bump the github-actions group with 4 updates. PR #1947 by @dependabot[bot].
0.27.2
Refactors
Docs
Internal
- ⬆️ Bump setup-uv action to 10.0.1. PR #1940 by @YuriiMotov.
- 👷 Migrate automatic labels to Latest Changes. PR #1931 by @tiangolo.
- 👷 Remove legacy label check. PR #1930 by @tiangolo.
- 🔐 Use PR Submit for pull requests. PR #1928 by @tiangolo.
- 👷 Use GitHub CLI for Git authentication. PR #1927 by @tiangolo.
- 👷 Use PR Push commit identity. PR #1926 by @tiangolo.
- 🔒 Replace pre-commit PAT with PR Push. PR #1923 by @tiangolo.
- 👷 Remove Zensical docs cache. PR #1922 by @tiangolo.
- 🔥 Remove the old Latest Changes workflow. PR #1921 by @tiangolo.
- ⬆ Bump the python-packages group with 6 updates. PR #1917 by @dependabot[bot].
- ⬆ Bump pymdown-extensions from 10.21.3 to 11.0. PR #1910 by @dependabot[bot].
- ⬆ Bump the github-actions group with 5 updates. PR #1916 by @dependabot[bot].
0.27.1
0.27.0
Breaking Changes
Internal
- ⬆ Bump the python-packages group across 1 directory with 5 updates. PR #1896 by @dependabot[bot].
- ⬆️ Bump ty to 0.0.53. PR #1877 by @YuriiMotov.
- ⬆ Bump the github-actions group across 1 directory with 4 updates. PR #1897 by @dependabot[bot].
- 🔧 Set Dependabot schedule interval to "monthly". PR #1873 by @YuriiMotov.
- ⬆ Bump pre-commit hooks. PR #1895 by @tiangolo.
- 👷 Add GH workflow to bump pre-commit hook versions. PR #1872 by @YuriiMotov.
- 👷 Fix latest-changes checkout target. PR #1883 by @tiangolo.
- ⬆️ Update issue-manager to 0.8.1. PR #1880 by @tiangolo.
- ⬆ Bump the github-actions group across 1 directory with 8 updates. PR #1874 by @dependabot[bot].
- ⬆ Bump the python-packages group across 1 directory with 5 updates. PR #1876 by @dependabot[bot].
- ⬆️ Update latest-changes to 0.6.1. PR #1879 by @tiangolo.
- ⬆ Bump https://github.com/crate-ci/typos from v1.46.0 to 1.47.2 in the pre-commit group across 1 directory. PR #1834 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.14.1 to 2.14.2. PR #1849 by @dependabot[bot].
0.26.8
Fixes
- 🐛 Make second column of Rich help output reflect the type consistently, even when using
metavar. PR #1410 by @svlandeg. - 🐛 Fix formatting in
NoSuchOption.format_message(). PR #1843 by @foomunleong.
Docs
- 📝 Update docs badges: remove Publish badge, it doesn't give extra information. PR #1850 by @tiangolo.
- 📝 Fix formatting for help link to support GitHub-specific overview edge-case. PR #1826 by @phalberg.
Internal
- 👷 Simplify pull request workflow triggers. PR #1858 by @tiangolo.
- 👷 Update issue-manager to 0.7.1. PR #1857 by @tiangolo.
- ⬆️ Update issue-manager to 0.7.0. PR #1856 by @tiangolo.
- 🔒️ Update zizmor workflow security checks. PR #1854 by @tiangolo.
- ⬆️ Group Dependabot updates. PR #1853 by @tiangolo.
- ⬆️ Update Dependabot ecosystem coverage. PR #1851 by @tiangolo.
- 👷 Fix alls-green test dependency. PR #1848 by @tiangolo.
- ⬆ Bump cryptography from 46.0.7 to 48.0.1. PR #1841 by @dependabot[bot].
- ⬆ Bump pyjwt from 2.12.0 to 2.13.0. PR #1839 by @dependabot[bot].
- ⬆ Bump the github-actions group across 1 directory with 3 updates. PR #1828 by @dependabot[bot].
- ⬆ Bump the python-packages group with 3 updates. PR #1829 by @dependabot[bot].
0.26.7
Fixes
- 🐛 Respect wait=False when launching URLs with xdg-open. PR #1820 by @patrick91.