Fastapi-cli

Latest version: v0.0.7

Safety actively analyzes 707299 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.7

Fixes

* 🐛 Do not disable existing loggers. PR [132](https://github.com/fastapi/fastapi-cli/pull/132) by [kraftp](https://github.com/kraftp).

Internal

* 🚨 Format new test. PR [137](https://github.com/fastapi/fastapi-cli/pull/137) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3. PR [134](https://github.com/fastapi/fastapi-cli/pull/134) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [62](https://github.com/fastapi/fastapi-cli/pull/62) by [pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* ⬆ Bump ruff from 0.5.5 to 0.8.1. PR [128](https://github.com/fastapi/fastapi-cli/pull/128) by [dependabot[bot]](https://github.com/apps/dependabot).

0.0.6

Features

* ✨ Improve UI for `fastapi dev` and `fastapi run`. PR [95](https://github.com/fastapi/fastapi-cli/pull/95) by [patrick91](https://github.com/patrick91).

Fixes

* 🐛 Use correct syntax for links. PR [131](https://github.com/fastapi/fastapi-cli/pull/131) by [patrick91](https://github.com/patrick91).

Internal

* 👷 Update `labeler.yml`. PR [101](https://github.com/fastapi/fastapi-cli/pull/101) by [tiangolo](https://github.com/tiangolo).
* 👷 Do not sync labels as it overrides manually added labels. PR [71](https://github.com/fastapi/fastapi-cli/pull/71) by [tiangolo](https://github.com/tiangolo).
* 🔨 Use ruff check command in format script. PR [121](https://github.com/fastapi/fastapi-cli/pull/121) by [FlavienRx](https://github.com/FlavienRx).
* ⬆ Update pre-commit requirement from <4.0.0,>=2.17.0 to >=2.17.0,<5.0.0. PR [100](https://github.com/fastapi/fastapi-cli/pull/100) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.12.2. PR [117](https://github.com/fastapi/fastapi-cli/pull/117) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR [118](https://github.com/fastapi/fastapi-cli/pull/118) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump astral-sh/setup-uv from 3 to 4. PR [125](https://github.com/fastapi/fastapi-cli/pull/125) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump mypy from 1.11.1 to 1.13.0. PR [111](https://github.com/fastapi/fastapi-cli/pull/111) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Fix smokeshow, checkout files on CI. PR [106](https://github.com/fastapi/fastapi-cli/pull/106) by [tiangolo](https://github.com/tiangolo).
* 👷 Use uv in CI. PR [105](https://github.com/fastapi/fastapi-cli/pull/105) by [tiangolo](https://github.com/tiangolo).
* 👷 Update `labeler.yml`. PR [102](https://github.com/fastapi/fastapi-cli/pull/102) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump tiangolo/issue-manager from 0.5.0 to 0.5.1. PR [89](https://github.com/fastapi/fastapi-cli/pull/89) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Update `issue-manager.yml`. PR [88](https://github.com/fastapi/fastapi-cli/pull/88) by [tiangolo](https://github.com/tiangolo).
* 💚 Set `include-hidden-files` to `True` when using the `upload-artifact` GH action. PR [84](https://github.com/fastapi/fastapi-cli/pull/84) by [svlandeg](https://github.com/svlandeg).
* 👷 Update `latest-changes` GitHub Action. PR [79](https://github.com/fastapi/fastapi-cli/pull/79) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update coverage configs. PR [74](https://github.com/fastapi/fastapi-cli/pull/74) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add URLs to `pyproject.toml`, show up in PyPI. PR [72](https://github.com/fastapi/fastapi-cli/pull/72) by [tiangolo](https://github.com/tiangolo).
* 👷 Update GitHub Action labeler to only add one label. PR [70](https://github.com/fastapi/fastapi-cli/pull/70) by [tiangolo](https://github.com/tiangolo).
* 👷 Update GitHub Action labeler permissions and dependencies. PR [69](https://github.com/fastapi/fastapi-cli/pull/69) by [tiangolo](https://github.com/tiangolo).
* 👷 Add GitHub Action label-checker. PR [68](https://github.com/fastapi/fastapi-cli/pull/68) by [tiangolo](https://github.com/tiangolo).
* 👷 Add GitHub Action labeler. PR [67](https://github.com/fastapi/fastapi-cli/pull/67) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update GitHub Action add-to-project. PR [66](https://github.com/fastapi/fastapi-cli/pull/66) by [tiangolo](https://github.com/tiangolo).
* 👷 Add GitHub Action add-to-project. PR [65](https://github.com/fastapi/fastapi-cli/pull/65) by [tiangolo](https://github.com/tiangolo).

0.0.5

Breaking Changes

* ♻️ Add `fastapi-cli[standard]` including Uvicorn, make `fastapi-cli` and `fastapi-cli-slim` have the same packages. PR [55](https://github.com/fastapi/fastapi-cli/pull/55) by [tiangolo](https://github.com/tiangolo).
* ➕ Keep Uvicorn in default dependencies. PR [57](https://github.com/fastapi/fastapi-cli/pull/57) by [tiangolo](https://github.com/tiangolo).

Summary

Install with:

bash
pip install "fastapi[standard]"


Or if for some reason installing only the FastAPI CLI:

bash
pip install "fastapi-cli[standard]"


Technical Details

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]`.

Refactors

* ♻️ Simplify code in `src/fastapi_cli/discover.py`. PR [22](https://github.com/tiangolo/fastapi-cli/pull/22) by [pedroimpulcetto](https://github.com/pedroimpulcetto).

Docs

* 🚚 Rename repo references to new GitHub FastAPI org. PR [56](https://github.com/fastapi/fastapi-cli/pull/56) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump ruff from 0.4.5 to 0.5.5. PR [52](https://github.com/fastapi/fastapi-cli/pull/52) by [dependabot[bot]](https://github.com/apps/dependabot).
* 🔧 Remove Python 3.7 from PyPI classifiers. PR [48](https://github.com/fastapi/fastapi-cli/pull/48) by [patrick91](https://github.com/patrick91).
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [28](https://github.com/fastapi/fastapi-cli/pull/28) by [pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* ⬆ Bump mypy from 1.10.0 to 1.11.1. PR [53](https://github.com/fastapi/fastapi-cli/pull/53) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0. PR [34](https://github.com/fastapi/fastapi-cli/pull/34) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Update issue-manager.yml GitHub Action permissions. PR [54](https://github.com/tiangolo/fastapi-cli/pull/54) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump ruff from 0.4.4 to 0.4.5. PR [29](https://github.com/tiangolo/fastapi-cli/pull/29) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump ruff from 0.4.3 to 0.4.4. PR [23](https://github.com/tiangolo/fastapi-cli/pull/23) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Enable CI tests for Python 3.12. PR [27](https://github.com/tiangolo/fastapi-cli/pull/27) by [tiangolo](https://github.com/tiangolo).
* 👷 Update Upload/Download artifacts GitHub Actions. PR [26](https://github.com/tiangolo/fastapi-cli/pull/26) by [tiangolo](https://github.com/tiangolo).

0.0.4

Fixes

* 🔧 Make FastAPI and Uvicorn optional dependencies, to avoid circular dependencies. PR [25](https://github.com/tiangolo/fastapi-cli/pull/25) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump actions/cache from 3 to 4. PR [5](https://github.com/tiangolo/fastapi-cli/pull/5) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14. PR [2](https://github.com/tiangolo/fastapi-cli/pull/2) by [dependabot[bot]](https://github.com/apps/dependabot).

0.0.3

Features

* ✨ Add optional `--workers` CLI option, and fix CI for test-redistribute. PR [12](https://github.com/tiangolo/fastapi-cli/pull/12) by [PokkaKiyo](https://github.com/PokkaKiyo).

Upgrades

* ➖ Relax Uvicorn pin. PR [16](https://github.com/tiangolo/fastapi-cli/pull/16) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Add note about Uvicorn as the high-performance server running underneath. PR [9](https://github.com/tiangolo/fastapi-cli/pull/9) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump ruff from 0.2.0 to 0.4.3. PR [14](https://github.com/tiangolo/fastapi-cli/pull/14) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Update pytest requirement from <8.0.0,>=4.4.0 to >=4.4.0,<9.0.0. PR [4](https://github.com/tiangolo/fastapi-cli/pull/4) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump mypy from 1.4.1 to 1.10.0. PR [7](https://github.com/tiangolo/fastapi-cli/pull/7) by [dependabot[bot]](https://github.com/apps/dependabot).

0.0.2

First public working version. 🚀

Fixes

* 👷 Tweak CI testing and fix import error detection for Python 3.8. PR [8](https://github.com/tiangolo/fastapi-cli/pull/8) by [tiangolo](https://github.com/tiangolo).

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.