Web APIs with Python type hints. 🐍
By @tiangolo.com 🤓
GitHub: https://github.com/fastapi/fastapi
Web: https://fastapi.tiangolo.com/
Make sure you have a recent Python version, ideally 3.14 😎
fastapi.tiangolo.com
Make sure you have a recent Python version, ideally 3.14 😎
fastapi.tiangolo.com
...the plan is to release 0.129.0 today, dropping support for Python 3.9 🪓
github.com/fastapi/fast...
...the plan is to release 0.129.0 today, dropping support for Python 3.9 🪓
github.com/fastapi/fast...
3.13: 142ms → 141ms w/ JIT (~0.7% faster)
3.14: 147ms → 149ms w/ JIT (~1.4% slower)
3.15a5+ (main): 145ms → 134ms w/ JIT (8% faster!!!)
3.13: 142ms → 141ms w/ JIT (~0.7% faster)
3.14: 147ms → 149ms w/ JIT (~1.4% slower)
3.15a5+ (main): 145ms → 134ms w/ JIT (8% faster!!!)
FastAPI 0.128.3, compatible with the latest (and future) Starlette 🚀
github.com/fastapi/fast...
FastAPI 0.128.3, compatible with the latest (and future) Starlette 🚀
github.com/fastapi/fast...
To celebrate: version 0.10.0 🥂
Highlight: alejsdev set it up as a uv workspace, and a bun monorepo, now all works from the top level 🚀
github.com/fastapi/full...
To celebrate: version 0.10.0 🥂
Highlight: alejsdev set it up as a uv workspace, and a bun monorepo, now all works from the top level 🚀
github.com/fastapi/full...
LLMs, carefully guided by the FastAPI team plus native speakers 🤖🙋
Spanish - @tiangolo.com
German - Nils Lindemann
Russian - Yurii Motov
Portuguese - Rafael Marques
fastapi.tiangolo.com/contributing...
LLMs, carefully guided by the FastAPI team plus native speakers 🤖🙋
Spanish - @tiangolo.com
German - Nils Lindemann
Russian - Yurii Motov
Portuguese - Rafael Marques
fastapi.tiangolo.com/contributing...
Now only @pydantic.dev v2 is supported ⬆️
This will unlock many things ✨
fastapi.tiangolo.com
Now only @pydantic.dev v2 is supported ⬆️
This will unlock many things ✨
fastapi.tiangolo.com
It adds a custom deprecation warning to make sure you see any deprecated code and update it 🔊
fastapi.tiangolo.com
It adds a custom deprecation warning to make sure you see any deprecated code and update it 🔊
fastapi.tiangolo.com
Support for pydantic.v1 will be fully dropped next ☕️
You should (and probably are) using @pydantic.dev v2 ✨
Support for pydantic.v1 will be fully dropped next ☕️
You should (and probably are) using @pydantic.dev v2 ✨
The minimum version is now @pydantic.dev >= 2.7.0 ⬆️
Importing from pydantic.v1 is still temporarily supported, but will no longer be supported in a future release in the next few days. 🔥
The minimum version is now @pydantic.dev >= 2.7.0 ⬆️
Importing from pydantic.v1 is still temporarily supported, but will no longer be supported in a future release in the next few days. 🔥
The highlight: YuriiMotov fixed support for @pydantic.dev aliases (validation and serialization) in multiple edge cases. 🚀
If there are no new reports, FastAPI will drop support for Python 3.8 next week. ⚰️
github.com/fastapi/fast...
The highlight: YuriiMotov fixed support for @pydantic.dev aliases (validation and serialization) in multiple edge cases. 🚀
If there are no new reports, FastAPI will drop support for Python 3.8 next week. ⚰️
github.com/fastapi/fast...
There's still dark mode too, and all the nice things 🦇
Thanks alejsdev! 🙌
github.com/fastapi/full...
There's still dark mode too, and all the nice things 🦇
Thanks alejsdev! 🙌
github.com/fastapi/full...
Before, if the app sent invalid data back, the server error logs would not show where the problem was. 😔
Now it shows the (clickable) file, line, function, and path operation. 📢
Thanks @savannah.dev! 🙌
Before, if the app sent invalid data back, the server error logs would not show where the problem was. 😔
Now it shows the (clickable) file, line, function, and path operation. 📢
Thanks @savannah.dev! 🙌
A couple of bugs handled, confirmed, and fixed by YuriiMotov 🙌🐛
github.com/fastapi/fast...
A couple of bugs handled, confirmed, and fixed by YuriiMotov 🙌🐛
github.com/fastapi/fast...
This fixes more edge cases around OpenAPI and OAuth2 scopes 🔒️
It required a considerable internal refactor, so now the code is more robust and less error-prone. 😎
github.com/fastapi/fast...
This fixes more edge cases around OpenAPI and OAuth2 scopes 🔒️
It required a considerable internal refactor, so now the code is more robust and less error-prone. 😎
github.com/fastapi/fast...
The folks from @cultrepo.bsky.social made a mini documentary about @fastapi.tiangolo.com ! 🚀🎉
📺️ www.youtube.com/watch?v=mpR8...
The folks from @cultrepo.bsky.social made a mini documentary about @fastapi.tiangolo.com ! 🚀🎉
📺️ www.youtube.com/watch?v=mpR8...
🐛 Fix a bug in the OpenAPI schema generated for security schemes using OAuth 2 scopes, when using different scopes at the router or path operation level
github.com/fastapi/fast...
🐛 Fix a bug in the OpenAPI schema generated for security schemes using OAuth 2 scopes, when using different scopes at the router or path operation level
github.com/fastapi/fast...
🐛 Fix corner cases in stringified annotations in Python 3.10+ (a.k.a. from __future__ import annotations)
🐛 Fix corner cases in stringified annotations in Python 3.10+ (a.k.a. from __future__ import annotations)