From 4903ed1188847044cffa63bab56af2f7df12e67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 2 Aug 2024 00:46:22 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Release=20version=200.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release-notes.md | 33 +++++++++++++++++++++++++++++---- src/fastapi_cli/__init__.py | 2 +- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/release-notes.md b/release-notes.md index b0c9a49..9801c1d 100644 --- a/release-notes.md +++ b/release-notes.md @@ -2,17 +2,42 @@ ## Latest Changes +## 0.0.5 + ### Breaking Changes * ♻️ Add `fastapi-cli[standard]` including Uvicorn, make `fastapi-cli` and `fastapi-cli-slim` have the same packages. PR [#55](https://github.com/fastapi/fastapi-cli/pull/55) by [@tiangolo](https://github.com/tiangolo). +* ➕ Keep Uvicorn in default dependencies. PR [#57](https://github.com/fastapi/fastapi-cli/pull/57) by [@tiangolo](https://github.com/tiangolo). -### Refactors +#### Summary -* ♻️ Simplify code in `src/fastapi_cli/discover.py`. PR [#22](https://github.com/tiangolo/fastapi-cli/pull/22) by [@pedroimpulcetto](https://github.com/pedroimpulcetto). +Install with: -### Upgrades +```bash +pip install "fastapi[standard]" +``` -* ➕ Keep Uvicorn in default dependencies. PR [#57](https://github.com/fastapi/fastapi-cli/pull/57) by [@tiangolo](https://github.com/tiangolo). +Or if for some reason installing only the FastAPI CLI: + +```bash +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](https://github.com/tiangolo/fastapi-cli/pull/22) by [@pedroimpulcetto](https://github.com/pedroimpulcetto). ### Docs diff --git a/src/fastapi_cli/__init__.py b/src/fastapi_cli/__init__.py index 81f0fde..b1a19e3 100644 --- a/src/fastapi_cli/__init__.py +++ b/src/fastapi_cli/__init__.py @@ -1 +1 @@ -__version__ = "0.0.4" +__version__ = "0.0.5"