From: github-actions Date: Mon, 25 Dec 2023 17:57:54 +0000 (+0000) Subject: 📝 Update release notes X-Git-Tag: 0.106.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=678bed2fc9cbf38ba7a6ba9782e5be1a33d852c5;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update release notes --- diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md index 12bc12d260..bc6fd9d110 100644 --- a/docs/en/docs/release-notes.md +++ b/docs/en/docs/release-notes.md @@ -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).