From d3297450648bc0907a34de54d9c610657d4cb8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 6 Jun 2019 14:30:28 +0400 Subject: [PATCH] :memo: Update release notes --- docs/release-notes.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 201e7674e..0d9185621 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,14 @@ ## Latest changes +* Add support for declaring a `Response` parameter: + * This allows declaring: + * [Response Cookies](https://fastapi.tiangolo.com/tutorial/response-cookies/). + * [Response Headers](https://fastapi.tiangolo.com/tutorial/response-headers/). + * An HTTP Status Code different than the default: [Response - Change Status Code](https://fastapi.tiangolo.com/tutorial/response-change-status-code/). + * All of this while still being able to return arbitrary objects (`dict`, DB model, etc). + * Update attribution to Hug, for inspiring the `response` parameter pattern. + * PR [#294](https://github.com/tiangolo/fastapi/pull/294). + ## 0.28.0 * Implement dependency cache per request.