]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update release notes
authorgithub-actions <github-actions@github.com>
Mon, 25 Dec 2023 17:57:54 +0000 (17:57 +0000)
committergithub-actions <github-actions@github.com>
Mon, 25 Dec 2023 17:57:54 +0000 (17:57 +0000)
docs/en/docs/release-notes.md

index 12bc12d260e326ad8a4c94b82e88c8984d61e11b..bc6fd9d1101420021b567148314f043201fd7655 100644 (file)
@@ -107,6 +107,10 @@ participant tasks as Background tasks
 
 The new execution flow can be found in the docs: [Execution of dependencies with `yield`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#execution-of-dependencies-with-yield).
 
+### Features
+
+* ✨ Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks. PR [#10831](https://github.com/tiangolo/fastapi/pull/10831) by [@tiangolo](https://github.com/tiangolo).
+
 ### Internal
 
 * 👥 Update FastAPI People. PR [#10567](https://github.com/tiangolo/fastapi/pull/10567) by [@tiangolo](https://github.com/tiangolo).