Breaking Changes
- β»οΈ Add
fastapi-cli[standard]
including Uvicorn, makefastapi-cli
andfastapi-cli-slim
have the same packages. PR #55 by @tiangolo. - β Keep Uvicorn in default dependencies. PR #57 by @tiangolo.
Summary
Install with:
pip install "fastapi[standard]"
Or if for some reason installing only the FastAPI CLI:
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 by @pedroimpulcetto.
Docs
Internal
- β¬ 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.