- ⬆ Bump ruff from 0.15.7 to 0.15.8. PR #347 by @dependabot[bot].
- ⬆ Bump fastapi from 0.135.1 to 0.135.2. PR #345 by @dependabot[bot].
- ⬆ Bump ty from 0.0.25 to 0.0.26. PR #348 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.15.0 to 0.15.1. PR #349 by @dependabot[bot].
- ⬆ Bump prek from 0.3.6 to 0.3.8. PR #344 by @dependabot[bot].
- ⬆ Bump ty from 0.0.24 to 0.0.25. PR #346 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.6 to 0.15.7. PR #342 by @dependabot[bot].
- ⬆ Bump ty from 0.0.23 to 0.0.24. PR #343 by @dependabot[bot].
- ⬆ Bump uvicorn from 0.41.0 to 0.42.0. PR #340 by @dependabot[bot].
- ⬆ Bump prek from 0.3.5 to 0.3.6. PR #339 by @dependabot[bot].
- ⬆ Bump ty from 0.0.21 to 0.0.23. PR #338 by @dependabot[bot].
- 👷 Add
tyto precommit. PR #335 by @svlandeg. - ⬆ Bump ruff from 0.15.5 to 0.15.6. PR #337 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.14.1 to 0.15.0. PR #336 by @dependabot[bot].
- ⬆ Bump prek from 0.3.4 to 0.3.5. PR #334 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.14.0 to 0.14.1. PR #333 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.4 to 0.15.5. PR #331 by @dependabot[bot].
- ⬆ Bump fastapi from 0.133.1 to 0.135.1. PR #329 by @dependabot[bot].
- ⬆ Bump prek from 0.3.3 to 0.3.4. PR #330 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.2 to 0.15.4. PR #328 by @dependabot[bot].
- ⬆ Bump fastapi from 0.133.0 to 0.133.1. PR #325 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 7 to 8. PR #327 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 6 to 7. PR #326 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.13.0 to 0.14.0. PR #324 by @dependabot[bot].
- ⬆ Bump fastapi from 0.132.0 to 0.133.0. PR #321 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.19.4 to 0.19.7. PR #322 by @dependabot[bot].
- ➖ Drop support for
fastapi-cli-slim, no more versions will be released, use instead one of:"fastapi[standard]","fastapi-cli[standard]",fastapi-cli. PR #320 by @tiangolo. - ⬆ Bump fastapi from 0.129.0 to 0.132.0. PR #319 by @dependabot[bot].
- ⬆ Bump typer from 0.24.0 to 0.24.1. PR #317 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.1 to 0.15.2. PR #316 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.12.0 to 0.13.0. PR #315 by @dependabot[bot].
- ⬆ Bump fastapi-new from 0.0.4 to 0.0.5. PR #314 by @dependabot[bot].
- ⬆ Bump fastapi from 0.128.8 to 0.129.0. PR #313 by @dependabot[bot].
- ⬆ Bump typer from 0.23.1 to 0.24.0. PR #312 by @dependabot[bot].
- ⬆ Bump uvicorn from 0.40.0 to 0.41.0. PR #311 by @dependabot[bot].
- 👷 Run tests with lower bound uv sync, update minimum dependencies. PR #299 by @YuriiMotov.
- ⬆ Bump fastapi-cloud-cli from 0.11.0 to 0.12.0. PR #308 by @dependabot[bot].
- ⬆ Bump prek from 0.3.2 to 0.3.3. PR #307 by @dependabot[bot].
- ⬆ Bump typer from 0.23.0 to 0.23.1. PR #306 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.0 to 0.15.1. PR #305 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.19.3 to 0.19.4. PR #304 by @dependabot[bot].
- ⬆ Bump typer from 0.21.2 to 0.23.0. PR #302 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.19.2 to 0.19.3. PR #303 by @dependabot[bot].
- ➕ Replace test dependency on
fastapi-slimwithfastapi. PR #301 by @musicinmybrain.
- 👷 Update build setup for
fastapi-cli-slim, deprecate it, and make it only depend onfastapi-cli. PR #300 by @tiangolo. - ⬆ Bump typer from 0.21.1 to 0.21.2. PR #298 by @dependabot[bot].
- ⬆ Bump fastapi-slim from 0.128.6 to 0.128.7. PR #297 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.19.0 to 0.19.2. PR #296 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.18.1 to 0.19.0. PR #293 by @dependabot[bot].
- ⬆ Bump fastapi-slim from 0.128.5 to 0.128.6. PR #294 by @dependabot[bot].
- ⬆ Bump fastapi-slim from 0.128.2 to 0.128.5. PR #292 by @dependabot[bot].
- ⬆ Bump prek from 0.3.1 to 0.3.2. PR #291 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.14 to 0.15.0. PR #288 by @dependabot[bot].
- ⬆ Bump fastapi-slim from 0.128.1 to 0.128.2. PR #290 by @dependabot[bot].
- ⬆ Bump fastapi-slim from 0.128.0 to 0.128.1. PR #289 by @dependabot[bot].
- 👷 Run mypy by pre-commit. PR #287 by @YuriiMotov.
- ⬆ Bump rich-toolkit from 0.17.2 to 0.18.1. PR #286 by @dependabot[bot].
- ⬆ Bump prek from 0.3.0 to 0.3.1. PR #285 by @dependabot[bot].
- ⬆ Bump rich-toolkit from 0.17.1 to 0.17.2. PR #284 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.13 to 0.14.14. PR #283 by @dependabot[bot].
- 🔧 Ensure that an edit to
uv.lockgets theinternallabel. PR #282 by @svlandeg. - ⬆ Bump prek from 0.2.30 to 0.3.0. PR #281 by @dependabot[bot].
- ⬆ Bump prek from 0.2.27 to 0.2.30. PR #280 by @dependabot[bot].
- ⬆ Bump fastapi-cloud-cli from 0.8.0 to 0.11.0. PR #278 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.10 to 0.14.13. PR #279 by @dependabot[bot].
- ⬆️ Migrate to uv. PR #275 by @DoctorJohn.
- ⬆ Bump mypy from 1.14.1 to 1.19.1. PR #261 by @dependabot[bot].
- ⬆ Update pytest requirement from <9.0.0,>=4.4.0 to >=4.4.0,<10.0.0. PR #273 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.6 to 0.14.10. PR #262 by @dependabot[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #271 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 5 to 6. PR #259 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 6 to 7. PR #260 by @dependabot[bot].
- 👷 Add pre-commit workflow. PR #266 by @YuriiMotov.
- ✨ Add --reload-dir option to dev command. PR #267 by @patrick91.
- 🔧 Drop support for Python 3.8. PR #269 by @patrick91.
- ➕ Add
fastapi-newinnewoptional dependency group. PR #241 by @savannahostrowski.
- 🐛 Fix log alignment when pressing Ctrl+C to stop server. PR #253 by @savannahostrowski.
- ➖ Drop support for Pydantic v1. PR #268 by @patrick91.
- 👷 Configure coverage, error on main tests, don't wait for Smokeshow. PR #265 by @YuriiMotov.
- 👷 Run Smokeshow always, even on test failures. PR #264 by @YuriiMotov.
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #247 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.5 to 0.14.6. PR #245 by @dependabot[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #248 by @dependabot[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #244 by @dependabot[bot].
- 👷 Upgrade
latest-changesGitHub Action and pinactions/checkout@v5. PR #246 by @svlandeg. - ⬆ [pre-commit.ci] pre-commit autoupdate. PR #243 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.4 to 0.14.5. PR #242 by @dependabot[bot].
- ✅ Expand test matrix to include Windows and MacOS. PR #230 by @svlandeg.
- ⬆ Bump ruff from 0.14.2 to 0.14.4. PR #239 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #238 by @pre-commit-ci[bot].
- 🐛 Fix support for Pydantic v1. PR #240 by @patrick91.
- ✨ Add support for reading configuration from
pyproject.toml. PR #236 by @patrick91.
You can use it in pyproject.toml like:
[tool.fastapi]
entrypoint = "some.importable_module:app_name"- ⬆ Bump actions/upload-artifact from 4 to 5. PR #232 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.1 to 0.14.2. PR #231 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 5 to 6. PR #233 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #235 by @pre-commit-ci[bot].
- 🔧 Add PEP-639 license metadata. PR #234 by @svlandeg.
- ⬆ Bump astral-sh/setup-uv from 6 to 7. PR #223 by @dependabot[bot].
- ⬆ Bump ruff from 0.13.0 to 0.14.1. PR #228 by @dependabot[bot].
- 🔧 Configure reminder for
waitinglabel inissue-manager. PR #227 by @YuriiMotov. - ⬆ [pre-commit.ci] pre-commit autoupdate. PR #215 by @pre-commit-ci[bot].
- ⬆ Bump tiangolo/issue-manager from 0.5.1 to 0.6.0. PR #220 by @dependabot[bot].
- ✨ Allow to use
-hfor help. PR #191 by @patrick91.
- ⬆ Bump mypy from 1.14.0 to 1.14.1. PR #207 by @dependabot[bot].
- ⬆ Bump actions/setup-python from 5 to 6. PR #201 by @dependabot[bot].
- ⬆ Bump ruff from 0.12.12 to 0.13.0. PR #206 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #208 by @pre-commit-ci[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #205 by @pre-commit-ci[bot].
- ✨ Add support for passing apps as
fastapi run --entrypoint some.importable_module:app_name. PR #199 by @patrick91.
If you have been using Uvicorn like:
$ uvicorn some.importable_module:app_nameNow you can use the same "entrypoint" syntax with fastapi:
$ fastapi run -e some.importable_module:app_nameOr:
$ fastapi run --entrypoint some.importable_module:app_name- ⬆ Bump actions/labeler from 5 to 6. PR #202 by @dependabot[bot].
- ⬆ Bump ruff from 0.12.11 to 0.12.12. PR #203 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #198 by @pre-commit-ci[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0. PR #200 by @dependabot[bot].
- 👷 Detect and label merge conflicts on PRs automatically. PR #204 by @svlandeg.
- Add CLI option
--forwarded-allow-ips. PR #113 by @Riuzaky77.
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #147 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.11.2 to 0.12.11. PR #196 by @dependabot[bot].
- ⬆ Bump actions/checkout from 4 to 5. PR #193 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 4 to 5. PR #190 by @dependabot[bot].
- ⬆ Bump tiangolo/latest-changes from 0.3.2 to 0.4.0. PR #188 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 5 to 6. PR #176 by @dependabot[bot].
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].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4. PR #152 by @dependabot[bot].
- ⬆ Bump ruff from 0.8.4 to 0.11.2. PR #168 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #138 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.8.2 to 0.8.4. PR #139 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 4 to 5. PR #140 by @dependabot[bot].
- ⬆ Bump mypy from 1.13.0 to 1.14.0. PR #141 by @dependabot[bot].
- 🚨 Format new test. PR #137 by @tiangolo.
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3. PR #134 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #62 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.5.5 to 0.8.1. PR #128 by @dependabot[bot].
- ✨ Improve UI for
fastapi devandfastapi run. PR #95 by @patrick91.
- 🐛 Use correct syntax for links. PR #131 by @patrick91.
- 👷 Update
labeler.yml. PR #101 by @tiangolo. - 👷 Do not sync labels as it overrides manually added labels. PR #71 by @tiangolo.
- 🔨 Use ruff check command in format script. PR #121 by @FlavienRx.
- ⬆ Update pre-commit requirement from <4.0.0,>=2.17.0 to >=2.17.0,<5.0.0. PR #100 by @dependabot[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.12.2. PR #117 by @dependabot[bot].
- ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR #118 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 3 to 4. PR #125 by @dependabot[bot].
- ⬆ Bump mypy from 1.11.1 to 1.13.0. PR #111 by @dependabot[bot].
- 👷 Fix smokeshow, checkout files on CI. PR #106 by @tiangolo.
- 👷 Use uv in CI. PR #105 by @tiangolo.
- 👷 Update
labeler.yml. PR #102 by @tiangolo. - ⬆ Bump tiangolo/issue-manager from 0.5.0 to 0.5.1. PR #89 by @dependabot[bot].
- 👷 Update
issue-manager.yml. PR #88 by @tiangolo. - 💚 Set
include-hidden-filestoTruewhen using theupload-artifactGH action. PR #84 by @svlandeg. - 👷 Update
latest-changesGitHub Action. PR #79 by @tiangolo. - 🔧 Update coverage configs. PR #74 by @tiangolo.
- 🔧 Add URLs to
pyproject.toml, show up in PyPI. PR #72 by @tiangolo. - 👷 Update GitHub Action labeler to only add one label. PR #70 by @tiangolo.
- 👷 Update GitHub Action labeler permissions and dependencies. PR #69 by @tiangolo.
- 👷 Add GitHub Action label-checker. PR #68 by @tiangolo.
- 👷 Add GitHub Action labeler. PR #67 by @tiangolo.
- 🔧 Update GitHub Action add-to-project. PR #66 by @tiangolo.
- 👷 Add GitHub Action add-to-project. PR #65 by @tiangolo.
- ♻️ Add
fastapi-cli[standard]including Uvicorn, makefastapi-cliandfastapi-cli-slimhave the same packages. PR #55 by @tiangolo. - ➕ Keep Uvicorn in default dependencies. PR #57 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].
- ♻️ Simplify code in
src/fastapi_cli/discover.py. PR #22 by @pedroimpulcetto.
- ⬆ Bump ruff from 0.4.5 to 0.5.5. PR #52 by @dependabot[bot].
- 🔧 Remove Python 3.7 from PyPI classifiers. PR #48 by @patrick91.
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #28 by @pre-commit-ci[bot].
- ⬆ Bump mypy from 1.10.0 to 1.11.1. PR #53 by @dependabot[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0. PR #34 by @dependabot[bot].
- 👷 Update issue-manager.yml GitHub Action permissions. PR #54 by @tiangolo.
- ⬆ Bump ruff from 0.4.4 to 0.4.5. PR #29 by @dependabot[bot].
- ⬆ Bump ruff from 0.4.3 to 0.4.4. PR #23 by @dependabot[bot].
- 👷 Enable CI tests for Python 3.12. PR #27 by @tiangolo.
- 👷 Update Upload/Download artifacts GitHub Actions. PR #26 by @tiangolo.
- 🔧 Make FastAPI and Uvicorn optional dependencies, to avoid circular dependencies. PR #25 by @tiangolo.
- ⬆ Bump actions/cache from 3 to 4. PR #5 by @dependabot[bot].
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14. PR #2 by @dependabot[bot].
- ✨ Add optional
--workersCLI option, and fix CI for test-redistribute. PR #12 by @PokkaKiyo.
- ⬆ Bump ruff from 0.2.0 to 0.4.3. PR #14 by @dependabot[bot].
- ⬆ Update pytest requirement from <8.0.0,>=4.4.0 to >=4.4.0,<9.0.0. PR #4 by @dependabot[bot].
- ⬆ Bump mypy from 1.4.1 to 1.10.0. PR #7 by @dependabot[bot].
First public working version. 🚀