Skip to content

Releases: fastapi/typer

0.25.0

26 Apr 08:46

Choose a tag to compare

Features

  • 🚸 Don't truncate code lines in traceback when formatted with Rich. PR #1695 by @YuriiMotov.

0.24.2

22 Apr 17:45

Choose a tag to compare

Fixes

  • 🐛 Ensure that typer.launch forwards correctly when launching a file. PR #1708 by @svlandeg.

Refactors

Docs

Internal

Read more

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.2

16 Feb 18:51

Choose a tag to compare

Features

  • ✅ Monkeypatch console width to allow running pytest directly. PR #1542 by @SwaatiR.

Internal

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