New
0.128.1
Features
- ✨ Add
viewportmeta tag to improve Swagger UI on mobile devices. PR #14777 by @Joab0. - 🚸 Improve error message for invalid query parameter type annotations. PR #14479 by @retwish.
Fixes
- 🐛 Update
ValidationErrorschema to includeinputandctx. PR #14791 by @jonathan-fulton. - 🐛 Fix TYPE_CHECKING annotations for Python 3.14 (PEP 649). PR #14789 by @mgu.
- 🐛 Strip whitespaces from
Authorizationheader credentials. PR #14786 by @WaveTheory1. - 🐛 Fix OpenAPI duplication of
anyOfrefs for app-level responses with specifiedcontentandmodelasUnion. PR #14463 by @DJMcoder.
Refactors
- 🎨 Tweak types for mypy. PR #14816 by @tiangolo.
- 🏷️ Re-export
IncExtype from Pydantic instead of duplicating it. PR #14641 by @mvanderlee. - 💡 Update comment for Pydantic internals. PR #14814 by @tiangolo.
Docs
- 📝 Update docs for contributing translations, simplify title. PR #14817 by @tiangolo.
- 📝 Fix typing issue in
docs_src/app_testing/app_bcode example. PR #14573 by @timakaa. - 📝 Fix example of license identifier in documentation. PR #14492 by @johnson-earls.
- 📝 Add banner to translated pages. PR #14809 by @YuriiMotov.
- 📝 Add links to related sections of docs to docstrings. PR #14776 by @YuriiMotov.
Translations
- 🌐 Improve LLM prompt of
ukdocumentation. PR #14795 by @roli2py. - 🌐 Update translations for ja (update-outdated). PR #14588 by @tiangolo.
- 🌐 Update translations for uk (update outdated, found by fixer tool). PR #14739 by @YuriiMotov.
- 🌐 Update translations for tr (update-outdated). PR #14745 by @tiangolo.
- 🌐 Update
llm-prompt.mdfor Korean language. PR #14763 by @seuthootDev.
Internal
- ⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes. PR #14823 by @tiangolo.
- 🐛 Fix translation script commit in place. PR #14818 by @tiangolo.
- 🔨 Update translation script to retry if LLM-response doesn't pass validation with Translation Fixer tool. PR #14749 by @YuriiMotov.
- 👷 Run tests only on relevant code changes (not on docs). PR #14813 by @tiangolo.
- 👷 Run mypy by pre-commit. PR #14806 by @YuriiMotov.