github fastapi/typer 0.29.0

one hour ago

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 have changed.

Fixes

  • 🐛 Escape terminal controls in Pydantic validation errors. PR #2005 by @tiangolo.

Docs

  • 📝 Explain Pydantic validation in the release notes. PR #2006 by @tiangolo.
  • 🎨 Use the Zensical modern theme for docs. PR #2004 by @tiangolo.
  • 📝 Add AI development guidance and coding agent notices. PR #2003 by @tiangolo.

Don't miss a new typer release

NewReleases is sending notifications on new releases.