Web APIs with Python type hints. 🐍
By @tiangolo.com 🤓
GitHub: https://github.com/fastapi/fastapi
Web: https://fastapi.tiangolo.com/
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)
🐛 Fix support for functools wraps, partial, in async and regular functions, for path operations and dependencies, including with yield, classes, callables, etc.
github.com/fastapi/fast...
🐛 Fix support for functools wraps, partial, in async and regular functions, for path operations and dependencies, including with yield, classes, callables, etc.
github.com/fastapi/fast...
Several related fixes and improvements, support for functools wraps, partial 🚀
github.com/fastapi/fast...
Several related fixes and improvements, support for functools wraps, partial 🚀
github.com/fastapi/fast...
Here's more: 0.123.3, 0.123.4 🥞
Granular releases, so you can get the latest, but if something doesn't work for you for some reason, you can still get some of the fixes in the previous release. ☕️
Here's more: 0.123.3, 0.123.4 🥞
Granular releases, so you can get the latest, but if something doesn't work for you for some reason, you can still get some of the fixes in the previous release. ☕️
This (and 0.122.1) handles a bug in caching dependencies when using OAuth 2 security scopes. 🐛
github.com/fastapi/fast...
This (and 0.122.1) handles a bug in caching dependencies when using OAuth 2 security scopes. 🐛
github.com/fastapi/fast...
🐛 Security classes now return 401 on errors instead of 403
They include sensible WWW-Authenticate headers to stay spec-compliant 🤓
If your code depends on 403 errors, you can override this: fastapi.tiangolo.com/how-to/authe...
Thanks YuriiMotov! 🙌
🐛 Security classes now return 401 on errors instead of 403
They include sensible WWW-Authenticate headers to stay spec-compliant 🤓
If your code depends on 403 errors, you can override this: fastapi.tiangolo.com/how-to/authe...
Thanks YuriiMotov! 🙌
🐛 Fix handling of JSON Schema attributes named "$ref"
github.com/fastapi/fast...
🐛 Fix handling of JSON Schema attributes named "$ref"
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...
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! 🙌