Web APIs with Python type hints. 🐍
By @tiangolo.com 🤓
GitHub: https://github.com/fastapi/fastapi
Web: https://fastapi.tiangolo.com/
Install uv: docs.astral.sh/uv/getting-s...
Run:
uvx fastapi-new awesomeapp
✨ Done! ✨
Thanks @savannah.dev ! 🙌
github.com/fastapi/fast...
Install uv: docs.astral.sh/uv/getting-s...
Run:
uvx fastapi-new awesomeapp
✨ Done! ✨
Thanks @savannah.dev ! 🙌
github.com/fastapi/fast...
Configure there once, and then you can just run:
$ fastapi dev
...without having to pass a file path 😎
Thanks @patrick.wtf! 🙌
Configure there once, and then you can just run:
$ fastapi dev
...without having to pass a file path 😎
Thanks @patrick.wtf! 🙌
luzzodev just fixed Depends(func, scope="function") when used in the router, at the top level. 😎
github.com/fastapi/fast...
luzzodev just fixed Depends(func, scope="function") when used in the router, at the top level. 😎
github.com/fastapi/fast...
In case you needed to exit early from dependencies with yield, you can now opt in with:
Depends(some_func, scope="function")
fastapi.tiangolo.com/tutorial/dep...
In case you needed to exit early from dependencies with yield, you can now opt in with:
Depends(some_func, scope="function")
fastapi.tiangolo.com/tutorial/dep...
Here are THREE releases in a row, on a Friday. 🧛
FastAPI 0.120.2, 0.120.3, 0.120.4 🦇
The first 2 from yesterday, refactors and cleanup, preparing for a big feature coming. 🍬
Last, Yurii quickly fixed a bug from the previous one. 🧌
fastapi.tiangolo.com
Here are THREE releases in a row, on a Friday. 🧛
FastAPI 0.120.2, 0.120.3, 0.120.4 🦇
The first 2 from yesterday, refactors and cleanup, preparing for a big feature coming. 🍬
Last, Yurii quickly fixed a bug from the previous one. 🧌
fastapi.tiangolo.com
Fixing a bug when generating schemas for multiple nested models 🐛
github.com/fastapi/fast...
Fixing a bug when generating schemas for multiple nested models 🐛
github.com/fastapi/fast...
Just install "fastapi[standard]" 🤓
fastapi.tiangolo.com
Just install "fastapi[standard]" 🤓
fastapi.tiangolo.com
This fixes compatibility (warnings) with @pydantic.dev 2.12.1 on Python 3.14 🐍
Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @oxykodit.bsky.social! 🙌
github.com/fastapi/fast...
This fixes compatibility (warnings) with @pydantic.dev 2.12.1 on Python 3.14 🐍
Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @oxykodit.bsky.social! 🙌
github.com/fastapi/fast...
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯
This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓
Pydantic v1 is now deprecated ⛔️
Read more fastapi.tiangolo.com/how-to/migra...
FastAPI 0.118.3 has official support for Python 3.14 🎉
Big thanks to @oxykodit.bsky.social for a long debugging and preparation process! 🙌
And shoutout to @1st1.dev and Fantix from @geldata.com for the new httptools with support for 3.14 🙇
FastAPI 0.118.3 has official support for Python 3.14 🎉
Big thanks to @oxykodit.bsky.social for a long debugging and preparation process! 🙌
And shoutout to @1st1.dev and Fantix from @geldata.com for the new httptools with support for 3.14 🙇
This fixes a use case with Pydantic models using discriminated unions in the body. 🐛
(If you don't understand or use that, no need to worry about it either 😎)
Thanks François Voron! 🙌
And thanks @patrick.wtf and Yurii! 🍰
This fixes a use case with Pydantic models using discriminated unions in the body. 🐛
(If you don't understand or use that, no need to worry about it either 😎)
Thanks François Voron! 🙌
And thanks @patrick.wtf and Yurii! 🍰
This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. 🙌
github.com/fastapi/fast...
This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. 🙌
github.com/fastapi/fast...
🐛 This fixes a bug when using a StreamingResponse and dependencies with yield or UploadFile.
Details: Now the exit code of dependencies with yield runs after the response is sent back.
If you want to read more: fastapi.tiangolo.com/advanced/adv...
🐛 This fixes a bug when using a StreamingResponse and dependencies with yield or UploadFile.
Details: Now the exit code of dependencies with yield runs after the response is sent back.
If you want to read more: fastapi.tiangolo.com/advanced/adv...
FastAPI 0.117.0 has too many things to list. ✨
Check the release notes: fastapi.tiangolo.com/release-notes/
Shoutout to YuriiMotov for the work reviewing and tweaking PRs! 🙌
FastAPI 0.117.0 has too many things to list. ✨
Check the release notes: fastapi.tiangolo.com/release-notes/
Shoutout to YuriiMotov for the work reviewing and tweaking PRs! 🙌
With support for the PORT environment variable, used by many cloud providers. 🚀
Just use:
✨ fastapi run ✨
Thanks Marco Burro! 🙌
With support for the PORT environment variable, used by many cloud providers. 🚀
Just use:
✨ fastapi run ✨
Thanks Marco Burro! 🙌
(fastapi-cli version 0.0.11)
Thanks @patrick.wtf! 🙌
(fastapi-cli version 0.0.11)
Thanks @patrick.wtf! 🙌
4M+ times a day. 🚀
That also means that, since you started reading this post, it has been downloaded around 400 times. 🤯
pypistats.org/packages/fas...
4M+ times a day. 🚀
That also means that, since you started reading this post, it has been downloaded around 400 times. 🤯
pypistats.org/packages/fas...
From the Python Developer Survey 🐍
blog.jetbrains.com/pycharm/2025...
From the Python Developer Survey 🐍
blog.jetbrains.com/pycharm/2025...
- @fastapi.tiangolo.com usage up 9%
- 1/3 contributing to open source
- New developers choosing Python!
Our findings from the #Python Developers Survey done in collab with @python.org:
📊 51% use Python for data
🌐 46% use it for web dev
👨💻 Half of the community is new
🔧 83% still use older Python versions
Check out the takeaways by @mkennedy.codes: jb.gg/uka16g
- @fastapi.tiangolo.com usage up 9%
- 1/3 contributing to open source
- New developers choosing Python!
"This signals a strong trend towards using Python for building performant APIs and reflects the overall strength of the Python ecosystem."
🤯🐍🚀
survey.stackoverflow.co/2025/technol...
"This signals a strong trend towards using Python for building performant APIs and reflects the overall strength of the Python ecosystem."
🤯🐍🚀
survey.stackoverflow.co/2025/technol...
- Calvin French-Owen
calv.info/openai-refle...
- Calvin French-Owen
calv.info/openai-refle...
@patrick.wtf fixed support for unions of @pydantic.dev models in Form data. 🐛🎉
(This will make it easier to implement single sign-on 😉)
github.com/fastapi/fast...
@patrick.wtf fixed support for unions of @pydantic.dev models in Form data. 🐛🎉
(This will make it easier to implement single sign-on 😉)
github.com/fastapi/fast...
Special thanks to Yurii for all the work handling discussions and PRs! 🙌
github.com/fastapi/fast...
Special thanks to Yurii for all the work handling discussions and PRs! 🙌
github.com/fastapi/fast...