From e68a68c97c136b75a963c9d5e77d552622384141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 5 Apr 2019 14:35:01 +0400 Subject: [PATCH] :bookmark: Release 0.12.0, add additional responses --- docs/release-notes.md | 2 ++ fastapi/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 511400877..a33e3ecc1 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,7 @@ ## Next release +## 0.12.0 + * Add additional `responses` parameter to *path operation decorators* to extend responses in OpenAPI (and API docs). * It also allows extending existing responses generated from `response_model`, declare other media types (like images), etc. * The new documentation is here: Additional Responses. diff --git a/fastapi/__init__.py b/fastapi/__init__.py index c585c20db..c9387f0e0 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.11.0" +__version__ = "0.12.0" from starlette.background import BackgroundTasks