IT'S HERE! ๐พ๐
FastAPI 0.100.0, final release ๐
Official support for
@pydantic
v2 ๐
Still supporting Pydantic v1 ๐ค
Is there a better way to celebrate 60k GitHub stars? โจ
Check out the release notes:
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 ๐
New release! ๐ FastAPI version 0.78.0 ๐
Now you won't have to use Ellipsis (...) to make parameters required, like in:
q: str = Query(..., title="The query")
New docs:
Happy New Year with FastAPI 0.89.0! ๐
You can now declare the response model using the function return type annotation. โจ
It will be used for data validation, automatic docs, data filtering (security), etc. ๐ค
Read more in the docs:
Thanks
@uriyyo
!
Here we go! ๐
Just released: FastAPI 0.86.0 with official support for Python 3.11 ๐๐
Go get that extra performance and beautiful traceback errors ๐
FastAPI is the 3rd most loved web framework in the latest
@StackOverflow
developer survey! ๐๐
This category combines backend and frontend, FastAPI is right above
@reactjs
and
@vuejs
, that's such an honor! ๐คฏ
Just released! FastAPI 0.93.0 ๐
This adds support for lifespan handlers ๐
This is instead of separated startup and shutdown event handlers ๐ค
Hint: this is where you load your ML models or setup your DB connection pools, etc. ๐
New docs:
IT'S HERE! ๐
FastAPI beta with support for
@pydantic
v2 ๐๐
Version: 0.100.0-beta1 ๐
pip install --pre --upgrade fastapi pydantic
Still supporting Pydantic v1 โจ
Please install and try this beta and let me know if everything works ๐ค
Read more:
Happy birthday to
@starletdreaming
! ๐
Did you know that Starlette, Uvicorn, Django-Rest-Framework, HTTPX, and MkDocs were created by the SAME person?!
That's Tom Christie! ๐
The FastAPI Deployment guide was just revamped โจ
๐ก Deployment Concepts:
๐ฉโ๐ญ Gunicorn with Uvicorn:
๐ FastAPI in Containers and Kubernetes:
New release! ๐ FastAPI 0.71.0 ๐
๐ Python 3.10 support
๐ Now ALL the docs examples have been updated to include the awesome new syntax you can use with Python 3.9 and 3.10:
โฌ Starlette updated to 0.17.1
FastAPI version 0.67.0 was just released ๐
It includes first-class support for dataclasses ๐
It's all still powered by Pydantic underneath ๐ค
Check out the new docs here: ๐
Automatically generate beautiful and โจ clean โจ clients (SDKs) for your FastAPI app, with version 0.75.0 ๐
Supports many programming languages (it's based on OpenAPI). Check the new detailed docs/guide for a TypeScript frontend client. ๐
Happy Holidays! Here's FastAPI 0.106.0 ๐๐
Now you can raise HTTPException in dependencies after yield. โจ
The exit code also runs before the response is sent, better performance and resource usage. ๐
Don't use them in background tasks, though.
FastAPI 0.96.0 brings a big startup performance improvement ๐
Useful for:
๐ค local dev with Uvicorn using --reload
โ running tests locally
๐ฆ serverless
This won't even be needed with
@Pydantic
v2, but here are some quick gains for you. ๐
Thanks Zanie Adkins and
@huon_w
๐โโ๏ธ
๐Introduction LangServe
The best way to deploy your LangChains
๐คInput/Output schema
๐/docs endpoint
๐ invoke/batch/stream endpoints
๐/stream_log endpoint for streaming intermediate steps
๐ ๏ธLangSmith Integration
Used to power ChatLangChain and WebLangChain
Blog post and ๐งต
1) ๐ Pretty surprising to see a
#Python
API framework (
@FastAPI
) beat out
@GitHub
Copilot &
@figma
FigJam for the
#1
new tool of the year! Just goes to show that individual devs (
@tiangolo
) building amazing OSS are still ๐
FastAPI 0.110.0 fixes a memory leak when you have internal server errors ๐
You should definitely still fix them ๐ค
But now FastAPI won't add to the problem ๐
If you use dependencies with yield and except, you should make sure you raise again ๐งจ
The docs for FastAPI, Typer, SQLModel, and Asyncer are hosted in a new place (
@Cloudflare
Pages) ๐ค
This allows better handling of the constant increase of users, now at 1.7 M views monthly (without the crazy fee ๐ ).
Sorry if you couldn't access the docs for a bit today. ๐ฌ
Who's ready? ๐คฉ
FastAPI 0.100.0-beta3 ๐
Probably the last beta before the final version is released in the NEXT DAYS, go test it now! ๐ค
๐
@pydantic
v2
๐ธ๏ธ
@OpenApiSpec
3.1.0
๐๏ธ
@jsonschema
2020-12
โจ
@swaggerapi
(docs) UI 5
All that together! ๐
Hey, here's a new release! ๐
FastAPI version 0.68.0 ๐
You can now add OpenAPI extensions or update the schema for each path operation:
There's also improved support for top-level metadata, contact, terms of service, etc:
The FastAPI docs now have an official translation to emoji. ๐คฉ๐
โจ EVERYTHING WRITTEN IN EMOJI โจ
The most reviewed PR (20+ approvals), and it's now finally available. ๐
A language as inclusive as music and love, but this one can be written. โค๐
Here's FastAPI 0.99.0 ๐
The last non-beta before
@pydantic
v2
This release upgrades:
๐ธ๏ธ
@OpenApiSpec
3.1.0
๐๏ธ
@jsonschema
2020-12
โจ
@swaggerapi
(docs) UI 5
Many features in the release notes:
Highlight: webhooks ๐ค
Releasing Gradio 2.7.5 ๐ ๐
โก๏ธ We've migrated the entire backend from Flask to
@FastAPI
!
โ๏ธ You can now write your own custom callbacks for the FLAG button
AND... it includes commits from the newest member of the
@Gradio
team: Omer Faruk (
@farukozderim
) ๐
New release! FastAPI 0.73.0 ๐๐
โจ Simpler UploadFile
โจ Tags with Enums
โจ Hide params (e.g. Query) from OpenAPI and docs
๐ Fix handling tuples with OpenAPI and docs
๐ Fix jsonable_encoder with custom encoders
More details below ๐
New release: FastAPI 0.90.0 ๐
This upgrades Starlette to 0.23.0 ๐
(Thanks
@marcelotryle
!)
๐จ Upgrade your FastAPI version to the latest so that it's easier for you to get the next important releases coming soon.
Two releases in a row ๐
FastAPI 0.76.0 upgrades Starlette to 0.18.0 ๐ค
FastAPI 0.77.0 upgrades Starlette to 0.19.0 โฌ
Go get those fixes and improvements from Starlette! ๐
Wanna come and help maintain FastAPI? ๐ช
@marcelotryle
is showing you here exactly how. ๐ค
By doing that, you can become an official FastAPI Expert (Marcelo is currently the top one). ๐
Wanna join him in the elite FastAPI ranking? ๐
Are you using GraphQL with FastAPI?
Check out
@strawberry_gql
๐, it's now the recommended library for when you need to integrate GraphQL with FastAPI ๐
Check the new docs here:
And Strawberry's docs:
Here's FastAPI 0.101.0 ๐
With:
โจ Support for
@Pydantic
's v2 new computed fields
๐ค Better OpenAPI for response models, which allows for...
๐งช Better generated clients/SDKs
This is all thanks to a new feature in Pydantic v2 ๐
๐ฑ๐คฉ๐
"FastAPI, initially released at the end of 2018, shows the fastest growth, having grown by 9 percentage points compared to the previous year."
FastAPI is the third must used Python web framework, with the fastest growth, now used by 21% ๐คฉ๐
The 2021 Python Developers Survey is out and you can check out the highlights or the raw data. Thank you so very much to
@jetbrains
for providing this amazing community resource for the fifth year in a row!
If you are using form data, upgrade python-multipart to 0.0.7 as soon as possible to fix a ReDoS vulnerability. ๐
If you install fastapi[all], just upgrade to 0.109.1 ๐ค
You can read more in the security advisory:
FastAPI People now shows the FastAPI Experts for:
Last Month ๐ค
3 Months ๐
6 Months ๐ง
1 Year ๐งโ๐ฌ
All Time ๐ง
Are you a FastAPI Expert?
Big project, first public release! ๐ข
โจ SQLModel โจ
...the biggest thing I've built since FastAPI & Typer. ๐ค
SQL DBs based on Python type hints. ๐
Each model is both a Pydantic and
@sqlalchemy
model. ๐คฏ
Optimized for FastAPI ๐
Small FastAPI release: version 0.75.2 ๐๐
Mainly bug fixes and dependency upgrades. Some of those upgrades handle security issues in those third-party packages, so go ahead and update your FastAPI version! ๐ค
More details in the release notes:
๐จ Security release: FastAPI 0.92.0 ๐จ
๐ Upgrades Starlette to 0.25.0, fixing a vulnerability that could result in DOS attacks with many small multipart fields/files.
Only applications using forms (e.g. file uploads) would be affected.
Upgrade with no breaking changes. ๐
FastAPI and friends have full-time support and development (
@tiangolo
) funded by
@sequoia
, purely open source, and that's it. โจ๐
Not many open source projects can have this immense privilege. ๐คฉ๐
I'm working pretty much full-time on open source โจ
This is the year of
@FastAPI
and friends! ๐
Thanks to
@sequoia
(with
@laurenmhreeder
and
@BogieBalkansky
) for bringing me as the first Open Source Fellow ๐
...so many features and plans you haven't even seen yet! ๐คฉ๐
The new official place to ask FastAPI questions is in GitHub Discussions: ๐ค
Thanks
@github
for adding support for templates in Discussions! ๐ That allowed making this change. ๐
Here's a small FastAPI release: 0.101.1 ๐
(probably the last version to have only ones and zeros for a while ๐ )
๐ Fix server error logs with invalid data: show the necessary information to understand and fix invalid data. ๐ค
@python_spaces
@djangoproject
I tend to use FastAPI, but I'm biased. ๐
Still lots of love for Django and Flask, they paved the way and inspired a lot. ๐
Yesterday I learned of
@FastAPI
's existence. ๐
By this afternoon, I have about 75% of my fairly huge, spaghetti code Node.js Slack bot ported over to FastAPI in much, much less fewer lines of
#python
code. ๐ค
Small release, 0.100.1, with a fix to keep supporting older versions of
@pydantic
(for versions even older than 1.10) ๐ค
Thanks
@marcelotryle
! ๐โโ๏ธ
Also, the first docs translations to Vietnamese ๐
The future of education and art go together ๐จ
Traditional education systems have to change ๐ค
I wrote too much about it:
And I also hired
@KetrinaYim
to add beautiful illustrations to the FastAPI docs for concurrent burgers โจ
Don't deploy on Fridays...
...unless you're an open source package used by thousands ๐
On that note, here's FastAPI 0.91.0, upgrading Starlette to 0.24.0 ๐
This might fix middleware corner cases (thanks
@adriangb01
!) ๐
You WANT to be ready for the next release next week ๐ค
To start your Monday, FastAPI 0.87.0 ๐
๐ Upgraded Starlette, new TestClient based on HTTPX,
@marcelotryle
built to help you migrate
๐จ New WebSocketException
โฌ Deps upgraded
๐ค Help Maintain FastAPI:
Small FastAPI release, 0.88.0 ๐
This upgrades Starlette to 0.22.0, which fixes a bug handling query parameters with non-ASCII encodings in the TestClient.
Thanks to everyone helping and involved! ๐
Happy birthday to
@marcelotryle
! ๐๐
He's one of the few people helping a lot with FastAPI, he helps answering questions, reviewing things, currently maintains Starlette and Uvicorn... Thank you FastAPI Expert! ๐
Three new FastAPI releases in a row! ๐
The highlight is support for Trio via AnyIO โจ
Read the new docs about running FastAPI with Trio and Hypercorn here:
Small FastAPI release (while you test the beta with support for
@Pydantic
v2).
FastAPI 0.98.0 ๐
โจ Allow disabling redirect_slashes at the FastAPI app level โจ
Thanks Denis Lisovik! ๐ค
Just released, FastAPI version 0.95.1 ๐
This fixes a bug when using Annotated in routers or path operation functions with more than one path operation decorator. ๐
Ready for upgrade Monday? โฌ๏ธ
Here's a FastAPI release, 0.97.0 ๐
A couple of WebSocket features, dependencies, and exception handlers โจ
Thanks to
@kristjanvalur
and Paulo Costa ๐โโ๏ธ
New release to end the weekend, FastAPI 0.83.0 ๐
A couple of small features and bug fixes. Happy week! โ
If for any reason you're still in Python 3.6 and there's something not working, let me know now. This is probably the last version supporting 3.6.
Here we go! FastAPI 0.102.0 ๐
With
@pydantic
v2 you'll have better autogenerated clients/SDKs based on OpenAPI for input/output ๐
...but if you don't want to update that SDK code yet, now you can disable it, as if with Pydantic v1 โจ
New shiny docs:
Security release: FastAPI version 0.95.2 ๐
This upgrades Starlette to 0.27.0, with a security fix. ๐
Thanks to
@marcelotryle
for making a Starlette release even during his vacations. ๐๐
This is probably the last FastAPI release to support Python 3.6, with some bug fixes and small features. ๐ฅ
FastAPI 0.82.0 ๐
This includes a clever fix from
@adriangb01
for some possible issues with DB connection deadlocks. ๐
PyCharm 2021.3 EAP is now available! Try out the new features coming in the next release, including the new
#Jupyter
Notebook experience and
#FastAPI
project type!
A small FastAPI release, 0.79.0 ๐
This fixes a (hard to debug ๐ ) issue in some edge cases that resulted in errors of:
RuntimeError: Response content longer than Content-Length
FastAPI is in the latest Python Developers Survey, for 2021! ๐
It also includes friends like HTTPX ๐
The survey helps the team that builds Python and the ecosystem a lot ๐
Be a cool developer and go fill it (it's short)! ๐
We are happy to announce the Python Developers Survey 2021!
Take part in the official Python Developers Survey 2021. Help us discover what the Python development world looks like today and how it compares to last year.
FastAPI 0.74.0 fixes some particular interactions between contextvars, dependencies with yield, and middlewares. ๐๐
You probably don't need that, but it could be useful while migrating from other frameworks.
Are you using
@FastAPI
? What other libraries do you use? HTTPX,
@pydantic
? ๐ค
Fill out the official Python Developers Survey for 2022! ๐
Last year FastAPI had the "fastest growth, having grown by 9 percentage points compared to the previous year"
What's gonna be this year? โ
Another small bug-fix release ๐
FastAPI 0.80.0 ๐
Depending on your code, this fix could have a "breaking change" if you use response_model but return None.
Check the release notes, including how to update (if you need to):
Tiny release, FastAPI 0.103.2 ๐
Compatibility with
@pydantic
version 2.4 ๐
This updates deprecated code (in case warnings were breaking your CI). ๐ค
Tiny release, FastAPI 0.100.0-beta2 ๐ค
A has a quick fix by
@diementros
for a small change in the final release of
@pydantic
v2
Now you can try out the final/stable Pydantic v2 with this FastAPI beta
The next beta will include the changes on the main branch (OpenAPI 3.1.0) โจ
Quick bug fix release, FastAPI 0.89.1 ๐๐
For when you have a Response as a return type annotation. ๐ค
New docs about handling other return type annotations, for when you don't want them to be used as a Pydantic response model:
Thanks
@marcelotryle
!