NewYour coding agent can read the release notes before it upgrades.Set up the MCP server ā
PyPI Ā· #492 most downloaded on PyPI
Run and manage FastAPI apps from the command line with FastAPI CLI. š
Last release 2 months ago
16 Jul 2026
Release timing varies
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 31 of 32 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
32 releases Ā· first in 2020
One column per quarter.
⨠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] .
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
Your coding agent can read these notes before it upgrades. Set up the MCP server ā