From: Sebastián Ramírez Date: Fri, 5 Apr 2019 10:35:01 +0000 (+0400) Subject: :bookmark: Release 0.12.0, add additional responses X-Git-Tag: 0.12.0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e68a68c97c136b75a963c9d5e77d552622384141;p=thirdparty%2Ffastapi%2Ffastapi.git :bookmark: Release 0.12.0, add additional responses --- diff --git a/docs/release-notes.md b/docs/release-notes.md index 5114008773..a33e3ecc19 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 c585c20db1..c9387f0e01 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