Skip to content

0.0.5

Latest
Compare
Choose a tag to compare
@tiangolo tiangolo released this 02 Aug 05:47
· 26 commits to main since this release

Breaking Changes

  • ♻️ Add fastapi-cli[standard] including Uvicorn, make fastapi-cli and fastapi-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

Docs

  • 🚚 Rename repo references to new GitHub FastAPI org. PR #56 by @tiangolo.

Internal