Skip to content

Releases: fastapi/typer

0.24.1

21 Feb 16:54

Choose a tag to compare

Internal

0.24.0

16 Feb 22:08

Choose a tag to compare

Breaking Changes

0.23.1

13 Feb 10:04

Choose a tag to compare

Fixes

  • 🐛 Fix TYPER_USE_RICH parsing to allow disabling Rich completely. PR #1539 by @bckohan.

Docs

  • 📝 Remove documentation pages that reference using Click directly. PR #1538 by @svlandeg.

Internal

0.23.0

11 Feb 15:22

Choose a tag to compare

Breaking Changes

  • ♻️ When printing error tracebacks with Rich, default to not showing locals, which are sometimes verbose. PR #1072 by @tiangolo.

Docs

  • 📝 Add more explicit deprecation note in shell packages. PR #1534 by @tiangolo.

Internal

  • ⬆ Bump cryptography from 46.0.4 to 46.0.5. PR #1532 by @dependabot[bot].
  • 🔨 Tweak PDM hook script, remove unnecessary default. PR #1536 by @tiangolo.
  • ♻️ Simplify build setup scripts and configs for deprecated wrapper packages. PR #1535 by @tiangolo.

0.22.0

11 Feb 11:00

Choose a tag to compare

Breaking Changes

  • 💥 Make typer-slim a shallow wrapper around typer, always requiring rich and shellingham. PR #1522 by @svlandeg.

0.21.2

10 Feb 19:33

Choose a tag to compare

Fixes

  • 🐛 Fix highlighting of optional variadic argument metavars. PR #1508 by @BenjyWiener.
  • 🐛 Fix --help text alignment when using typer.style() in option descriptions. PR #1356 by @mahimairaja.

Refactors

  • 🎨 Update types and errors, comment ty for now. PR #1531 by @tiangolo.

Upgrades

  • ➖ Drop typing-extensions as external dependency. PR #1467 by @svlandeg.

Docs

  • 📝 Add reference (code API) docs. PR #1504 by @svlandeg.
  • 📝 Update the "Building a Package" tutorial to use uv instead of poetry. PR #1474 by @svlandeg.
  • 📝 Update management-tasks.md to be in line with management-tasks.md in 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

0.21.1

06 Jan 11:20

Choose a tag to compare

Fixes

  • 🐛 Fix escaping in help text when rich is installed but not used. PR #1089 by @svlandeg.

Internal

0.21.0

25 Dec 09:54

Choose a tag to compare

Breaking Changes

Docs

Internal

  • 💚 Move ruff dependency to shared requirements-docs-tests.txt to 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

19 Dec 16:48

Choose a tag to compare

Features

  • ✨ Add support for standard tracebacks via the env TYPER_STANDARD_TRACEBACK. PR #1299 by @colin-nolan.

Fixes

  • 🐛 Ensure that options_metavar is passed through correctly. PR #816 by @gar1t.
  • 🐛 Ensure an optional argument is shown in brackets, even when metavar is set. PR #1409 by @svlandeg.
  • 🐛 Ensure that the default rich_markup_mode is interpreted correctly. PR #1304 by @svlandeg.

Refactors

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

0.20.0

20 Oct 17:03

Choose a tag to compare

Features

Upgrades

Internal