FastAPI 0.95.0 supports and recommends Annotated! 🚀
Probably the biggest feature in months 🎉
Many benefits, re-use your functions in other places (soon you'll be able to use Typer with FastAPI in the same functions), reduce code duplication for dependencies in big apps 😎
Annotated is standard Python, so you keep autocompletion and inline errors in your editor, type checkers like mypy, etc. while still getting the benefits of FastAPI.
@FastAPI Hey @tiangolo, what would it take to move FastAPI version 1.0.0 ? It seems long overdue and the core has been stable for a while.
Why it matters? Because plenty of packages want to be the next FastAPI and versioning is all around (ekhem ruff 0.0.255 yet used by big guys)