From b7f5cb28d2f5187fb8c4dfd5697070a7cca1ba56 Mon Sep 17 00:00:00 2001 From: Ehigie Aito Date: Mon, 31 Jul 2023 12:24:58 +0100 Subject: [PATCH 1/2] Swap out pydantic settings (#184) --- fastapi_template/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fastapi_template/cli.py b/fastapi_template/cli.py index 7647fb4..58059f4 100644 --- a/fastapi_template/cli.py +++ b/fastapi_template/cli.py @@ -312,6 +312,12 @@ def checker(ctx: BuilderContext) -> bool: multiselect=True, before_ask=do_not_ask_features_if_quite, entries=[ + MenuEntry( + code="pydanticv1", + cli_name="pydantic-v1", + user_view="Use older version of pydantic", + description="Use pydantic version ^1 instead of ^2", + ), MenuEntry( code="enable_redis", cli_name="redis", From 0789df716847b8c5937cb29c8511b7496cd4470c Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Mon, 31 Jul 2023 15:32:26 +0400 Subject: [PATCH 2/2] Version bumped to 5.0.3. Signed-off-by: Pavel Kirilin --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8fb37b1..5373380 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fastapi_template" -version = "5.0.2" +version = "5.0.3" description = "Feature-rich robust FastAPI template" authors = ["Pavel Kirilin "] packages = [{ include = "fastapi_template" }]