]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:memo: Update release notes
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 6 Jun 2019 10:30:28 +0000 (14:30 +0400)
committerSebastián Ramírez <tiangolo@gmail.com>
Thu, 6 Jun 2019 10:30:28 +0000 (14:30 +0400)
docs/release-notes.md

index 201e7674efe7c75bfbfa1d740b921b7141e9fb97..0d9185621339ad8dd3c5e2293238eb1f051fe1d1 100644 (file)
@@ -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.