NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
PyPI, #467 most downloaded on PyPI
Run and manage FastAPI apps from the command line with FastAPI CLI. π
Latest stable
0.0.34
Last release 9 days ago
13 Nov 2026
Release timing varies
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 33 of 34 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
34 releases Β· first in 2020
Drag across the ruler to compare, or tap a release to open it.
π₯ Drop support for Python 3.10. PR #517 by @tiangolo .
β¬οΈ Add support for Python 3.15 and 3.15t. PR #515 by @tiangolo .
0.26.1. PR #496 by @YuriiMotov.Your coding agent can read these notes before it upgrades. Set up the MCP server β
β¨ Set FASTAPI_ENV when running fastapi dev. PR #477 by @patrick91 .
β¨ Trim default startup output and add --verbose to dev and run. PR #471 by @patrick91 .
π¨ Update CLI to use new design from fastapi-cloud-cli . PR #470 by @patrick91 .
fastapi-cloud-cli. PR #470 by @patrick91.π Avoid fancy logs for non-TTY output. PR #457 by @patrick91 .
π Fix duplicate Uvicorn logs under FastAPI CLI. PR #454 by @patrick91 .
release-notes.md for typos. PR #436 by @YuriiMotov.β¨ Add FASTAPI_PUBLIC_URL env var to configure app's public URL that is shown on startup. PR #381 by @YuriiMotov .
FASTAPI_PUBLIC_URL env var to configure app's public URL that is shown on startup. PR #381 by @YuriiMotov.πΈ Show tip on how to configure entrypoint in pyproject.toml . PR #389 by @YuriiMotov .
entrypoint in pyproject.toml. PR #389 by @YuriiMotov.πΈ Show import string source. PR #388 by @YuriiMotov .
fastapi-cloud-cli to the output of --version. PR #341 by @YuriiMotov.guard-dependencies.yml. PR #404 by @svlandeg.ty to precommit. PR #335 by @svlandeg.β¬ Bump fastapi from 0.129.0 to 0.132.0. PR #319 by [@dependabot[bot]](https://github.com/apps/dependabot).
fastapi-cli-slim, no more versions will be released, use instead one of: "fastapi[standard]", "fastapi-cli[standard]", fastapi-cli. PR #320 by @tiangolo.β Drop support for Python 3.9. PR #309 by @tiangolo.
π· Run tests with lower bound uv sync, update minimum dependencies. PR #299 by @YuriiMotov.
fastapi-slim with fastapi. PR #301 by @musicinmybrain.π· Update build setup for fastapi-cli-slim, deprecate it, and make it only depend on fastapi-cli. PR #300 by @tiangolo.
fastapi-cli-slim, deprecate it, and make it only depend on fastapi-cli. PR #300 by @tiangolo.uv.lock gets the internal label. PR #282 by @svlandeg.β¨ Add --reload-dir option to dev command. PR #267 by @patrick91.
π§ Drop support for Python 3.8. PR #269 by @patrick91.
β Add fastapi-new in new optional dependency group. PR #241 by @savannahostrowski.
fastapi-new in new optional dependency group. PR #241 by @savannahostrowski.β Drop support for Pydantic v1. PR #268 by @patrick91.
latest-changes GitHub Action and pin actions/checkout@v5. PR #246 by @svlandeg.π Fix support for Pydantic v1. PR #240 by @patrick91.
β¨ Add support for reading configuration from pyproject.toml. PR #236 by @patrick91.
pyproject.toml. PR #236 by @patrick91.You can use it in pyproject.toml like:
[tool.fastapi]
entrypoint = "some.importable_module:app_name"
waiting label in issue-manager. PR #227 by @YuriiMotov.β¬οΈ Add support for Python 3.13 and 3.14. PR #225 by @svlandeg.
β¨ Allow to use -h for help. PR #191 by @patrick91.
-h for help. PR #191 by @patrick91.β¨ Add support for the PORT environment variable. PR #209 by @buurro.
β¨ Add support for passing apps as fastapi run --entrypoint some.importable_module:app_name. PR #199 by @patrick91.
fastapi run --entrypoint some.importable_module:app_name. PR #199 by @patrick91.If you have been using Uvicorn like:
$ uvicorn some.importable_module:app_name
Now you can use the same "entrypoint" syntax with fastapi:
$ fastapi run -e some.importable_module:app_name
Or:
$ fastapi run --entrypoint some.importable_module:app_name
Add CLI option --forwarded-allow-ips. PR #113 by @Riuzaky77.
--forwarded-allow-ips. PR #113 by @Riuzaky77.π§ Remove command script fastapi, let it be provided by the fastapi package. PR #197 by @tiangolo.
β Add optional dependency on fastapi-cloud-cli. PR #181 by @tiangolo.
This will allow you to deploy to FastAPI Cloud with the fastapi deploy command.
Installing fastapi-cli[standard] now includes fastapi-cloud-cli.
If you want to install fastapi-cli without fastapi-cloud-cli, you can install instead fastapi-cli[standard-no-fastapi-cloud-cli].
You will normally not install fastapi-cli directly, but rather install FastAPI with fastapi[standard], which will include fastapi-cli[standard].
If you want to install fastapi with the standard dependencies except for fastapi-cloud-cli, you can install instead fastapi[standard-no-fastapi-cloud-cli].
π Do not disable existing loggers. PR #132 by @kraftp.
β¨ Improve UI for fastapi dev and fastapi run. PR #95 by @patrick91.
fastapi dev and fastapi run. PR #95 by @patrick91.labeler.yml. PR #101 by @tiangolo.labeler.yml. PR #102 by @tiangolo.issue-manager.yml. PR #88 by @tiangolo.include-hidden-files to True when using the upload-artifact GH action. PR #84 by @svlandeg.latest-changes GitHub Action. PR #79 by @tiangolo.pyproject.toml, show up in PyPI. PR #72 by @tiangolo.β»οΈ Add fastapi-cli[standard] including Uvicorn, make fastapi-cli and fastapi-cli-slim have the same packages. PR #55 by @tiangolo.
fastapi-cli[standard] including Uvicorn, make fastapi-cli and fastapi-cli-slim have the same packages. PR #55 by @tiangolo.Install with:
pip install "fastapi[standard]"
Or if for some reason installing only the FastAPI CLI:
pip install "fastapi-cli[standard]"
Before this, fastapi-cli would include Uvicorn and fastapi-cli-slim would not include Uvicorn.
In a future version, fastapi-cli will not include Uvicorn unless it is installed with fastapi-cli[standard].
FastAPI version 0.112.0 has a fastapi[standard] and that one includes fastapi-cli[standard].
Before, you would install pip install fastapi, or pip install fastapi-cli. Now you should include the standard optional dependencies (unless you want to exclude one of those): pip install "fastapi[standard]".
In a future version, fastapi-cli will not include Uvicorn unless it is installed with fastapi-cli[standard].
src/fastapi_cli/discover.py. PR #22 by @pedroimpulcetto.π§ Make FastAPI and Uvicorn optional dependencies, to avoid circular dependencies. PR #25 by @tiangolo.
β¨ Add optional --workers CLI option, and fix CI for test-redistribute. PR #12 by @PokkaKiyo.
--workers CLI option, and fix CI for test-redistribute. PR #12 by @PokkaKiyo.First public working version. π
Nothing published for this version
One column per quarter.