Skip to content

Releases: fastapi/fastapi-cli

0.0.5

02 Aug 05:47
Compare
Choose a tag to compare

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

0.0.4

19 May 18:53
Compare
Choose a tag to compare

Fixes

  • 🔧 Make FastAPI and Uvicorn optional dependencies, to avoid circular dependencies. PR #25 by @tiangolo.

Internal

0.0.3

07 May 19:03
Compare
Choose a tag to compare

Features

  • ✨ Add optional --workers CLI option, and fix CI for test-redistribute. PR #12 by @PokkaKiyo.

Upgrades

Docs

  • 📝 Add note about Uvicorn as the high-performance server running underneath. PR #9 by @tiangolo.

Internal

0.0.2

02 May 21:49
Compare
Choose a tag to compare

First public working version. 🚀

Fixes

  • 👷 Tweak CI testing and fix import error detection for Python 3.8. PR #8 by @tiangolo.