Skip to content

Releases: fastapi/fastapi-cli

0.0.13

20 Sep 16:37
Compare
Choose a tag to compare

Features

0.0.12

17 Sep 19:11
Compare
Choose a tag to compare

Features

  • ✨ Add support for the PORT environment variable. PR #209 by @buurro.

Internal

0.0.11

09 Sep 12:50
Compare
Choose a tag to compare

Features

  • ✨ 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_name

Now you can use the same "entrypoint" syntax with fastapi:

$ fastapi run -e some.importable_module:app_name

Or:

$ fastapi run --entrypoint some.importable_module:app_name

Internal

0.0.10

31 Aug 17:42
Compare
Choose a tag to compare

Features

Internal

0.0.9

31 Aug 16:34
Compare
Choose a tag to compare

Fixes

  • 🔧 Remove command script fastapi, let it be provided by the fastapi package. PR #197 by @tiangolo.

0.0.8

07 Jul 14:43
Compare
Choose a tag to compare

Features

  • ➕ Add optional dependency on fastapi-cloud-cli. PR #181 by @tiangolo.

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

Internal

0.0.7

15 Dec 14:27
Compare
Choose a tag to compare

Fixes

  • 🐛 Do not disable existing loggers. PR #132 by @kraftp.

Internal

0.0.6

04 Dec 14:16
Compare
Choose a tag to compare

Features

  • ✨ Improve UI for fastapi dev and fastapi run. PR #95 by @patrick91.

Fixes

Internal

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