From: Sebastián Ramírez Date: Thu, 16 May 2019 14:09:11 +0000 (+0400) Subject: :bookmark: Release version 0.22.0 X-Git-Tag: 0.22.0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56ab106bbbf8054af437821c6683491ca7952c3b;p=thirdparty%2Ffastapi%2Ffastapi.git :bookmark: Release version 0.22.0 --- diff --git a/docs/release-notes.md b/docs/release-notes.md index eb85060690..489b06fd93 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,7 @@ ## Next release +## 0.22.0 + * Add support for `dependencies` parameter: * A parameter in *path operation decorators*, for dependencies that should be executed but the return value is not important or not used in the *path operation function*. * A parameter in the `.include_router()` method of FastAPI applications and routers, to include dependencies that should be executed in each *path operation* in a router. diff --git a/fastapi/__init__.py b/fastapi/__init__.py index 8ee9d8cf39..d27352161d 100644 --- a/fastapi/__init__.py +++ b/fastapi/__init__.py @@ -1,6 +1,6 @@ """FastAPI framework, high performance, easy to learn, fast to code, ready for production""" -__version__ = "0.21.0" +__version__ = "0.22.0" from starlette.background import BackgroundTasks